import { PropType } from "vue"; declare const ModalComponent: import("vue").DefineComponent<{ zIndex: { type: NumberConstructor; default: number; }; width: { type: (StringConstructor | NumberConstructor)[]; default: number; }; height: (StringConstructor | NumberConstructor)[]; title: { type: StringConstructor; }; modelValue: { type: BooleanConstructor; default: boolean; }; showCancelBtn: { type: BooleanConstructor; default: boolean; }; /**点击完成关闭按钮前,不反悔promise then不允许关闭 */ beforeConfirmClose: PropType<() => Promise>; class: any; headerClass: any; /**取消按钮文字 */ cancelBtnText: StringConstructor; /**取消按钮class */ cancelBtnClass: null; /**确定按钮文字 */ confirmBtnText: StringConstructor; /**确定按钮class */ confirmBtnClass: null; showHeader: { type: BooleanConstructor; default: boolean; }; showFooter: { type: BooleanConstructor; default: boolean; }; /**是否居中 */ center: BooleanConstructor; /**是否关闭右上角按钮 */ closable: BooleanConstructor; "v-slots": { type: PropType<{ /**默认插槽 */ default?(): any; /**自定义页头 */ header?(): any; }>; }; }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { cancel: null; confirm: null; "update:modelValue": null; }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly Promise>; class: any; headerClass: any; /**取消按钮文字 */ cancelBtnText: StringConstructor; /**取消按钮class */ cancelBtnClass: null; /**确定按钮文字 */ confirmBtnText: StringConstructor; /**确定按钮class */ confirmBtnClass: null; showHeader: { type: BooleanConstructor; default: boolean; }; showFooter: { type: BooleanConstructor; default: boolean; }; /**是否居中 */ center: BooleanConstructor; /**是否关闭右上角按钮 */ closable: BooleanConstructor; "v-slots": { type: PropType<{ /**默认插槽 */ default?(): any; /**自定义页头 */ header?(): any; }>; }; }>> & { onCancel?: ((...args: any[]) => any) | undefined; onConfirm?: ((...args: any[]) => any) | undefined; "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; }, { width: string | number; class: any; zIndex: number; modelValue: boolean; showCancelBtn: boolean; showHeader: boolean; showFooter: boolean; center: boolean; closable: boolean; headerClass: any; }, {}>; export default ModalComponent;