import { KeyboardEvent as ReactKeyboardEvent, ReactNode } from 'react'; import { FileTreeNode } from '../file-tree'; type UseFileTreeSearchParams = { fileTree: Array; onSelectFile: (path: string | null) => void; }; type UseFileTreeSearchResult = { query: string; setQuery: (value: string) => void; isSearchActive: boolean; filteredTree: Array; highlightMatches: (text: string) => ReactNode; handleSearchKeyDown: (event: ReactKeyboardEvent) => void; }; export declare function useFileTreeSearch({ fileTree, onSelectFile, }: UseFileTreeSearchParams): UseFileTreeSearchResult; export {}; //# sourceMappingURL=use-file-tree-search.d.ts.map