/**
 * Hook to manage collapse/expand state for hierarchical lists.
 * Used by permission matrix components to track collapsed contexts and applications.
 */
export declare function useCollapsibleState(): {
    collapsedContexts: Set<string>;
    collapsedApps: Set<string>;
    toggleContext: (context: string) => void;
    toggleApp: (appKey: string) => void;
    expandAll: () => void;
    collapseAll: (contexts: string[], apps: string[]) => void;
    isContextCollapsed: (context: string) => boolean;
    isAppCollapsed: (appKey: string) => boolean;
};
//# sourceMappingURL=useCollapsibleState.d.ts.map