type Action = "cancel" | "close" | "confirm"; interface MessageBoxOptions { boxType?: "alert" | "confirm" | "prompt" | "personalized"; distinguishCancelAndClose?: boolean; title?: string; heading?: string; dangerouslyUseHTMLString?: boolean; message?: string; icon?: string; variant?: string; closeIcon?: string; showClose?: boolean; showCancelButton?: boolean; showConfirmButton?: boolean; confirmButtonLoading?: boolean; cancelButtonText?: string; confirmButtonText?: string; closeOnClickModal?: boolean; closeOnPressEscape?: boolean; showInput?: boolean; inputPlaceholder?: string; inputType?: string; inputValue?: string; inputPattern?: string | RegExp | null; inputErrorMessage?: string; inputValidator?: ((value: string) => boolean | string | Promise) | null; center?: boolean; movable?: boolean; roundButton?: boolean; buttonSize?: "small" | "medium" | "large"; appendTo?: string | HTMLElement; beforeClose?: ((action: Action, instance: HTMLElement, done: () => void) => void) | null; callback?: (value: string, action: Action) => any; } type EaMessageBoxFn = { (options: MessageBoxOptions): Promise; alert: (message?: string, title?: string, options?: Partial) => Promise; confirm: (message?: string, title?: string, options?: Partial) => Promise; prompt: (message?: string, title?: string, options?: Partial) => Promise; }; declare const EaMessageBox: EaMessageBoxFn; export { EaMessageBox }; export type { MessageBoxOptions, Action }; //# sourceMappingURL=EaMessageBoxInstance.d.ts.map