import { AtomProps } from "../Atom/Atom.vue.mjs"; import "../Atom/index.mjs"; import { SelectionTicket } from "../../composables/createSelection/index.mjs"; import { MaybeRefOrGetter, Ref } from "vue"; //#region src/components/ExpansionPanel/ExpansionPanelRoot.vue.d.ts interface ExpansionPanelRootProps extends AtomProps { /** Unique identifier for the panel item (auto-generated if not provided) */ id?: string; /** Value associated with this panel item for v-model binding */ value?: V; /** Disables this specific panel item */ disabled?: boolean | MaybeRefOrGetter; /** Namespace to retrieve the parent ExpansionPanelGroup context (default: 'v0:expansion-panel') */ namespace?: string; } /** * Context provided to child components (ExpansionPanelActivator and ExpansionPanelContent) * via dependency injection using the itemNamespace. */ interface ExpansionPanelRootContext { /** Selection ticket from the parent ExpansionPanel registry */ ticket: SelectionTicket; /** Unique ID for the header/activator element (for aria-controls) */ headerId: Readonly>; /** Unique ID for the content region (for aria-labelledby) */ contentId: Readonly>; /** Combined disabled state from item and parent */ isDisabled: Readonly>; } /** * Slot props provided to the default slot of ExpansionPanelRoot */ interface ExpansionPanelRootSlotProps { /** Whether this panel is currently selected/expanded */ isSelected: boolean; /** Combined disabled state from item and parent */ isDisabled: boolean; /** Attributes to bind to the root element for accessibility */ attrs: { /** Data attribute for selected state */ 'data-selected': true | undefined; }; } declare const useExpansionPanelRoot: (key: string, defaultValue?: ExpansionPanelRootContext | undefined) => ExpansionPanelRootContext, provideExpansionPanelRoot: (key: string, context: ExpansionPanelRootContext, app?: import("vue").App) => ExpansionPanelRootContext; declare const _default: typeof __VLS_export; declare const __VLS_export: (__VLS_props: NonNullable>["props"], __VLS_ctx?: __VLS_PrettifyLocal>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: import("vue").PublicProps & __VLS_PrettifyLocal> & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P; } ? P : {}); expose: (exposed: {}) => void; attrs: any; slots: { default: (props: ExpansionPanelRootSlotProps) => any; }; emit: {}; }>) => import("vue").VNode & { __ctx?: NonNullable>; }; type __VLS_PrettifyLocal = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {}; //#endregion export { ExpansionPanelRootContext, ExpansionPanelRootProps, ExpansionPanelRootSlotProps, _default as default, provideExpansionPanelRoot, useExpansionPanelRoot };