import type { StatusSeverity } from '../types/statusLevels'; export interface DialogProps { /** * Shows or hides the dialog. * Usage: v-model:open="isOpen" */ open?: boolean; /** * Whether the confirmation button is enabled or not. */ disabled?: boolean; /** * Is this a dangerous action? Will turn the confirmation button red. */ dangerZone?: boolean; /** * Header text. */ header?: string; /** * Description text. */ description?: string; /** * Cancel button text. */ cancelText?: string; /** * Confirm button text. */ confirmText?: string; /** * Callback function when the confirm button is clicked. */ onConfirm?: (event: Event) => Promise | void; /** * Treats it like an Alert Dialog, with only the confirmation button showing. * * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Window/alert} */ alert?: boolean; /** * Adds a top accent border and icon next to the header. * This behaves similarly to the Alert component in respect to the levels, icons, and colors * passing `error` will treat the dialog the same as `dangerZone` */ status?: StatusSeverity; } declare var __VLS_12: {}; type __VLS_Slots = {} & { default?: (props: typeof __VLS_12) => any; }; declare const __VLS_base: import("vue").DefineComponent any; "update:open": (value: boolean) => any; }, string, import("vue").PublicProps, Readonly & Readonly<{ onCancel?: (() => any) | undefined; "onUpdate:open"?: ((value: boolean) => any) | undefined; }>, { header: string; disabled: boolean; open: boolean; dangerZone: boolean; description: string; cancelText: string; confirmText: string; onConfirm: (event: Event) => Promise | void; alert: boolean; status: StatusSeverity; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const __VLS_export: __VLS_WithSlots; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };