import type { Feature, FeatureCollection, GeometryObject } from "geojson";
interface IOptions {
    /**
     * An OSM element ID in the form of type/id, eg: way/123 to create a GeoJSON representation of.
     * If not present, all tagged objects will be converted.
     * @default undefined
     */
    elementId?: string | undefined;
}
declare function osm2geojson(osm: string | {
    [k: string]: any;
}, opts?: IOptions): FeatureCollection<GeometryObject> | Feature<any, any> | undefined;
export default osm2geojson;
