/** export 一些字段常量 */ /** 在同层级,同一父节点下的节点索引顺序 */ export declare const NODE_INDEX_FIELD = "nodeIndex"; /** child 节点数量 */ export declare const CHILD_NODE_COUNT = "childNodeCount"; /** 节点的祖先节点 */ export declare const NODE_ANCESTORS_FIELD = "nodeAncestor"; interface Options { field?: string | string[]; fields?: string | string[]; } export declare function getField(options: Options, defaultField?: string): string; export declare function getAllNodes(root: any): any[]; export {};