import { Transformer } from './types'; import { FeatureCollection } from 'geojson'; export declare enum Type { Feature = "Feature", Collection = "FeatureCollection", Point = "Point", Line = "LineString", MultiLine = "MultiLineString" } /** * Create GeoJSON from GPX string. * * @see http://geojson.org/geojson-spec.html * @see https://github.com/mapbox/togeojson */ declare function featuresFromGPX(gpxString: string): FeatureCollection | null; export declare const geoJSON: { Type: typeof Type; features: () => FeatureCollection; geometry: (type: Type, coordinates: number[] | number[][] | number[][][] | null) => import("geojson").Geometry; featuresFromGPX: typeof featuresFromGPX; featuresFromKML: (kml: string | Document | null, transformer?: Transformer | null) => FeatureCollection | null; }; export {};