export declare enum DialogType { default = "", info = "info", error = "error", warning = "warning", success = "success", about = "about", initial = "initial" } export interface MessageDialogOptions { title?: string; message?: string; icon?: string | boolean; close_box?: boolean; timeout?: number; type?: DialogType; } export type ResolutionFunction = () => void; /** * rebuilding the dialog, like this: * * +======================================================+ * | | TITLE | [X]| * | [icon] | message | | * | | (progress bar?) | | * +------------------------------------------------------+ * */ /** * modal informational dialog that covers the embedded * spreadsheet. not fancy. */ export declare class Dialog { private model; private layout_element; private visible_; private timeout; private pending_dialog_resoltion; private options_; private set options(value); private event_handler; private get visible(); private set visible(value); constructor(parent_node: HTMLElement); Node(name: string): HTMLElement | undefined; Update(options: Partial, delta?: boolean): void; HideDialog(): void; ShowDialog(options: Partial): Promise; }