import type { JSONCollection, MValue, Projection, Properties, VectorFeatures, VectorGeometry } from '..';
/**
 * Convert a GeoJSON Feature to a GeoJSON Vector Feature in either a WebMercator or S2 projection
 * @param projection - output either S2 or WM
 * @param data - the data to convert
 * @param buildBBox - optional - build a bbox for the feature if desired
 * @param tolerance - optionally specify a tolerance to prepare for future simplification
 * @param maxzoom - optionally specify a maxzoom to prepare for future simplification
 * @param toUnitScale - optional - convert to unit scale. Assumed to be true if not specified
 * @returns - the converted data
 */
export declare function convert<M = Record<string, unknown>, D extends MValue = Properties, P extends Properties = Properties>(projection: Projection, data: JSONCollection<M, D, P>, buildBBox?: boolean, tolerance?: number, maxzoom?: number, toUnitScale?: boolean): VectorFeatures<M, D, P, VectorGeometry<D>>[];
//# sourceMappingURL=convert.d.ts.map