import { AtomProps } from "../Atom/Atom.vue.mjs"; import "../Atom/index.mjs"; import { Ref } from "vue"; //#region src/components/Collapsible/CollapsibleRoot.vue.d.ts interface CollapsibleContext { open: Readonly>; disabled: Readonly>; activatorId: Readonly>; contentId: Readonly>; toggle: () => void; show: () => void; hide: () => void; } interface CollapsibleRootProps extends AtomProps { /** Namespace for dependency injection */ namespace?: string; /** Whether the collapsible is disabled */ disabled?: boolean; } interface CollapsibleRootSlotProps { /** Whether the collapsible is open */ isOpen: boolean; /** Whether the collapsible is disabled */ isDisabled: boolean; /** Open the collapsible */ open: () => void; /** Close the collapsible */ close: () => void; /** Toggle the collapsible */ toggle: () => void; /** Attributes to bind to the root element */ attrs: { 'data-state': 'open' | 'closed'; 'data-disabled': true | undefined; }; } declare const useCollapsible: (key: string, defaultValue?: CollapsibleContext | undefined) => CollapsibleContext, provideCollapsible: (key: string, context: CollapsibleContext, app?: import("vue").App) => CollapsibleContext; 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: CollapsibleRootSlotProps) => any; }>; type __VLS_WithSlots = T & { new (): { $slots: S; }; }; //#endregion export { CollapsibleContext, CollapsibleRootProps, CollapsibleRootSlotProps, _default as default, provideCollapsible, useCollapsible };