import type { Slot } from 'vue'; /** * AvModal component props. */ export interface AvModalProps { /** * Unique identifier for the modal. * @default `modal-${crypto.randomUUID()}` */ id?: string; /** * Indicates whether the modal is open. * @default false */ opened?: boolean; /** * Specifies whether the modal is an alert (role `"alertdialog"` if `true`) or not (role will be `"dialog"`). * @default false */ isAlert?: boolean; /** * Label and title (for accessibility) of the close button. */ closeButtonLabel: string; /** * Icon name of the close button. * @default 'mdi:close-circle-outline' */ closeButtonIcon?: string; /** * Adds a disabled state on the close button. * @default false */ closeButtonDisabled?: boolean; /** * Adds a tooltip text to display when the close button is disabled. */ closeButtonDisabledTooltip?: string; /** * Label and title (for accessibility) of the confirm button. */ confirmButtonLabel?: string; /** * Icon name of the confirm button. * @default 'mdi:check-circle-outline' */ confirmButtonIcon?: string; /** * Adds a disabled state on the confirm button. * @default false */ confirmButtonDisabled?: boolean; /** * Adds a tooltip text to display when the confirm button is disabled. */ confirmButtonDisabledTooltip?: string; /** * Adds a loading state on the close and confirm buttons. */ isLoading?: boolean; } /** * Slots available in the component. * * @slot default - Default slot for modal content. * @slot header - Slot for modal title. * @slot footer - Slot for modal footer. */ type __VLS_Slots = { default?: Slot; header?: Slot; footer?: Slot; }; declare const __VLS_component: import("vue").DefineComponent any; confirm: () => any; clickOutside: () => any; }, string, import("vue").PublicProps, Readonly & Readonly<{ onClose?: (() => any) | undefined; onConfirm?: (() => any) | undefined; onClickOutside?: (() => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const _default: __VLS_WithSlots; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };