import TreeCollection from './collection/treeCollection'; import { AdditionalDefault } from './collection/types'; export declare const areEqualArrays: (arr1: string[], arr2: string[]) => boolean; export declare const calculateInitialExpanded: (initialExpanded: string[], selected: string[], expandTreeOnSelected: boolean, collection: TreeCollection) => string[]; interface UseExpandedHookProps { initialValue: string[]; onExpand?: (expanded: string[]) => void; expandTreeOnSelected: boolean; selected: string[]; collection: TreeCollection; } interface UseExpandedHookReturn { expanded: string[]; setExpanded: (expanded: string[]) => void; handleExpansion: (id: string) => void; handleResetExpanded: () => void; } interface UseExpandedHook { (props: UseExpandedHookProps): UseExpandedHookReturn; } export declare const useExpanded: UseExpandedHook; export {};