UNPKG

one

Version:

One is a React framework for web, iOS, and Android apps.

17 lines • 1.1 kB
import type { BrowserAuthSessionOptions, BrowserAuthSessionResult, BrowserOpenOptions, BrowserResult } from './types'; export type { BrowserAuthSessionOptions, BrowserAuthSessionResult, BrowserOpenOptions, BrowserPresentationStyle, BrowserRedirectResult, BrowserResult, BrowserResultType, } from './types'; declare function open(url: string, options?: BrowserOpenOptions): Promise<BrowserResult>; declare function dismiss(): Promise<BrowserResult>; declare function openAuthSession(url: string, redirectUrl?: string | null, options?: BrowserAuthSessionOptions): Promise<BrowserAuthSessionResult>; declare function dismissAuthSession(): void; declare function warmup(browserPackage?: string): Promise<boolean>; declare function mayLaunchUrl(url: string, browserPackage?: string): Promise<boolean>; export declare const Browser: Readonly<{ open: typeof open; dismiss: typeof dismiss; openAuthSession: typeof openAuthSession; dismissAuthSession: typeof dismissAuthSession; warmup: typeof warmup; mayLaunchUrl: typeof mayLaunchUrl; }>; //# sourceMappingURL=index.native.d.ts.map