import type { APIClient } from '../../api.ts';
export interface LoginResult {
    apiKey: string;
    userId: string;
    expires: Date;
}
export declare function generateLoginCode(apiClient: APIClient): Promise<string>;
export declare function pollForLoginCompletion(apiClient: APIClient, code: string, timeoutMs?: number): Promise<LoginResult>;
//# sourceMappingURL=api.d.ts.map