export declare const NODE_INDEX_FIELD = "nodeIndex";
export declare const CHILD_NODE_COUNT = "childNodeCount";
export declare const NODE_ANCESTORS_FIELD = "nodeAncestor";
export declare function getField(options: {
    field?: string | string[];
    fields?: string | string[];
}, defaultField?: string): string;
export declare function getAllNodes(root: any): any[];
export interface Options {
    field: string;
    size?: [number, number];
    round?: boolean;
    ratio?: number;
    padding?: number;
    sort?: (a: any, b: any) => any;
    as?: [string, string];
    ignoreParentValue?: boolean;
}
export declare function partition(data: any, options: Options): any[];
