import { IRectangle } from "./core";
export declare type SpatialHashPair = [IRectangle, IRectangle];
export declare class SpatialHash {
pairs: SpatialHashPair[];
private size;
private buckets;
constructor(size: number);
clear(): void;
insert(rect: IRectangle): void;
}