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: {
    <T extends {}, U>(target: T, source: U): T & U;
    <T extends {}, U, V>(target: T, source1: U, source2: V): T & U & V;
    <T extends {}, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
    (target: object, ...sources: any[]): any;
};
//# sourceMappingURL=util.d.ts.map