import { App } from 'vue'; import type { DialogAction, DialogOptions } from './types'; declare function Dialog(options: DialogOptions): Promise; declare namespace Dialog { var defaultOptions: { title: string; width: string; theme: null; message: string; overlay: boolean; callback: null; teleport: string; className: string; allowHtml: boolean; lockScroll: boolean; transition: undefined; beforeClose: null; overlayClass: string; overlayStyle: undefined; messageAlign: string; cancelButtonText: string; cancelButtonColor: null; cancelButtonDisabled: boolean; confirmButtonText: string; confirmButtonColor: null; confirmButtonDisabled: boolean; showConfirmButton: boolean; showCancelButton: boolean; closeOnPopstate: boolean; closeOnClickOverlay: boolean; }; var currentOptions: { title: string; width: string; theme: null; message: string; overlay: boolean; callback: null; teleport: string; className: string; allowHtml: boolean; lockScroll: boolean; transition: undefined; beforeClose: null; overlayClass: string; overlayStyle: undefined; messageAlign: string; cancelButtonText: string; cancelButtonColor: null; cancelButtonDisabled: boolean; confirmButtonText: string; confirmButtonColor: null; confirmButtonDisabled: boolean; showConfirmButton: boolean; showCancelButton: boolean; closeOnPopstate: boolean; closeOnClickOverlay: boolean; }; var alert: typeof Dialog; var confirm: (options: DialogOptions) => Promise; var close: () => void; var setDefaultOptions: (options: DialogOptions) => void; var resetDefaultOptions: () => void; var Component: import("../utils").WithInstall; lockScroll: { type: BooleanConstructor; default: true; }; lazyRender: { type: BooleanConstructor; default: true; }; beforeClose: import("vue").PropType; overlayStyle: import("vue").PropType; overlayClass: import("vue").PropType; transitionAppear: BooleanConstructor; closeOnClickOverlay: { type: BooleanConstructor; default: true; }; } & { title: StringConstructor; theme: import("vue").PropType; width: (NumberConstructor | StringConstructor)[]; message: import("vue").PropType; callback: import("vue").PropType<(action?: DialogAction | undefined) => void>; allowHtml: BooleanConstructor; className: import("vue").PropType; transition: { type: import("vue").PropType; default: string; }; messageAlign: import("vue").PropType; closeOnPopstate: { type: BooleanConstructor; default: true; }; showCancelButton: BooleanConstructor; cancelButtonText: StringConstructor; cancelButtonColor: StringConstructor; cancelButtonDisabled: BooleanConstructor; confirmButtonText: StringConstructor; confirmButtonColor: StringConstructor; confirmButtonDisabled: BooleanConstructor; showConfirmButton: { type: BooleanConstructor; default: true; }; closeOnClickOverlay: BooleanConstructor; }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("keydown" | "update:show" | "cancel" | "confirm")[], "keydown" | "update:show" | "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly; lockScroll: { type: BooleanConstructor; default: true; }; lazyRender: { type: BooleanConstructor; default: true; }; beforeClose: import("vue").PropType; overlayStyle: import("vue").PropType; overlayClass: import("vue").PropType; transitionAppear: BooleanConstructor; closeOnClickOverlay: { type: BooleanConstructor; default: true; }; } & { title: StringConstructor; theme: import("vue").PropType; width: (NumberConstructor | StringConstructor)[]; message: import("vue").PropType; callback: import("vue").PropType<(action?: DialogAction | undefined) => void>; allowHtml: BooleanConstructor; className: import("vue").PropType; transition: { type: import("vue").PropType; default: string; }; messageAlign: import("vue").PropType; closeOnPopstate: { type: BooleanConstructor; default: true; }; showCancelButton: BooleanConstructor; cancelButtonText: StringConstructor; cancelButtonColor: StringConstructor; cancelButtonDisabled: BooleanConstructor; confirmButtonText: StringConstructor; confirmButtonColor: StringConstructor; confirmButtonDisabled: BooleanConstructor; showConfirmButton: { type: BooleanConstructor; default: true; }; closeOnClickOverlay: BooleanConstructor; }>> & { onKeydown?: ((...args: any[]) => any) | undefined; "onUpdate:show"?: ((...args: any[]) => any) | undefined; onCancel?: ((...args: any[]) => any) | undefined; onConfirm?: ((...args: any[]) => any) | undefined; }, { overlay: boolean; show: boolean; lockScroll: boolean; lazyRender: boolean; transitionAppear: boolean; closeOnClickOverlay: boolean; transition: string; closeOnPopstate: boolean; allowHtml: boolean; showCancelButton: boolean; cancelButtonDisabled: boolean; confirmButtonDisabled: boolean; showConfirmButton: boolean; }>>; var install: (app: App) => void; } export { Dialog };