import type { Option } from '../../internals/types'; interface SearchPanelProps { labelKey: string; valueKey: string; childrenKey: string; flattenedData: Option[]; uncheckableItemValues?: any[]; onSearch?: (value: string, event: React.SyntheticEvent) => void; } declare function useSearch(props: SearchPanelProps): { searchKeyword: string; setSearchKeyword: import("react").Dispatch>; items: Option[]; handleSearch: (...args: any[]) => any; }; export default useSearch;