import type { TreeOptions, TreeNodeElement } from './interface'; import type { HierarchicalData, HierarchicalDatum } from '../interface/common'; export declare class TreeLayout { private options; private _getNodeKey?; private _maxDepth; static defaultOpionts: Partial; constructor(options?: TreeOptions); layout(data: HierarchicalDatum | HierarchicalData, config: { x0: number; x1: number; y0: number; y1: number; } | { width: number; height: number; }): TreeNodeElement[]; }