import { Box3 } from 'three'; /** * SmartMergeBoxes - takes in batches of bounding boxes and * clusters them together in larger bounding boxes. The union of the larger * boxes contains all boxes that have been inserted */ export declare class BoxClusterer { private readonly resultBoxes; private addedSinceSquash; constructor(); constructor(boxes: Box3[]); private mergeBoxesAtIndices; private readonly _surfaceAreaVars; private surfaceArea; private readonly _shouldMergeBoxesVars; private shouldMergeBoxes; private addBox; get boxCount(): number; addBoxes(boxes: Iterable): void; squashBoxes(): void; getBoxes(): Generator; intersectsBox(box: Box3): boolean; union(boxes: Iterable): BoxClusterer; private addIntersectionIfNonempty; intersection(other: Iterable): BoxClusterer; }