UNPKG

@maptiler/geocoding-control

Version:

The Javascript & TypeScript Map Control component for MapTiler Geocoding service. Easy to be integrated into any JavaScript mapping application.

1,113 lines 113 kB
import * as maptilersdk from "@maptiler/sdk"; import type * as maplibregl from "maplibre-gl"; import type { Map } from "maplibre-gl"; import { type MapLibreBaseControlOptions } from "./MapLibreBasedGeocodingControl"; export { createMapLibreGlMapController } from "./maplibregl-controller"; declare const MapLibreBasedGeocodingControl: { new (options?: MapLibreBaseControlOptions): { "__#1@#gc"?: import("svelte").SvelteComponent; "__#1@#options": MapLibreBaseControlOptions; "__#1@#container"?: HTMLElement; onAddInt(map: Map): HTMLElement; on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: { select: { feature: import("./types").Feature | undefined; readonly type: "select"; readonly target: /*elided*/ any; }; featureslisted: { features: import("./types").Feature[] | undefined; readonly type: "featureslisted"; readonly target: /*elided*/ any; }; featuresmarked: { features: import("./types").Feature[] | undefined; readonly type: "featuresmarked"; readonly target: /*elided*/ any; }; optionsvisibilitychange: { optionsVisible: boolean; readonly type: "optionsvisibilitychange"; readonly target: /*elided*/ any; }; pick: { feature: import("./types").Feature | undefined; readonly type: "pick"; readonly target: /*elided*/ any; }; querychange: { query: string; readonly type: "querychange"; readonly target: /*elided*/ any; }; response: { url: string; featureCollection: import("./types").FeatureCollection; readonly type: "response"; readonly target: /*elided*/ any; }; reversetoggle: { reverse: boolean; readonly type: "reversetoggle"; readonly target: /*elided*/ any; }; }[T]) => void): maptilersdk.Subscription; once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener?: ((ev: { select: { feature: import("./types").Feature | undefined; readonly type: "select"; readonly target: /*elided*/ any; }; featureslisted: { features: import("./types").Feature[] | undefined; readonly type: "featureslisted"; readonly target: /*elided*/ any; }; featuresmarked: { features: import("./types").Feature[] | undefined; readonly type: "featuresmarked"; readonly target: /*elided*/ any; }; optionsvisibilitychange: { optionsVisible: boolean; readonly type: "optionsvisibilitychange"; readonly target: /*elided*/ any; }; pick: { feature: import("./types").Feature | undefined; readonly type: "pick"; readonly target: /*elided*/ any; }; querychange: { query: string; readonly type: "querychange"; readonly target: /*elided*/ any; }; response: { url: string; featureCollection: import("./types").FeatureCollection; readonly type: "response"; readonly target: /*elided*/ any; }; reversetoggle: { reverse: boolean; readonly type: "reversetoggle"; readonly target: /*elided*/ any; }; }[T]) => void) | undefined): Promise<unknown> | /*elided*/ any; off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: { select: { feature: import("./types").Feature | undefined; readonly type: "select"; readonly target: /*elided*/ any; }; featureslisted: { features: import("./types").Feature[] | undefined; readonly type: "featureslisted"; readonly target: /*elided*/ any; }; featuresmarked: { features: import("./types").Feature[] | undefined; readonly type: "featuresmarked"; readonly target: /*elided*/ any; }; optionsvisibilitychange: { optionsVisible: boolean; readonly type: "optionsvisibilitychange"; readonly target: /*elided*/ any; }; pick: { feature: import("./types").Feature | undefined; readonly type: "pick"; readonly target: /*elided*/ any; }; querychange: { query: string; readonly type: "querychange"; readonly target: /*elided*/ any; }; response: { url: string; featureCollection: import("./types").FeatureCollection; readonly type: "response"; readonly target: /*elided*/ any; }; reversetoggle: { reverse: boolean; readonly type: "reversetoggle"; readonly target: /*elided*/ any; }; }[T]) => void): /*elided*/ any; listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean; setOptions(options: MapLibreBaseControlOptions): void; setQuery(value: string, submit?: boolean): void; clearMap(): void; clearList(): void; setReverseMode(reverseActive: boolean): void; focus(options?: FocusOptions): void; blur(): void; onRemove(): void; _listeners: maptilersdk.Listeners; _oneTimeListeners: maptilersdk.Listeners; _eventedParent: maplibregl.Evented; _eventedParentData: any | (() => any); fire(event: maptilersdk.Event | string, properties?: any): /*elided*/ any; setEventedParent(parent?: maplibregl.Evented | null, data?: any | (() => any)): /*elided*/ any; }; }; export declare class GeocodingControl extends MapLibreBasedGeocodingControl implements maptilersdk.IControl { onAdd(map: maptilersdk.Map): HTMLElement; } export declare const SelectEvent: { new (target: { "__#1@#gc"?: import("svelte").SvelteComponent; "__#1@#options": MapLibreBaseControlOptions; "__#1@#container"?: HTMLElement; onAddInt(map: Map): HTMLElement; on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: { select: { feature: import("./types").Feature | undefined; readonly type: "select"; readonly target: /*elided*/ any; }; featureslisted: { features: import("./types").Feature[] | undefined; readonly type: "featureslisted"; readonly target: /*elided*/ any; }; featuresmarked: { features: import("./types").Feature[] | undefined; readonly type: "featuresmarked"; readonly target: /*elided*/ any; }; optionsvisibilitychange: { optionsVisible: boolean; readonly type: "optionsvisibilitychange"; readonly target: /*elided*/ any; }; pick: { feature: import("./types").Feature | undefined; readonly type: "pick"; readonly target: /*elided*/ any; }; querychange: { query: string; readonly type: "querychange"; readonly target: /*elided*/ any; }; response: { url: string; featureCollection: import("./types").FeatureCollection; readonly type: "response"; readonly target: /*elided*/ any; }; reversetoggle: { reverse: boolean; readonly type: "reversetoggle"; readonly target: /*elided*/ any; }; }[T]) => void): maptilersdk.Subscription; once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener?: ((ev: { select: { feature: import("./types").Feature | undefined; readonly type: "select"; readonly target: /*elided*/ any; }; featureslisted: { features: import("./types").Feature[] | undefined; readonly type: "featureslisted"; readonly target: /*elided*/ any; }; featuresmarked: { features: import("./types").Feature[] | undefined; readonly type: "featuresmarked"; readonly target: /*elided*/ any; }; optionsvisibilitychange: { optionsVisible: boolean; readonly type: "optionsvisibilitychange"; readonly target: /*elided*/ any; }; pick: { feature: import("./types").Feature | undefined; readonly type: "pick"; readonly target: /*elided*/ any; }; querychange: { query: string; readonly type: "querychange"; readonly target: /*elided*/ any; }; response: { url: string; featureCollection: import("./types").FeatureCollection; readonly type: "response"; readonly target: /*elided*/ any; }; reversetoggle: { reverse: boolean; readonly type: "reversetoggle"; readonly target: /*elided*/ any; }; }[T]) => void) | undefined): Promise<unknown> | /*elided*/ any; off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: { select: { feature: import("./types").Feature | undefined; readonly type: "select"; readonly target: /*elided*/ any; }; featureslisted: { features: import("./types").Feature[] | undefined; readonly type: "featureslisted"; readonly target: /*elided*/ any; }; featuresmarked: { features: import("./types").Feature[] | undefined; readonly type: "featuresmarked"; readonly target: /*elided*/ any; }; optionsvisibilitychange: { optionsVisible: boolean; readonly type: "optionsvisibilitychange"; readonly target: /*elided*/ any; }; pick: { feature: import("./types").Feature | undefined; readonly type: "pick"; readonly target: /*elided*/ any; }; querychange: { query: string; readonly type: "querychange"; readonly target: /*elided*/ any; }; response: { url: string; featureCollection: import("./types").FeatureCollection; readonly type: "response"; readonly target: /*elided*/ any; }; reversetoggle: { reverse: boolean; readonly type: "reversetoggle"; readonly target: /*elided*/ any; }; }[T]) => void): /*elided*/ any; listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean; setOptions(options: MapLibreBaseControlOptions): void; setQuery(value: string, submit?: boolean): void; clearMap(): void; clearList(): void; setReverseMode(reverseActive: boolean): void; focus(options?: FocusOptions): void; blur(): void; onRemove(): void; _listeners: maptilersdk.Listeners; _oneTimeListeners: maptilersdk.Listeners; _eventedParent: maplibregl.Evented; _eventedParentData: any | (() => any); fire(event: maptilersdk.Event | string, properties?: any): /*elided*/ any; setEventedParent(parent?: maplibregl.Evented | null, data?: any | (() => any)): /*elided*/ any; }, details: { feature: import("./types").Feature | undefined; }): { feature: import("./types").Feature | undefined; readonly type: "select"; readonly target: { "__#1@#gc"?: import("svelte").SvelteComponent; "__#1@#options": MapLibreBaseControlOptions; "__#1@#container"?: HTMLElement; onAddInt(map: Map): HTMLElement; on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: { select: /*elided*/ any; featureslisted: { features: import("./types").Feature[] | undefined; readonly type: "featureslisted"; readonly target: /*elided*/ any; }; featuresmarked: { features: import("./types").Feature[] | undefined; readonly type: "featuresmarked"; readonly target: /*elided*/ any; }; optionsvisibilitychange: { optionsVisible: boolean; readonly type: "optionsvisibilitychange"; readonly target: /*elided*/ any; }; pick: { feature: import("./types").Feature | undefined; readonly type: "pick"; readonly target: /*elided*/ any; }; querychange: { query: string; readonly type: "querychange"; readonly target: /*elided*/ any; }; response: { url: string; featureCollection: import("./types").FeatureCollection; readonly type: "response"; readonly target: /*elided*/ any; }; reversetoggle: { reverse: boolean; readonly type: "reversetoggle"; readonly target: /*elided*/ any; }; }[T]) => void): maptilersdk.Subscription; once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener?: ((ev: { select: /*elided*/ any; featureslisted: { features: import("./types").Feature[] | undefined; readonly type: "featureslisted"; readonly target: /*elided*/ any; }; featuresmarked: { features: import("./types").Feature[] | undefined; readonly type: "featuresmarked"; readonly target: /*elided*/ any; }; optionsvisibilitychange: { optionsVisible: boolean; readonly type: "optionsvisibilitychange"; readonly target: /*elided*/ any; }; pick: { feature: import("./types").Feature | undefined; readonly type: "pick"; readonly target: /*elided*/ any; }; querychange: { query: string; readonly type: "querychange"; readonly target: /*elided*/ any; }; response: { url: string; featureCollection: import("./types").FeatureCollection; readonly type: "response"; readonly target: /*elided*/ any; }; reversetoggle: { reverse: boolean; readonly type: "reversetoggle"; readonly target: /*elided*/ any; }; }[T]) => void) | undefined): Promise<unknown> | /*elided*/ any; off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: { select: /*elided*/ any; featureslisted: { features: import("./types").Feature[] | undefined; readonly type: "featureslisted"; readonly target: /*elided*/ any; }; featuresmarked: { features: import("./types").Feature[] | undefined; readonly type: "featuresmarked"; readonly target: /*elided*/ any; }; optionsvisibilitychange: { optionsVisible: boolean; readonly type: "optionsvisibilitychange"; readonly target: /*elided*/ any; }; pick: { feature: import("./types").Feature | undefined; readonly type: "pick"; readonly target: /*elided*/ any; }; querychange: { query: string; readonly type: "querychange"; readonly target: /*elided*/ any; }; response: { url: string; featureCollection: import("./types").FeatureCollection; readonly type: "response"; readonly target: /*elided*/ any; }; reversetoggle: { reverse: boolean; readonly type: "reversetoggle"; readonly target: /*elided*/ any; }; }[T]) => void): /*elided*/ any; listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean; setOptions(options: MapLibreBaseControlOptions): void; setQuery(value: string, submit?: boolean): void; clearMap(): void; clearList(): void; setReverseMode(reverseActive: boolean): void; focus(options?: FocusOptions): void; blur(): void; onRemove(): void; _listeners: maptilersdk.Listeners; _oneTimeListeners: maptilersdk.Listeners; _eventedParent: maplibregl.Evented; _eventedParentData: any | (() => any); fire(event: maptilersdk.Event | string, properties?: any): /*elided*/ any; setEventedParent(parent?: maplibregl.Evented | null, data?: any | (() => any)): /*elided*/ any; }; }; }; export declare const FeaturesListedEvent: { new (target: { "__#1@#gc"?: import("svelte").SvelteComponent; "__#1@#options": MapLibreBaseControlOptions; "__#1@#container"?: HTMLElement; onAddInt(map: Map): HTMLElement; on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: { select: { feature: import("./types").Feature | undefined; readonly type: "select"; readonly target: /*elided*/ any; }; featureslisted: { features: import("./types").Feature[] | undefined; readonly type: "featureslisted"; readonly target: /*elided*/ any; }; featuresmarked: { features: import("./types").Feature[] | undefined; readonly type: "featuresmarked"; readonly target: /*elided*/ any; }; optionsvisibilitychange: { optionsVisible: boolean; readonly type: "optionsvisibilitychange"; readonly target: /*elided*/ any; }; pick: { feature: import("./types").Feature | undefined; readonly type: "pick"; readonly target: /*elided*/ any; }; querychange: { query: string; readonly type: "querychange"; readonly target: /*elided*/ any; }; response: { url: string; featureCollection: import("./types").FeatureCollection; readonly type: "response"; readonly target: /*elided*/ any; }; reversetoggle: { reverse: boolean; readonly type: "reversetoggle"; readonly target: /*elided*/ any; }; }[T]) => void): maptilersdk.Subscription; once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener?: ((ev: { select: { feature: import("./types").Feature | undefined; readonly type: "select"; readonly target: /*elided*/ any; }; featureslisted: { features: import("./types").Feature[] | undefined; readonly type: "featureslisted"; readonly target: /*elided*/ any; }; featuresmarked: { features: import("./types").Feature[] | undefined; readonly type: "featuresmarked"; readonly target: /*elided*/ any; }; optionsvisibilitychange: { optionsVisible: boolean; readonly type: "optionsvisibilitychange"; readonly target: /*elided*/ any; }; pick: { feature: import("./types").Feature | undefined; readonly type: "pick"; readonly target: /*elided*/ any; }; querychange: { query: string; readonly type: "querychange"; readonly target: /*elided*/ any; }; response: { url: string; featureCollection: import("./types").FeatureCollection; readonly type: "response"; readonly target: /*elided*/ any; }; reversetoggle: { reverse: boolean; readonly type: "reversetoggle"; readonly target: /*elided*/ any; }; }[T]) => void) | undefined): Promise<unknown> | /*elided*/ any; off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: { select: { feature: import("./types").Feature | undefined; readonly type: "select"; readonly target: /*elided*/ any; }; featureslisted: { features: import("./types").Feature[] | undefined; readonly type: "featureslisted"; readonly target: /*elided*/ any; }; featuresmarked: { features: import("./types").Feature[] | undefined; readonly type: "featuresmarked"; readonly target: /*elided*/ any; }; optionsvisibilitychange: { optionsVisible: boolean; readonly type: "optionsvisibilitychange"; readonly target: /*elided*/ any; }; pick: { feature: import("./types").Feature | undefined; readonly type: "pick"; readonly target: /*elided*/ any; }; querychange: { query: string; readonly type: "querychange"; readonly target: /*elided*/ any; }; response: { url: string; featureCollection: import("./types").FeatureCollection; readonly type: "response"; readonly target: /*elided*/ any; }; reversetoggle: { reverse: boolean; readonly type: "reversetoggle"; readonly target: /*elided*/ any; }; }[T]) => void): /*elided*/ any; listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean; setOptions(options: MapLibreBaseControlOptions): void; setQuery(value: string, submit?: boolean): void; clearMap(): void; clearList(): void; setReverseMode(reverseActive: boolean): void; focus(options?: FocusOptions): void; blur(): void; onRemove(): void; _listeners: maptilersdk.Listeners; _oneTimeListeners: maptilersdk.Listeners; _eventedParent: maplibregl.Evented; _eventedParentData: any | (() => any); fire(event: maptilersdk.Event | string, properties?: any): /*elided*/ any; setEventedParent(parent?: maplibregl.Evented | null, data?: any | (() => any)): /*elided*/ any; }, features: import("./types").Feature[] | undefined): { features: import("./types").Feature[] | undefined; readonly type: "featureslisted"; readonly target: { "__#1@#gc"?: import("svelte").SvelteComponent; "__#1@#options": MapLibreBaseControlOptions; "__#1@#container"?: HTMLElement; onAddInt(map: Map): HTMLElement; on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: { select: { feature: import("./types").Feature | undefined; readonly type: "select"; readonly target: /*elided*/ any; }; featureslisted: /*elided*/ any; featuresmarked: { features: import("./types").Feature[] | undefined; readonly type: "featuresmarked"; readonly target: /*elided*/ any; }; optionsvisibilitychange: { optionsVisible: boolean; readonly type: "optionsvisibilitychange"; readonly target: /*elided*/ any; }; pick: { feature: import("./types").Feature | undefined; readonly type: "pick"; readonly target: /*elided*/ any; }; querychange: { query: string; readonly type: "querychange"; readonly target: /*elided*/ any; }; response: { url: string; featureCollection: import("./types").FeatureCollection; readonly type: "response"; readonly target: /*elided*/ any; }; reversetoggle: { reverse: boolean; readonly type: "reversetoggle"; readonly target: /*elided*/ any; }; }[T]) => void): maptilersdk.Subscription; once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener?: ((ev: { select: { feature: import("./types").Feature | undefined; readonly type: "select"; readonly target: /*elided*/ any; }; featureslisted: /*elided*/ any; featuresmarked: { features: import("./types").Feature[] | undefined; readonly type: "featuresmarked"; readonly target: /*elided*/ any; }; optionsvisibilitychange: { optionsVisible: boolean; readonly type: "optionsvisibilitychange"; readonly target: /*elided*/ any; }; pick: { feature: import("./types").Feature | undefined; readonly type: "pick"; readonly target: /*elided*/ any; }; querychange: { query: string; readonly type: "querychange"; readonly target: /*elided*/ any; }; response: { url: string; featureCollection: import("./types").FeatureCollection; readonly type: "response"; readonly target: /*elided*/ any; }; reversetoggle: { reverse: boolean; readonly type: "reversetoggle"; readonly target: /*elided*/ any; }; }[T]) => void) | undefined): Promise<unknown> | /*elided*/ any; off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: { select: { feature: import("./types").Feature | undefined; readonly type: "select"; readonly target: /*elided*/ any; }; featureslisted: /*elided*/ any; featuresmarked: { features: import("./types").Feature[] | undefined; readonly type: "featuresmarked"; readonly target: /*elided*/ any; }; optionsvisibilitychange: { optionsVisible: boolean; readonly type: "optionsvisibilitychange"; readonly target: /*elided*/ any; }; pick: { feature: import("./types").Feature | undefined; readonly type: "pick"; readonly target: /*elided*/ any; }; querychange: { query: string; readonly type: "querychange"; readonly target: /*elided*/ any; }; response: { url: string; featureCollection: import("./types").FeatureCollection; readonly type: "response"; readonly target: /*elided*/ any; }; reversetoggle: { reverse: boolean; readonly type: "reversetoggle"; readonly target: /*elided*/ any; }; }[T]) => void): /*elided*/ any; listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean; setOptions(options: MapLibreBaseControlOptions): void; setQuery(value: string, submit?: boolean): void; clearMap(): void; clearList(): void; setReverseMode(reverseActive: boolean): void; focus(options?: FocusOptions): void; blur(): void; onRemove(): void; _listeners: maptilersdk.Listeners; _oneTimeListeners: maptilersdk.Listeners; _eventedParent: maplibregl.Evented; _eventedParentData: any | (() => any); fire(event: maptilersdk.Event | string, properties?: any): /*elided*/ any; setEventedParent(parent?: maplibregl.Evented | null, data?: any | (() => any)): /*elided*/ any; }; }; }; export declare const FeaturesMarkedEvent: { new (target: { "__#1@#gc"?: import("svelte").SvelteComponent; "__#1@#options": MapLibreBaseControlOptions; "__#1@#container"?: HTMLElement; onAddInt(map: Map): HTMLElement; on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: { select: { feature: import("./types").Feature | undefined; readonly type: "select"; readonly target: /*elided*/ any; }; featureslisted: { features: import("./types").Feature[] | undefined; readonly type: "featureslisted"; readonly target: /*elided*/ any; }; featuresmarked: { features: import("./types").Feature[] | undefined; readonly type: "featuresmarked"; readonly target: /*elided*/ any; }; optionsvisibilitychange: { optionsVisible: boolean; readonly type: "optionsvisibilitychange"; readonly target: /*elided*/ any; }; pick: { feature: import("./types").Feature | undefined; readonly type: "pick"; readonly target: /*elided*/ any; }; querychange: { query: string; readonly type: "querychange"; readonly target: /*elided*/ any; }; response: { url: string; featureCollection: import("./types").FeatureCollection; readonly type: "response"; readonly target: /*elided*/ any; }; reversetoggle: { reverse: boolean; readonly type: "reversetoggle"; readonly target: /*elided*/ any; }; }[T]) => void): maptilersdk.Subscription; once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener?: ((ev: { select: { feature: import("./types").Feature | undefined; readonly type: "select"; readonly target: /*elided*/ any; }; featureslisted: { features: import("./types").Feature[] | undefined; readonly type: "featureslisted"; readonly target: /*elided*/ any; }; featuresmarked: { features: import("./types").Feature[] | undefined; readonly type: "featuresmarked"; readonly target: /*elided*/ any; }; optionsvisibilitychange: { optionsVisible: boolean; readonly type: "optionsvisibilitychange"; readonly target: /*elided*/ any; }; pick: { feature: import("./types").Feature | undefined; readonly type: "pick"; readonly target: /*elided*/ any; }; querychange: { query: string; readonly type: "querychange"; readonly target: /*elided*/ any; }; response: { url: string; featureCollection: import("./types").FeatureCollection; readonly type: "response"; readonly target: /*elided*/ any; }; reversetoggle: { reverse: boolean; readonly type: "reversetoggle"; readonly target: /*elided*/ any; }; }[T]) => void) | undefined): Promise<unknown> | /*elided*/ any; off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: { select: { feature: import("./types").Feature | undefined; readonly type: "select"; readonly target: /*elided*/ any; }; featureslisted: { features: import("./types").Feature[] | undefined; readonly type: "featureslisted"; readonly target: /*elided*/ any; }; featuresmarked: { features: import("./types").Feature[] | undefined; readonly type: "featuresmarked"; readonly target: /*elided*/ any; }; optionsvisibilitychange: { optionsVisible: boolean; readonly type: "optionsvisibilitychange"; readonly target: /*elided*/ any; }; pick: { feature: import("./types").Feature | undefined; readonly type: "pick"; readonly target: /*elided*/ any; }; querychange: { query: string; readonly type: "querychange"; readonly target: /*elided*/ any; }; response: { url: string; featureCollection: import("./types").FeatureCollection; readonly type: "response"; readonly target: /*elided*/ any; }; reversetoggle: { reverse: boolean; readonly type: "reversetoggle"; readonly target: /*elided*/ any; }; }[T]) => void): /*elided*/ any; listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean; setOptions(options: MapLibreBaseControlOptions): void; setQuery(value: string, submit?: boolean): void; clearMap(): void; clearList(): void; setReverseMode(reverseActive: boolean): void; focus(options?: FocusOptions): void; blur(): void; onRemove(): void; _listeners: maptilersdk.Listeners; _oneTimeListeners: maptilersdk.Listeners; _eventedParent: maplibregl.Evented; _eventedParentData: any | (() => any); fire(event: maptilersdk.Event | string, properties?: any): /*elided*/ any; setEventedParent(parent?: maplibregl.Evented | null, data?: any | (() => any)): /*elided*/ any; }, features: import("./types").Feature[] | undefined): { features: import("./types").Feature[] | undefined; readonly type: "featuresmarked"; readonly target: { "__#1@#gc"?: import("svelte").SvelteComponent; "__#1@#options": MapLibreBaseControlOptions; "__#1@#container"?: HTMLElement; onAddInt(map: Map): HTMLElement; on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: { select: { feature: import("./types").Feature | undefined; readonly type: "select"; readonly target: /*elided*/ any; }; featureslisted: { features: import("./types").Feature[] | undefined; readonly type: "featureslisted"; readonly target: /*elided*/ any; }; featuresmarked: /*elided*/ any; optionsvisibilitychange: { optionsVisible: boolean; readonly type: "optionsvisibilitychange"; readonly target: /*elided*/ any; }; pick: { feature: import("./types").Feature | undefined; readonly type: "pick"; readonly target: /*elided*/ any; }; querychange: { query: string; readonly type: "querychange"; readonly target: /*elided*/ any; }; response: { url: string; featureCollection: import("./types").FeatureCollection; readonly type: "response"; readonly target: /*elided*/ any; }; reversetoggle: { reverse: boolean; readonly type: "reversetoggle"; readonly target: /*elided*/ any; }; }[T]) => void): maptilersdk.Subscription; once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener?: ((ev: { select: { feature: import("./types").Feature | undefined; readonly type: "select"; readonly target: /*elided*/ any; }; featureslisted: { features: import("./types").Feature[] | undefined; readonly type: "featureslisted"; readonly target: /*elided*/ any; }; featuresmarked: /*elided*/ any; optionsvisibilitychange: { optionsVisible: boolean; readonly type: "optionsvisibilitychange"; readonly target: /*elided*/ any; }; pick: { feature: import("./types").Feature | undefined; readonly type: "pick"; readonly target: /*elided*/ any; }; querychange: { query: string; readonly type: "querychange"; readonly target: /*elided*/ any; }; response: { url: string; featureCollection: import("./types").FeatureCollection; readonly type: "response"; readonly target: /*elided*/ any; }; reversetoggle: { reverse: boolean; readonly type: "reversetoggle"; readonly target: /*elided*/ any; }; }[T]) => void) | undefined): Promise<unknown> | /*elided*/ any; off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: { select: { feature: import("./types").Feature | undefined; readonly type: "select"; readonly target: /*elided*/ any; }; featureslisted: { features: import("./types").Feature[] | undefined; readonly type: "featureslisted"; readonly target: /*elided*/ any; }; featuresmarked: /*elided*/ any; optionsvisibilitychange: { optionsVisible: boolean; readonly type: "optionsvisibilitychange"; readonly target: /*elided*/ any; }; pick: { feature: import("./types").Feature | undefined; readonly type: "pick"; readonly target: /*elided*/ any; }; querychange: { query: string; readonly type: "querychange"; readonly target: /*elided*/ any; }; response: { url: string; featureCollection: import("./types").FeatureCollection; readonly type: "response"; readonly target: /*elided*/ any; }; reversetoggle: { reverse: boolean; readonly type: "reversetoggle"; readonly target: /*elided*/ any; }; }[T]) => void): /*elided*/ any; listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean; setOptions(options: MapLibreBaseControlOptions): void; setQuery(value: string, submit?: boolean): void; clearMap(): void; clearList(): void; setReverseMode(reverseActive: boolean): void; focus(options?: FocusOptions): void; blur(): void; onRemove(): void; _listeners: maptilersdk.Listeners; _oneTimeListeners: maptilersdk.Listeners; _eventedParent: maplibregl.Evented; _eventedParentData: any | (() => any); fire(event: maptilersdk.Event | string, properties?: any): /*elided*/ any; setEventedParent(parent?: maplibregl.Evented | null, data?: any | (() => any)): /*elided*/ any; }; }; }; export declare const OptionsVisibilityChangeEvent: { new (target: { "__#1@#gc"?: import("svelte").SvelteComponent; "__#1@#options": MapLibreBaseControlOptions; "__#1@#container"?: HTMLElement; onAddInt(map: Map): HTMLElement; on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: { select: { feature: import("./types").Feature | undefined; readonly type: "select"; readonly target: /*elided*/ any; }; featureslisted: { features: import("./types").Feature[] | undefined; readonly type: "featureslisted"; readonly target: /*elided*/ any; }; featuresmarked: { features: import("./types").Feature[] | undefined; readonly type: "featuresmarked"; readonly target: /*elided*/ any; }; optionsvisibilitychange: { optionsVisible: boolean; readonly type: "optionsvisibilitychange"; readonly target: /*elided*/ any; }; pick: { feature: import("./types").Feature | undefined; readonly type: "pick"; readonly target: /*elided*/ any; }; querychange: { query: string; readonly type: "querychange"; readonly target: /*elided*/ any; }; response: { url: string; featureCollection: import("./types").FeatureCollection; readonly type: "response"; readonly target: /*elided*/ any; }; reversetoggle: { reverse: boolean; readonly type: "reversetoggle"; readonly target: /*elided*/ any; }; }[T]) => void): maptilersdk.Subscription; once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener?: ((ev: { select: { feature: import("./types").Feature | undefined; readonly type: "select"; readonly target: /*elided*/ any; }; featureslisted: { features: import("./types").Feature[] | undefined; readonly type: "featureslisted"; readonly target: /*elided*/ any; }; featuresmarked: { features: import("./types").Feature[] | undefined; readonly type: "featuresmarked"; readonly target: /*elided*/ any; }; optionsvisibilitychange: { optionsVisible: boolean; readonly type: "optionsvisibilitychange"; readonly target: /*elided*/ any; }; pick: { feature: import("./types").Feature | u