import { AdditionalDefault } from './collection/types'; import ImmutableSelectionStrategy from './strategy/immutableSelectionStrategy'; import { TreeSelectorProps } from './types'; type UseSelectedHookProps = { strategy: ImmutableSelectionStrategy; } & Pick, 'value' | 'onChange' | 'collapseToParentId' | 'maxSelected' | 'collection'>; type UseSelectedHookReturn = { selected: string[]; setSelected: (id: string, isSelected: boolean) => void; }; interface UseSelectedHook { (props: UseSelectedHookProps): UseSelectedHookReturn; } export declare const useSelected: UseSelectedHook; export {};