import { HierarchyNode } from './types'; /** * Get average height or height for node's position calculation, according to align. * @param preNode previous node * @param node current node, whose position is going to be calculated * @param align 'center' means nodes align at the center, other value means align at the left-top * @param heightField field name for height value on preNode and node * @return the height for calculation */ export declare function getHeight(preNode: HierarchyNode, node: HierarchyNode, align?: 'center' | undefined, heightField?: keyof HierarchyNode): number; export declare const assign: { (target: T, source: U): T & U; (target: T, source1: U, source2: V): T & U & V; (target: T, source1: U, source2: V, source3: W): T & U & V & W; (target: object, ...sources: any[]): any; }; //# sourceMappingURL=util.d.ts.map