import '@antv/data-set/lib/api/hierarchy';
import '@antv/data-set/lib/connector/hierarchy';
import { Types } from '../types';
/** export 一些字段常量 */
/** 在同层级，同一父节点下的节点索引顺序 */
export declare const NODE_INDEX_FIELD = "nodeIndex";
/** child 节点数量 */
export declare const CHILD_NODE_COUNT = "childNodeCount";
/** 节点的祖先节点 */
export declare const NODE_ANCESTORS_FIELD = "nodeAncestor";
export declare function computeData(data: any, config?: any, ctx?: any): {
    source: Types.Data;
    total: any;
};
export declare function findValueByKey(obj: any, key: string): any;
export declare function transformNodes(nodes: any): Types.Data;
