import { Geometry, GeoJsonProperties, Feature, FeatureCollection, BBox } from 'geojson'; declare class RBush { insert(feature: Feature): RBush; load(features: FeatureCollection | Feature[]): RBush; remove( feature: Feature, equals?: (a: Feature, b: Feature) => boolean ): RBush; clear(): RBush; search(geojson: Feature | FeatureCollection | BBox): FeatureCollection; all(): FeatureCollection; collides(geosjon: Feature | FeatureCollection | BBox): boolean; toJSON(): any; fromJSON(data: any): RBush; } /** * https://github.com/mourner/rbush */ declare function geojsonRbush< G extends Geometry = Geometry, P extends GeoJsonProperties = GeoJsonProperties, >(maxEntries?: number): RBush; export { geojsonRbush as default, geojsonRbush };