export interface DailogRef { close(result?: any): void; } export interface DialogComponent extends HTMLElement { setDialogRef(dialog: DailogRef): void; } export declare class Dialog { private static dialogQueue; private static dialogShowing; static toast(message: string, type?: string, icon?: string, duration?: number): void; static open(component: DialogComponent): Promise; static alert(message: string, type?: string, buttonText?: string): Promise; static confirm(message: string, type?: string, cancelText?: string, confirmText?: string): Promise; static prompt(header: string, value: string, cancelText?: string, confirmText?: string, multiline?: boolean): Promise; private static buildAlertDialog; private static buildDialog; private static openDialog; private static closeDialog; private static handleDialogInit; private static handleDialogResolve; private static getPrimaryActionButtonType; private static escapeHtml; private static getIconFromType; }