/**
 * Custom hook for managing collapsed/expanded state of navigation groups
 * with localStorage persistence. Automatically cleans up stale group entries
 * when groups are removed from the navigation.
 *
 * @param groupNames - Array of group names to track
 * @param namespace - Namespace for localStorage key (e.g., "home", "drawer") to allow independent state
 */
export declare function useCollapsedGroups(groupNames: (string | null)[], namespace?: string): {
    isGroupCollapsed: (name?: string | null) => boolean;
    toggleGroupCollapsed: (name?: string | null) => void;
};
