import type { CSSProperties, ComputedRef, ExtractPropTypes, InjectionKey, Ref } from 'vue'; import type { useNamespace } from '@element-plus-next/vue-hooks'; declare type DoneFn = (cancel?: boolean) => void; export declare type DialogBeforeCloseFn = (done: DoneFn) => void; export declare const dialogProps: { readonly appendToBody: import("@element-plus-next/vue-utils").EpPropFinalized; readonly beforeClose: { readonly type: import("@vue/runtime-core").PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly destroyOnClose: import("@element-plus-next/vue-utils").EpPropFinalized; readonly closeOnClickModal: import("@element-plus-next/vue-utils").EpPropFinalized; readonly closeOnPressEscape: import("@element-plus-next/vue-utils").EpPropFinalized; readonly lockScroll: import("@element-plus-next/vue-utils").EpPropFinalized; readonly modal: import("@element-plus-next/vue-utils").EpPropFinalized; readonly openDelay: import("@element-plus-next/vue-utils").EpPropFinalized; readonly closeDelay: import("@element-plus-next/vue-utils").EpPropFinalized; readonly top: { readonly type: import("@vue/runtime-core").PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly modelValue: import("@element-plus-next/vue-utils").EpPropFinalized; readonly modalClass: StringConstructor; readonly width: { readonly type: import("@vue/runtime-core").PropType>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly zIndex: { readonly type: import("@vue/runtime-core").PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly trapFocus: import("@element-plus-next/vue-utils").EpPropFinalized; readonly center: import("@element-plus-next/vue-utils").EpPropFinalized; readonly closeIcon: import("@element-plus-next/vue-utils").EpPropFinalized<(new (...args: any[]) => import("@element-plus-next/vue-utils").IconProp & {}) | (() => import("@element-plus-next/vue-utils").IconProp) | ((new (...args: any[]) => import("@element-plus-next/vue-utils").IconProp & {}) | (() => import("@element-plus-next/vue-utils").IconProp))[], unknown, unknown, "", boolean>; readonly customClass: import("@element-plus-next/vue-utils").EpPropFinalized; readonly draggable: import("@element-plus-next/vue-utils").EpPropFinalized; readonly fullscreen: import("@element-plus-next/vue-utils").EpPropFinalized; readonly showClose: import("@element-plus-next/vue-utils").EpPropFinalized; readonly title: import("@element-plus-next/vue-utils").EpPropFinalized; }; export declare type DialogProps = ExtractPropTypes; export declare const dialogEmits: { open: () => boolean; opened: () => boolean; close: () => boolean; closed: () => boolean; "update:modelValue": (value: boolean) => boolean; openAutoFocus: () => boolean; closeAutoFocus: () => boolean; }; export declare type DialogEmits = typeof dialogEmits; export declare type DialogContext = { dialogRef: Ref; headerRef: Ref; bodyId: Ref; ns: ReturnType; rendered: Ref; style: ComputedRef; }; export declare const dialogInjectionKey: InjectionKey; export {};