export interface AuthTokens {
    accessToken: string;
    refreshToken: string;
    expiresAt: number;
    userId: string;
    email?: string;
}
export declare function loadAuth(): AuthTokens | null;
export declare function saveAuth(tokens: AuthTokens): void;
export declare function clearAuth(): void;
export declare function isLoggedIn(): boolean;
declare const SUPABASE_URL = "https://mkbeusztkzffnzjdwmqk.supabase.co";
declare const SUPABASE_ANON_KEY = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im1rYmV1c3p0a3pmZm56amR3bXFrIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NjU5Nzc0NzgsImV4cCI6MjA4MTU1MzQ3OH0.2wlT6q6687Z5rpEYsdp01IQpNNl_XWv0IAfBgwPyDP0";
export { SUPABASE_URL, SUPABASE_ANON_KEY };
/**
 * Refresh the access token using the refresh token.
 * Returns updated tokens or null if refresh failed.
 */
export declare function refreshAccessToken(): Promise<AuthTokens | null>;
/**
 * Get a valid access token, refreshing if needed.
 */
export declare function getValidToken(): Promise<string | null>;
