import type { TreeViewItem } from '../types.js'; /** * Provides search functionality for the tree with debouncing * * Enables filtering the tree based on search text, highlighting matches, * and automatically expanding relevant paths to make results visible * * @param treeData - The tree data to filter * @param externalSearchQuery - Optional external search query to use instead of internal state */ export declare function useTreeSearch(treeData: TreeViewItem[], externalSearchQuery?: string): { searchQuery: string; setSearchQuery: import("react").Dispatch>; filteredData: TreeViewItem[]; searchExpandedIds: Set; }; //# sourceMappingURL=useTreeSearch.d.ts.map