import { type PropType, type StyleValue } from 'vue'; export interface DialogProps { rootStyle?: StyleValue; rootClass?: string; visible?: boolean; title?: string; message?: string; headed?: boolean; buttonType?: 'round' | 'text'; showCancel?: boolean; cancelText?: string; showConfirm?: boolean; confirmText?: string; overlayClosable?: boolean; beforeClose?: (type: 'close' | 'cancel' | 'confirm') => any | Promise; duration?: number; } export declare const dialogProps: { rootStyle: PropType; rootClass: StringConstructor; visible: BooleanConstructor; title: StringConstructor; message: StringConstructor; headed: { type: BooleanConstructor; default: boolean; }; buttonType: { type: PropType>; default: string; }; showCancel: { type: BooleanConstructor; default: boolean; }; cancelText: StringConstructor; showConfirm: { type: BooleanConstructor; default: boolean; }; confirmText: StringConstructor; overlayClosable: { type: BooleanConstructor; default: boolean; }; beforeClose: PropType<((type: 'close' | 'cancel' | 'confirm') => any | Promise) | undefined>; duration: { type: NumberConstructor; default: number; }; }; export interface DialogSlots { default(props: Record): any; } export interface DialogEmits { (e: 'update:visible', visible: boolean): void; (e: 'close'): void; (e: 'cancel'): void; (e: 'confirm'): void; }