import * as L from 'leaflet'; import { IGeocoder, GeocoderOptions, GeocodingResult, GeocodingContext } 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, context?: GeocodingContext): Promise; suggest(query: string, context?: GeocodingContext): Promise; reverse(location: L.LatLngLiteral, scale: number): Promise; private _parseResults; } export declare function opencage(options?: Partial): OpenCage;