import { Control, ControlDefaults, ControlOptions, Evented, Map as LMap } from 'leaflet'; import { MaptilerGeocoderEventNameMap } from '../geocoder/geocoder-events.js'; import { GeocodingControlBase } from './base-control.js'; import { LeafletGeocodingControlOptions } from './leaflet-options.js'; /** Base class for Control needs to extend both Control and Evented */ declare abstract class EventedControl extends Control { options: Options & ControlDefaults; } interface EventedControl extends Control, Evented { options: Options & ControlDefaults; } export declare class LeafletGeocodingControl extends EventedControl implements GeocodingControlBase { #private; constructor(options?: LeafletGeocodingControlOptions); /** @internal Not to be called directly */ onAdd(map: LMap): HTMLElement; /** @internal Not to be called directly */ onRemove(): void; getOptions(): LeafletGeocodingControlOptions; setOptions(options: LeafletGeocodingControlOptions): void; setQuery(value: string): void; submitQuery(value: string): void; clearMap(): void; clearList(): void; setReverseMode(reverseActive: boolean): void; focus(options?: FocusOptions): void; blur(): void; } export {};