import type { Vec3 } from '../math/vec3.js'; export declare const AREA_DEPTH = 4; export declare const WORLD_SIZE = 8192; export interface SpatialNode { axis: number; dist: number; children: [SpatialNode, SpatialNode] | null; items: Set; } export declare function createSpatialTree(depth?: number, mins?: Vec3, maxs?: Vec3): SpatialNode; export declare function linkEntityToSpatialTree(node: SpatialNode, id: number, absmin: Vec3, absmax: Vec3): SpatialNode; export declare function querySpatialTree(node: SpatialNode, absmin: Vec3, absmax: Vec3, results: Set): void; //# sourceMappingURL=spatial.d.ts.map