import AbstractProvider, { EndpointArgument, ParseArgument, ProviderOptions, SearchResult } from './provider'; export declare type RequestResult = RawResult[]; export interface RawResult { place_id: string; licence: string; osm_type: string; osm_id: number; boundingbox: [string, string, string, string]; lat: string; lon: string; display_name: string; class: string; type: string; importance: number; icon?: string; } export declare type OpenStreetMapProviderOptions = { searchUrl?: string; reverseUrl?: string; } & ProviderOptions; export default class OpenStreetMapProvider extends AbstractProvider { searchUrl: string; reverseUrl: string; constructor(options?: OpenStreetMapProviderOptions); endpoint({ query, type }: EndpointArgument): string; parse(response: ParseArgument): SearchResult[]; }