import { TreeEntry } from '../types'; export interface UseTreeSearch { expandedIds: Set; onExpand: (item: TreeEntry) => void; items: TreeEntry[]; } export interface UseTreeSearchOptions { searchKeyword?: string; expandedIds?: string[]; defaultExpandedIds?: string[]; items: TreeEntry[]; } export declare function useTreeSearch({ searchKeyword, expandedIds, defaultExpandedIds, items, }: UseTreeSearchOptions): UseTreeSearch;