UNPKG

713 BTypeScriptView Raw
1/**
2 * Android specific dialogs functions implementation.
3 */
4import { PromptResult, LoginResult } from './dialogs-common';
5export * from './dialogs-common';
6export declare function alert(arg: any): Promise<void>;
7export declare function confirm(arg: any): Promise<boolean>;
8export declare function prompt(...args: any[]): Promise<PromptResult>;
9export declare function login(...args: any[]): Promise<LoginResult>;
10export declare function action(...args: any[]): Promise<string>;
11/**
12 * Singular rollup for convenience of all dialog methods
13 */
14export declare const Dialogs: {
15 alert: typeof alert;
16 confirm: typeof confirm;
17 prompt: typeof prompt;
18 login: typeof login;
19 action: typeof action;
20};