import type { EdgelessElement } from '../_common/types.js';
import { type IBound } from './consts.js';
export declare class GridManager<T extends EdgelessElement> {
    private _grids;
    private _elementToGrids;
    private _createGrid;
    private _getGrid;
    get isEmpty(): boolean;
    add(element: T): void;
    remove(element: T): void;
    boundHasChanged(a: IBound, b: IBound): boolean;
    search(bound: IBound, strict?: boolean): T[];
    pick(x: number, y: number): T[];
}
//# sourceMappingURL=grid.d.ts.map