import { ComputedRef, Ref } from 'vue'; export type ExpansionSetSource = T | Ref | ComputedRef | (() => T); export interface UseExpansionSetOptions { defaultIds?: ExpansionSetSource; allIds?: ExpansionSetSource; expandAll?: ExpansionSetSource; } export interface UseExpansionSetReturn { expandedIds: Ref>; expandedList: ComputedRef; isExpanded: (id: string) => boolean; expand: (id: string) => void; collapse: (id: string) => void; toggle: (id: string) => boolean; expandMany: (ids: readonly string[]) => void; setExpanded: (ids: readonly string[]) => void; collapseAll: () => void; reset: () => void; } /** Shared expansion state for trees, grouped selectors, and disclosure lists. */ export declare function useExpansionSet(options?: UseExpansionSetOptions): UseExpansionSetReturn;