import type { TreeViewItem } from '../types.js'; /** * Manages the expanded/collapsed state of tree nodes * * Allows for expanding and collapsing both individual nodes and the entire tree, * improving navigation and visibility control especially for large hierarchies */ export declare function useTreeExpansion(initialExpandedIds?: Set): { expandedIds: Set; setExpandedIds: import("react").Dispatch>>; handleExpandAll: (items: TreeViewItem[]) => void; handleCollapseAll: () => void; handleToggleExpand: (id: string) => void; }; //# sourceMappingURL=useTreeExpansion.d.ts.map