import { type LngLatBoundsLike } from 'maplibre-gl'; import type { Location, TransectDataset } from './model'; export declare const SMALL_POLYGON_MAX_BOUNDS_AREA_SQ_KM = 1000; export type MapPosition = [number, number]; export declare function visitCoordinates(value: unknown, visit: (longitude: number, latitude: number) => void): void; export declare function approximateBoundsAreaSqKm(geometry: GeoJSON.Geometry): number; export declare function locationsToGeoJson(data: TransectDataset): GeoJSON.FeatureCollection; export declare function dataBounds(data: GeoJSON.FeatureCollection): LngLatBoundsLike | null; /** Returns a point inside the polygon, including concave polygons and polygons with holes. */ export declare function polygonInteriorPoint(rings: MapPosition[][]): MapPosition; export declare function geometryAvatarPosition(geometry: Location['geometry']): { coordinates: MapPosition; nearby: boolean; }; //# sourceMappingURL=geometry.d.ts.map