import type { Face, Feature, Geometry, MValue, Properties, S2Feature, VectorFeature, VectorGeometry } from '../../index.js'; /** * Convet a GeoJSON Feature to an S2Feature * @param data - GeoJSON Feature * @param buildBBox - optional - build a bbox for the feature if desired * @returns - S2Feature */ export declare function toS2, D extends MValue = Properties, P extends Properties = Properties>(data: Feature> | VectorFeature>, buildBBox?: boolean): S2Feature>[]; /** The resultant geometry after conversion */ export interface ConvertedGeometry { /** The vector geometry that was converted */ geometry: VectorGeometry; /** The face of the vector geometry that was converted */ face: Face; } /** A list of converted geometries */ export type ConvertedGeometryList = ConvertedGeometry[]; /** * Underlying conversion mechanic to move GeoJSON Geometry to S2Geometry * @param geometry - GeoJSON Geometry * @returns - S2Geometry */ export declare function vectorGeoToS2(geometry: VectorGeometry): ConvertedGeometryList; //# sourceMappingURL=s2.d.ts.map