export type OpenAuthSession = (url: string, redirectUrls: string[], preferPrivateSession?: boolean) => Promise; type OpenAuthSessionResultType = 'canceled' | 'success' | 'error'; export interface OpenAuthSessionResult { type: OpenAuthSessionResultType; error?: unknown; url?: string; } export interface AmplifyWebBrowser { openAuthSessionAsync(url: string, redirectUrls: string[], prefersEphemeralSession?: boolean): Promise; } export {};