import { ID } from "../../types/index.mjs"; import { AtomProps } from "../Atom/Atom.vue.mjs"; import "../Atom/index.mjs"; import { SelectionContext, SelectionTicket } from "../../composables/createSelection/index.mjs"; import { Ref } from "vue"; //#region src/components/ExpansionPanel/ExpansionPanelGroup.vue.d.ts interface ExpansionPanelOptionsContext { /** Disabled state of the entire expansion panel */ isDisabled: Readonly>; } interface ExpansionPanelGroupProps extends AtomProps { /** Namespace for dependency injection (default: 'v0:expansion-panel') */ namespace?: string; /** Disables the entire expansion panel instance and all items */ disabled?: boolean; /** Auto-expand non-disabled items when registered */ enroll?: boolean; /** * Mandatory expansion behavior: * - false (default): All panels can be collapsed * - true: Prevents collapsing the last expanded panel * - 'force': Automatically expands the first non-disabled panel */ mandatory?: boolean | 'force'; /** * Enable multi-expansion mode * - false (default): Single panel expanded at a time (accordion mode) * - true: Multiple panels can be expanded simultaneously * Note: Changes v-model type from T to T[] */ multiple?: boolean; } interface ExpansionPanelGroupSlotProps { /** Disables the entire expansion panel instance and all registered items */ isDisabled: Readonly>; /** Select a panel by ID */ select: (id: ID) => void; /** Unselect a panel by ID */ unselect: (id: ID) => void; /** Toggle a panel's expansion state by ID */ toggle: (id: ID) => void; } declare const useExpansionPanelGroup: (key: string, defaultValue?: SelectionContext> | undefined) => SelectionContext>, provideExpansionPanelGroup: (key: string, context: SelectionContext>, app?: import("vue").App) => SelectionContext>; 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<(ExpansionPanelGroupProps & { modelValue?: T | T[]; }) & { "onUpdate:modelValue"?: ((value: T | T[] | undefined) => any) | undefined; "onUpdate:model-value"?: ((value: T | T[]) => any) | undefined; }> & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P; } ? P : {}); expose: (exposed: {}) => void; attrs: any; slots: { default: (props: ExpansionPanelGroupSlotProps) => any; }; emit: ((evt: "update:model-value", value: T | T[]) => void) & ((event: "update:modelValue", value: T | T[] | undefined) => void); }>) => 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 { ExpansionPanelGroupProps, ExpansionPanelGroupSlotProps, ExpansionPanelOptionsContext, _default as default, provideExpansionPanelGroup, useExpansionPanelGroup };