export declare function getUserId(): string;
export declare function getUserEmail(): string | null;
export declare function setUserEmail(email: string): void;
export declare function getAuthor(): string | null;
export declare function isLoggedIntoCloud(): boolean;
export interface EmailStatusResult {
    status: 'ok' | 'exceeded_limit' | 'show_usage_warning' | 'no_email';
    message?: string;
    email?: string;
    hasEmail: boolean;
}
/**
 * Shared function to check email status with the promptfoo API
 * Used by both CLI and server routes
 */
export declare function checkEmailStatus(): Promise<EmailStatusResult>;
export declare function promptForEmailUnverified(): Promise<void>;
export declare function checkEmailStatusOrExit(): Promise<void>;
//# sourceMappingURL=accounts.d.ts.map