import './PlatformModal.scss'; /** * Standard alerts. These can be thought of as platform-level utilities * to be used with action creators, etc, and should not be used in UI * components. The fact that they use the DOM + React is an implementation detail. */ /** * @return {Promise} */ export declare function alert(title: string, message: string): Promise; /** * @return {Promise} */ export declare function confirm(title: string, message: string): Promise; interface ButtonDescriptor { text: string; value?: any; focus?: boolean; } /** * @param {string} title * @param {string} message * @param {Array} buttons * @param {any} escapeValue The value to use when dialog is closed via pressing the escape key / clicking the close icon * @returns {Promise} */ export declare function dialog(title: string, message: string, buttons: ButtonDescriptor[], escapeValue?: any): Promise; export {}; //# sourceMappingURL=Platform.d.ts.map