import type { MapFeature } from '../models/models.mapFeature'; /** * Compute a representative centroid [lng, lat] for a GeoJSON Feature. * * - For Point geometries, returns the point coordinates directly. * - For Polygon, MultiPolygon, LineString, MultiLineString, MultiPoint, * uses `@turf/center` (which supports all these). * - Returns `undefined` when geometry/coordinates are missing or invalid. * * @param feature Application-wide Feature (GeoJSON-compatible). * @returns A flat [lng, lat] tuple or undefined if not computable. */ export declare function getFeatureCentroid(feature: MapFeature): [number, number] | undefined;