import type { Feature, Geometry, MValue, Properties, VectorFeatures, VectorGeometry } from '../../index.js';
/**
 * Convert a GeoJSON Vector Feature to a GeoJSON Feature
 * @param data - GeoJSON Vector Feature
 * @param buildBBox - optional - build a bbox for the feature if desired
 * @returns - GeoJson Feature
 */
export declare function toFlatGeometry<M = Record<string, unknown>, D extends MValue = Properties, P extends Properties = Properties, G extends VectorGeometry<D> = VectorGeometry<D>>(data: VectorFeatures<M, D, P, G>, buildBBox?: boolean): Feature<M, D, P, Geometry<D>>;
/**
 * Convert a GeoJSON Vector Geometry to a Flat GeoJSON Geometry
 * @param geometry - GeoJSON Vector Geometry
 * @param buildBBox - optional - build a bbox for the feature if desired
 * @returns - GeoJSON Geometry
 */
export declare function vectorToFlat<M extends MValue = Properties>(geometry: VectorGeometry<M>, buildBBox?: boolean): Geometry<M>;
//# sourceMappingURL=flat.d.ts.map