import { Map as SDKMap, Subscription } from '@maptiler/sdk'; import { GeocodingControlBase } from './base-control'; import { MaplibreglGeocodingControl } from './maplibregl-control'; import { MaptilerGeocodingControlEventName, MaptilerGeocodingControlEventNameMap } from './maptilersdk-events'; import { MaptilerGeocodingControlOptions } from './maptilersdk-options'; type EventHandlingMethod = (type: Type, listener: (event: MaptilerGeocodingControlEventNameMap[Type]) => void) => Return; interface EventOnceHandlingMethod { (type: Type, listener: (event: MaptilerGeocodingControlEventNameMap[Type]) => void): Return; (type: Type, listener?: undefined): Promise; } export declare class MaptilerGeocodingControl extends MaplibreglGeocodingControl implements GeocodingControlBase { #private; constructor(options?: MaptilerGeocodingControlOptions); /** @internal Not to be called directly */ onAdd(map: SDKMap): HTMLElement; /** @internal Not to be called directly */ onRemove(): void; getOptions: () => MaptilerGeocodingControlOptions; setOptions(options: MaptilerGeocodingControlOptions): void; on: EventHandlingMethod; off: EventHandlingMethod; once: EventOnceHandlingMethod; } export {};