import Node from "./Node"; import Func from "./Func"; import Predicate from "./Predicate"; import Action from "./Action"; import LayoutState from "./LayoutState"; export default class BoxTree { Root: Node | null; Nodes: Map; Depth: number; IterateChildFirst(func: Func): boolean; IterateParentFirst(enter: Predicate, exit?: Action): void; UpdateHierarchyStats(): void; constructor(); static Build(state: LayoutState): BoxTree; }