import { RefObject } from 'react'; import { PickerProps, PickerValue, PickerSingleValue, PickerMultiValue } from '../types'; interface UsePickerSelectionProps extends Pick { pickerExpandableRef: RefObject; setSearchValue: (searchValue: string) => void; } declare const usePickerSelection: (props: UsePickerSelectionProps) => { multiDraftValue: PickerMultiValue; onDoneSelecting: (item: PickerValue) => void; toggleItemSelection: (item: PickerSingleValue) => void; cancelSelect: () => void; areAllItemsSelected: boolean; selectedCount: number; toggleAllItemsSelection: (selectAll: boolean) => void; onDismiss: () => void; }; export default usePickerSelection;