export interface IFlowOAuthAuthorization { authUrl: string; state: string; redirectUri: string; } export interface IFlowOAuthTokenResult { accessToken: string; refreshToken: string; expiresAt: number; apiKey: string; email: string; authMethod: 'oauth'; } export declare function authorizeIFlowOAuth(port: number): Promise; export declare function exchangeOAuthCode(code: string, redirectUri: string): Promise; export declare function refreshOAuthToken(refreshToken: string): Promise; export declare function fetchUserInfo(accessToken: string): Promise<{ apiKey: string; email: string; }>;