import { TreeNodeOptions, TreeNodeBase, TreeNode } from './types.js'; /** * * 根据路径获取节点对象 * getByPath(treedata,"a/b") * * getByPath(treedata,"a/b",{pathKey:"name"}) * */ interface GetNodeByPathOptions extends TreeNodeOptions { } declare function getNodeByPath(treeObj: Node | Node[], fullpath: string, options?: GetNodeByPathOptions): Node | undefined; export { type GetNodeByPathOptions, getNodeByPath };