import * as L from 'leaflet'; import { IGeocoder, GeocoderOptions, GeocodingResult } from './api'; export interface OpenCageOptions extends GeocoderOptions { } /** * Implementation of the [OpenCage Data API](https://opencagedata.com/) */ export declare class OpenCage implements IGeocoder { options: OpenCageOptions; constructor(options?: Partial); geocode(query: string): Promise; suggest(query: string): Promise; reverse(location: L.LatLngLiteral, scale: number): Promise; private _parseResults; } export declare function opencage(options?: Partial): OpenCage;