import { type DialogInstance, type ButtonProps } from 'element-plus'; import type { PropType, ExtractPropTypes, SlotsType } from 'vue'; export declare const formDialogButtonProps: { confirmText: { type: StringConstructor; default: string; }; cancelText: { type: StringConstructor; default: string; }; confirmProps: { type: PropType; }; cancelProps: { type: PropType; }; hideConfirm: { type: BooleanConstructor; }; hideCancel: { type: BooleanConstructor; }; }; export type FormDialogPresetWidth = 'sm' | 'md' | 'lg' | 'xl'; export declare const mapFormDialogWidth: { sm: number; md: number; lg: number; xl: number; }; export type FormDialogButtonProps = ExtractPropTypes; export type FormDialogWidth = FormDialogPresetWidth | number | (string & {}); export declare const formDialogProps: { width: { type: PropType; default: string; }; closeOnClickModal: { type: BooleanConstructor; default: boolean; }; closeOnPressEscape: { type: BooleanConstructor; default: boolean; }; confirmText: { type: StringConstructor; default: string; }; cancelText: { type: StringConstructor; default: string; }; confirmProps: { type: PropType; }; cancelProps: { type: PropType; }; hideConfirm: { type: BooleanConstructor; }; hideCancel: { type: BooleanConstructor; }; appendToBody: BooleanConstructor; appendTo: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown, "body", boolean>; beforeClose: { readonly type: import("vue").PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; destroyOnClose: BooleanConstructor; lockScroll: import("element-plus/es/utils/index.mjs").EpPropFinalized; modal: import("element-plus/es/utils/index.mjs").EpPropFinalized; modalPenetrable: BooleanConstructor; openDelay: import("element-plus/es/utils/index.mjs").EpPropFinalized; closeDelay: import("element-plus/es/utils/index.mjs").EpPropFinalized; top: { readonly type: import("vue").PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; modelValue: BooleanConstructor; modalClass: StringConstructor; headerClass: StringConstructor; bodyClass: StringConstructor; footerClass: StringConstructor; zIndex: { readonly type: import("vue").PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; trapFocus: BooleanConstructor; headerAriaLevel: import("element-plus/es/utils/index.mjs").EpPropFinalized; transition: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => string | import("vue").TransitionProps) | (() => import("element-plus").DialogTransition) | ((new (...args: any[]) => string | import("vue").TransitionProps) | (() => import("element-plus").DialogTransition))[], unknown, unknown, undefined, boolean>; center: BooleanConstructor; alignCenter: import("element-plus/es/utils/index.mjs").EpPropFinalized; closeIcon: { readonly type: import("vue").PropType (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; draggable: import("element-plus/es/utils/index.mjs").EpPropFinalized; overflow: import("element-plus/es/utils/index.mjs").EpPropFinalized; fullscreen: BooleanConstructor; showClose: import("element-plus/es/utils/index.mjs").EpPropFinalized; title: import("element-plus/es/utils/index.mjs").EpPropFinalized; ariaLevel: import("element-plus/es/utils/index.mjs").EpPropFinalized; }; export type FormDialogProps = ExtractPropTypes; export interface ElDialogSlots { default: {}; header: { close?: () => void; titleId?: string; titleClass?: string; }; footer: {}; } export interface FormDialogSlots extends ElDialogSlots { button: { submitting: boolean; confirm: () => any | Promise; cancel: () => any; }; } export declare const formDialogSlots: SlotsType; export declare const formDialogEmits: { open: () => boolean; opened: () => boolean; close: () => boolean; closed: () => boolean; "update:modelValue": (value: boolean) => boolean; openAutoFocus: () => boolean; closeAutoFocus: () => boolean; }; export type FormDialogEmits = typeof formDialogEmits; export interface FormDialogExpose extends DialogInstance { } export declare const elFormDialogExposeKeys: string[];