import { DataNode } from 'antd/es/tree'; import React from 'react'; interface UseTreeSearchOptions { treeData: DataNode[]; keyword: string; parentMap: Map; highlightStyle?: React.CSSProperties; } interface UseTreeSearchResult { treeData: any[]; searchExpandedKeys: React.Key[]; hasSearch: boolean; highlightTitle: (title: string) => React.ReactNode; } export declare const useTreeSearch: ({ treeData, keyword, highlightStyle, }: UseTreeSearchOptions) => UseTreeSearchResult; export {};