import { IProps, ITreeNode } from './interface'; export declare namespace NsPanelData { const id = "NODE_PANEL_DATA"; interface IState { treeNodeList: ITreeNode[]; treeData: ITreeNode[]; expandedKeys: string[]; defaultExpandAll: boolean; keyword: string; searchList: ITreeNode[]; } } export declare const useTreePanelData: (props: IProps) => { state: NsPanelData.IState; setState: import("@antv/xflow-core").NsModel.ISetValue; onKeywordChange: (keyword: string) => Promise; onFolderExpand: (expandedKeys: string[]) => void; }; export declare function NodeList2Tree(treeNodes?: ITreeNode[]): { treeData: ITreeNode[]; rootNodes: any; };