import { Dialog } from './function-call'; import type { CSSProperties, TeleportProps } from 'vue'; import type { Interceptor, Numeric } from '../utils'; import type { FieldTextAlign } from '../field/types'; export declare type DialogTheme = 'default' | 'round-button'; export declare type DialogAction = 'confirm' | 'cancel' | 'third'; export declare type DialogMessage = string | (() => JSX.Element); export declare type DialogMessageAlign = 'left' | 'center' | 'right' | 'justify'; export declare type DialogOptions = { title?: string; width?: Numeric; theme?: DialogTheme; message?: DialogMessage; overlay?: boolean; teleport?: TeleportProps['to']; className?: unknown; allowHtml?: boolean; lockScroll?: boolean; transition?: string; beforeClose?: Interceptor; messageAlign?: DialogMessageAlign; showInput?: boolean; inputValue?: string; inputAlign?: FieldTextAlign; inputPlaceholder?: string; inputAutofocus?: boolean; overlayClass?: string; overlayStyle?: CSSProperties; closeOnPopstate?: boolean; showCancelButton?: boolean; showThirdButton?: boolean; showConfirmButton?: boolean; cancelButtonText?: string; cancelButtonColor?: string; cancelButtonDisabled?: boolean; thirdButtonText?: string; thirdButtonColor?: string; thirdButtonDisabled?: boolean; confirmButtonText?: string; confirmButtonColor?: string; confirmButtonDisabled?: boolean; closeOnClickOverlay?: boolean; }; declare module '@vue/runtime-core' { interface ComponentCustomProperties { $dialog: typeof Dialog; } }