import { SpatialGeometry } from './utils'; /** * Get the centroids of the geometries * * ## Example * ```ts * const geoms = [ * { * type: 'Feature', * geometry: { type: 'Point', coordinates: [100, 0] }, * }, * ]; * * const centroids = await getCentroids(geoms); * ``` * * @param geoms The geometries to get the centroids. See {@link SpatialGeometry} * @returns The centroids of the geometries */ export declare function getCentroids(geoms: SpatialGeometry): Promise<(number[] | null)[]>;