import { AtomProps } from "../Atom/Atom.vue.mjs"; import "../Atom/index.mjs"; import { ShallowRef } from "vue"; //#region src/components/AlertDialog/AlertDialogRoot.vue.d.ts interface AlertDialogContext { isOpen: ShallowRef; id: string; titleId: string; descriptionId: string; /** Whether an AlertDialog.Title child is currently mounted */ hasTitle: ShallowRef; /** Whether an AlertDialog.Description child is currently mounted */ hasDescription: ShallowRef; isPending: ShallowRef; cancelEl: ShallowRef; open: () => void; close: () => void; } interface AlertDialogRootProps extends AtomProps { /** Namespace for dependency injection */ namespace?: string; /** Unique identifier for the alert dialog (auto-generated if not provided) */ id?: string; } interface AlertDialogRootSlotProps { /** Unique identifier */ id: string; /** Whether the alert dialog is currently open */ isOpen: boolean; /** Whether an action is pending (between wait and close) */ isPending: boolean; /** Open the alert dialog */ open: () => void; /** Close the alert dialog */ close: () => void; } declare const useAlertDialogContext: (key: string, defaultValue?: AlertDialogContext | undefined) => AlertDialogContext, provideAlertDialogContext: (key: string, context: AlertDialogContext, app?: import("vue").App) => AlertDialogContext; declare const _default: typeof __VLS_export; declare const __VLS_export: __VLS_WithSlots any; "update:model-value": (value: boolean) => any; }, string, import("vue").PublicProps, Readonly & Readonly<{ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined; "onUpdate:model-value"?: ((value: boolean) => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, { default: (props: AlertDialogRootSlotProps) => any; }>; type __VLS_WithSlots = T & { new (): { $slots: S; }; }; //#endregion export { AlertDialogContext, AlertDialogRootProps, AlertDialogRootSlotProps, _default as default, provideAlertDialogContext, useAlertDialogContext };