import { default as maplibregl } from 'maplibre-gl';
import { GeocodingControlBase } from './base-control';
import { MaplibreglGeocodingControlEventName, MaplibreglGeocodingControlEventNameMap } from './maplibregl-events';
import { MaplibreglGeocodingControlOptions } from './maplibregl-options';
declare const Evented: typeof maplibregl.Evented;
type Evented = maplibregl.Evented;
type IControl = maplibregl.IControl;
type MLMap = maplibregl.Map;
type Subscription = maplibregl.Subscription;
type EventHandlingMethod<Return> = <Type extends MaplibreglGeocodingControlEventName>(type: Type, listener: (event: MaplibreglGeocodingControlEventNameMap[Type]) => void) => Return;
interface EventOnceHandlingMethod<Return> {
    <Type extends MaplibreglGeocodingControlEventName>(type: Type, listener: (event: MaplibreglGeocodingControlEventNameMap[Type]) => void): Return;
    <Type extends MaplibreglGeocodingControlEventName>(type: Type, listener?: undefined): Promise<MaplibreglGeocodingControlEventNameMap[Type]>;
}
export declare class MaplibreglGeocodingControl extends Evented implements IControl, GeocodingControlBase<MaplibreglGeocodingControlOptions> {
    #private;
    constructor(options?: MaplibreglGeocodingControlOptions);
    /** @internal Not to be called directly */
    onAdd(map: MLMap): HTMLElement;
    /** @internal Not to be called directly */
    onRemove(): void;
    getOptions(): MaplibreglGeocodingControlOptions;
    setOptions(options: MaplibreglGeocodingControlOptions): void;
    setQuery(value: string): void;
    submitQuery(value: string): void;
    clearMap(): void;
    clearList(): void;
    setReverseMode(reverseActive: boolean): void;
    focus(options?: FocusOptions): void;
    blur(): void;
    on: EventHandlingMethod<Subscription>;
    off: EventHandlingMethod<this>;
    once: EventOnceHandlingMethod<this>;
}
export {};
