@maptiler/geocoding-control 2.0.0 → 2.1.0-rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/MapLibreBasedGeocodingControl.d.ts +3027 -27
  2. package/icons/10pin.svg +4 -1
  3. package/icons/9pin.svg +4 -1
  4. package/icons/alcohol.svg +1 -1
  5. package/icons/alpine_hut.svg +1 -1
  6. package/icons/apartment.svg +4 -1
  7. package/icons/area.svg +1 -5
  8. package/icons/artwork.svg +4 -1
  9. package/icons/beauty.svg +14 -1
  10. package/icons/bicycle_repair_station.svg +18 -1
  11. package/icons/biergarten.svg +4 -1
  12. package/icons/books.svg +14 -1
  13. package/icons/bowl.svg +4 -1
  14. package/icons/bowling_alley.svg +4 -1
  15. package/icons/bus_station.svg +1 -1
  16. package/icons/camping.svg +1 -1
  17. package/icons/car_repair.svg +14 -1
  18. package/icons/car_wash.svg +19 -1
  19. package/icons/cave_entrance.svg +15 -1
  20. package/icons/chalet.svg +1 -1
  21. package/icons/chemist.svg +14 -1
  22. package/icons/church.svg +4 -1
  23. package/icons/community_centre.svg +20 -1
  24. package/icons/firestation.svg +4 -1
  25. package/icons/guest_house.svg +29 -8
  26. package/icons/hotel.svg +1 -1
  27. package/icons/housenumber.svg +19 -14
  28. package/icons/hut.svg +1 -4
  29. package/icons/medical_supply.svg +20 -1
  30. package/icons/memorial.svg +14 -1
  31. package/icons/motel.svg +19 -1
  32. package/icons/post.svg +1 -1
  33. package/icons/post_office.svg +1 -1
  34. package/icons/postal_code.svg +1 -23
  35. package/icons/public_bookcase.svg +14 -1
  36. package/icons/public_building.svg +4 -1
  37. package/icons/shintoist.svg +1 -1
  38. package/icons/street.svg +11 -14
  39. package/icons/vehicle_inspection.svg +18 -1
  40. package/icons/wilderness_hut.svg +1 -1
  41. package/leaflet-controller.d.ts +1 -1
  42. package/leaflet-controller.js +113 -110
  43. package/leaflet-controller.js.map +1 -1
  44. package/leaflet-controller.umd.js +2 -2
  45. package/leaflet-controller.umd.js.map +1 -1
  46. package/leaflet.d.ts +58 -5
  47. package/leaflet.js +1438 -1265
  48. package/leaflet.js.map +1 -1
  49. package/leaflet.umd.js +3 -3
  50. package/leaflet.umd.js.map +1 -1
  51. package/maplibregl-controller.d.ts +1 -1
  52. package/maplibregl-controller.js +483 -469
  53. package/maplibregl-controller.js.map +1 -1
  54. package/maplibregl-controller.umd.js +3 -3
  55. package/maplibregl-controller.umd.js.map +1 -1
  56. package/maplibregl.d.ts +2499 -13
  57. package/maplibregl.js +2435 -2139
  58. package/maplibregl.js.map +1 -1
  59. package/maplibregl.umd.js +3 -3
  60. package/maplibregl.umd.js.map +1 -1
  61. package/maptilersdk.d.ts +2499 -13
  62. package/maptilersdk.js +2432 -2139
  63. package/maptilersdk.js.map +1 -1
  64. package/maptilersdk.umd.js +3 -3
  65. package/maptilersdk.umd.js.map +1 -1
  66. package/openlayers-controller.d.ts +1 -1
  67. package/openlayers-controller.js +66 -63
  68. package/openlayers-controller.js.map +1 -1
  69. package/openlayers-controller.umd.js +2 -2
  70. package/openlayers-controller.umd.js.map +1 -1
  71. package/openlayers.d.ts +53 -1
  72. package/openlayers.js +2046 -1902
  73. package/openlayers.js.map +1 -1
  74. package/openlayers.umd.js +3 -3
  75. package/openlayers.umd.js.map +1 -1
  76. package/package.json +28 -28
  77. package/react.d.ts +31 -5
  78. package/react.js +1252 -1096
  79. package/react.js.map +1 -1
  80. package/react.umd.js +1 -1
  81. package/react.umd.js.map +1 -1
  82. package/style.css +1 -1
  83. package/svelte/FeatureItem.svelte +60 -13
  84. package/svelte/FeatureItem.svelte.d.ts +4 -4
  85. package/svelte/GeocodingControl.svelte +166 -98
  86. package/svelte/GeocodingControl.svelte.d.ts +36 -16
  87. package/svelte/MapLibreBasedGeocodingControl.d.ts +3027 -27
  88. package/svelte/MapLibreBasedGeocodingControl.js +154 -21
  89. package/svelte/leaflet-controller.d.ts +1 -1
  90. package/svelte/leaflet-controller.js +6 -3
  91. package/svelte/leaflet.d.ts +58 -5
  92. package/svelte/leaflet.js +52 -21
  93. package/svelte/maplibregl-controller.d.ts +1 -1
  94. package/svelte/maplibregl-controller.js +47 -38
  95. package/svelte/maplibregl.d.ts +2499 -13
  96. package/svelte/maplibregl.js +11 -3
  97. package/svelte/maptilersdk.d.ts +2499 -13
  98. package/svelte/maptilersdk.js +11 -3
  99. package/svelte/openlayers-controller.d.ts +1 -1
  100. package/svelte/openlayers-controller.js +7 -4
  101. package/svelte/openlayers.d.ts +53 -1
  102. package/svelte/openlayers.js +66 -48
  103. package/svelte/react.d.ts +31 -5
  104. package/svelte/react.js +21 -9
  105. package/svelte/types.d.ts +106 -35
  106. package/svelte/vanilla.d.ts +46 -2
  107. package/svelte/vanilla.js +66 -10
  108. package/types.d.ts +106 -35
  109. package/vanilla.d.ts +46 -2
  110. package/vanilla.js +1260 -1057
  111. package/vanilla.js.map +1 -1
  112. package/vanilla.umd.js +1 -1
  113. package/vanilla.umd.js.map +1 -1
  114. package/icons/aerodrome.12.svg +0 -1
  115. package/icons/bus_stop.12.svg +0 -1
  116. package/icons/elevator.12.svg +0 -1
  117. /package/icons/{helipad.16.svg → helipad.svg} +0 -0
  118. /package/icons/{traffic_light.13.svg → traffic_light.svg} +0 -0
package/maptilersdk.d.ts CHANGED
@@ -3,33 +3,2519 @@ import type * as maplibregl from "maplibre-gl";
3
3
  import type { Map } from "maplibre-gl";
4
4
  import { type MapLibreBaseControlOptions } from "./MapLibreBasedGeocodingControl";
5
5
  export { createMapLibreGlMapController } from "./maplibregl-controller";
6
- declare const Base: {
7
- new <T extends MapLibreBaseControlOptions>(options?: T): {
6
+ declare const MapLibreBasedGeocodingControl: {
7
+ new (options?: MapLibreBaseControlOptions): {
8
8
  "__#1@#gc"?: import("svelte").SvelteComponent;
9
- "__#1@#options": T;
9
+ "__#1@#options": MapLibreBaseControlOptions;
10
10
  onAddInt(map: Map): HTMLElement;
11
- setOptions(options: T): void;
11
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
12
+ select: {
13
+ feature: import("./types").Feature | undefined;
14
+ readonly type: "select";
15
+ readonly target: /*elided*/ any;
16
+ };
17
+ featureslisted: {
18
+ features: import("./types").Feature[] | undefined;
19
+ readonly type: "featureslisted";
20
+ readonly target: /*elided*/ any;
21
+ };
22
+ featuresmarked: {
23
+ features: import("./types").Feature[] | undefined;
24
+ readonly type: "featuresmarked";
25
+ readonly target: /*elided*/ any;
26
+ };
27
+ optionsvisibilitychange: {
28
+ optionsVisible: boolean;
29
+ readonly type: "optionsvisibilitychange";
30
+ readonly target: /*elided*/ any;
31
+ };
32
+ pick: {
33
+ feature: import("./types").Feature | undefined;
34
+ readonly type: "pick";
35
+ readonly target: /*elided*/ any;
36
+ };
37
+ querychange: {
38
+ query: string;
39
+ readonly type: "querychange";
40
+ readonly target: /*elided*/ any;
41
+ };
42
+ response: {
43
+ url: string;
44
+ featureCollection: import("./types").FeatureCollection;
45
+ readonly type: "response";
46
+ readonly target: /*elided*/ any;
47
+ };
48
+ reversetoggle: {
49
+ reverse: boolean;
50
+ readonly type: "reversetoggle";
51
+ readonly target: /*elided*/ any;
52
+ };
53
+ }[T]) => void): /*elided*/ any;
54
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
55
+ select: {
56
+ feature: import("./types").Feature | undefined;
57
+ readonly type: "select";
58
+ readonly target: /*elided*/ any;
59
+ };
60
+ featureslisted: {
61
+ features: import("./types").Feature[] | undefined;
62
+ readonly type: "featureslisted";
63
+ readonly target: /*elided*/ any;
64
+ };
65
+ featuresmarked: {
66
+ features: import("./types").Feature[] | undefined;
67
+ readonly type: "featuresmarked";
68
+ readonly target: /*elided*/ any;
69
+ };
70
+ optionsvisibilitychange: {
71
+ optionsVisible: boolean;
72
+ readonly type: "optionsvisibilitychange";
73
+ readonly target: /*elided*/ any;
74
+ };
75
+ pick: {
76
+ feature: import("./types").Feature | undefined;
77
+ readonly type: "pick";
78
+ readonly target: /*elided*/ any;
79
+ };
80
+ querychange: {
81
+ query: string;
82
+ readonly type: "querychange";
83
+ readonly target: /*elided*/ any;
84
+ };
85
+ response: {
86
+ url: string;
87
+ featureCollection: import("./types").FeatureCollection;
88
+ readonly type: "response";
89
+ readonly target: /*elided*/ any;
90
+ };
91
+ reversetoggle: {
92
+ reverse: boolean;
93
+ readonly type: "reversetoggle";
94
+ readonly target: /*elided*/ any;
95
+ };
96
+ }[T]) => void): /*elided*/ any;
97
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
98
+ select: {
99
+ feature: import("./types").Feature | undefined;
100
+ readonly type: "select";
101
+ readonly target: /*elided*/ any;
102
+ };
103
+ featureslisted: {
104
+ features: import("./types").Feature[] | undefined;
105
+ readonly type: "featureslisted";
106
+ readonly target: /*elided*/ any;
107
+ };
108
+ featuresmarked: {
109
+ features: import("./types").Feature[] | undefined;
110
+ readonly type: "featuresmarked";
111
+ readonly target: /*elided*/ any;
112
+ };
113
+ optionsvisibilitychange: {
114
+ optionsVisible: boolean;
115
+ readonly type: "optionsvisibilitychange";
116
+ readonly target: /*elided*/ any;
117
+ };
118
+ pick: {
119
+ feature: import("./types").Feature | undefined;
120
+ readonly type: "pick";
121
+ readonly target: /*elided*/ any;
122
+ };
123
+ querychange: {
124
+ query: string;
125
+ readonly type: "querychange";
126
+ readonly target: /*elided*/ any;
127
+ };
128
+ response: {
129
+ url: string;
130
+ featureCollection: import("./types").FeatureCollection;
131
+ readonly type: "response";
132
+ readonly target: /*elided*/ any;
133
+ };
134
+ reversetoggle: {
135
+ reverse: boolean;
136
+ readonly type: "reversetoggle";
137
+ readonly target: /*elided*/ any;
138
+ };
139
+ }[T]) => void): /*elided*/ any;
140
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
141
+ setOptions(options: MapLibreBaseControlOptions): void;
12
142
  setQuery(value: string, submit?: boolean): void;
13
143
  clearMap(): void;
14
144
  clearList(): void;
15
- setReverseMode(value: boolean): void;
16
- focus(): void;
145
+ setReverseMode(reverseActive: boolean): void;
146
+ focus(options?: FocusOptions): void;
17
147
  blur(): void;
18
148
  onRemove(): void;
19
149
  _listeners: maptilersdk.Listeners;
20
150
  _oneTimeListeners: maptilersdk.Listeners;
21
151
  _eventedParent: maplibregl.Evented;
22
152
  _eventedParentData: any | (() => any);
23
- on(type: string, listener: maptilersdk.Listener): any;
24
- off(type: string, listener: maptilersdk.Listener): any;
25
- once(type: string, listener?: maptilersdk.Listener): Promise<any> | any;
26
153
  fire(event: {
27
154
  readonly type: string;
28
- } | string, properties?: any): any;
29
- listens(type: string): boolean;
30
- setEventedParent(parent?: maplibregl.Evented | null, data?: any | (() => any)): any;
155
+ } | string, properties?: any): /*elided*/ any;
156
+ setEventedParent(parent?: maplibregl.Evented | null, data?: any | (() => any)): /*elided*/ any;
31
157
  };
32
158
  };
33
- export declare class GeocodingControl extends Base<MapLibreBaseControlOptions> implements maptilersdk.IControl {
159
+ export declare class GeocodingControl extends MapLibreBasedGeocodingControl implements maptilersdk.IControl {
34
160
  onAdd(map: maptilersdk.Map): HTMLElement;
35
161
  }
162
+ export declare const SelectEvent: {
163
+ new (target: {
164
+ "__#1@#gc"?: import("svelte").SvelteComponent;
165
+ "__#1@#options": MapLibreBaseControlOptions;
166
+ onAddInt(map: Map): HTMLElement;
167
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
168
+ select: {
169
+ feature: import("./types").Feature | undefined;
170
+ readonly type: "select";
171
+ readonly target: /*elided*/ any;
172
+ };
173
+ featureslisted: {
174
+ features: import("./types").Feature[] | undefined;
175
+ readonly type: "featureslisted";
176
+ readonly target: /*elided*/ any;
177
+ };
178
+ featuresmarked: {
179
+ features: import("./types").Feature[] | undefined;
180
+ readonly type: "featuresmarked";
181
+ readonly target: /*elided*/ any;
182
+ };
183
+ optionsvisibilitychange: {
184
+ optionsVisible: boolean;
185
+ readonly type: "optionsvisibilitychange";
186
+ readonly target: /*elided*/ any;
187
+ };
188
+ pick: {
189
+ feature: import("./types").Feature | undefined;
190
+ readonly type: "pick";
191
+ readonly target: /*elided*/ any;
192
+ };
193
+ querychange: {
194
+ query: string;
195
+ readonly type: "querychange";
196
+ readonly target: /*elided*/ any;
197
+ };
198
+ response: {
199
+ url: string;
200
+ featureCollection: import("./types").FeatureCollection;
201
+ readonly type: "response";
202
+ readonly target: /*elided*/ any;
203
+ };
204
+ reversetoggle: {
205
+ reverse: boolean;
206
+ readonly type: "reversetoggle";
207
+ readonly target: /*elided*/ any;
208
+ };
209
+ }[T]) => void): /*elided*/ any;
210
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
211
+ select: {
212
+ feature: import("./types").Feature | undefined;
213
+ readonly type: "select";
214
+ readonly target: /*elided*/ any;
215
+ };
216
+ featureslisted: {
217
+ features: import("./types").Feature[] | undefined;
218
+ readonly type: "featureslisted";
219
+ readonly target: /*elided*/ any;
220
+ };
221
+ featuresmarked: {
222
+ features: import("./types").Feature[] | undefined;
223
+ readonly type: "featuresmarked";
224
+ readonly target: /*elided*/ any;
225
+ };
226
+ optionsvisibilitychange: {
227
+ optionsVisible: boolean;
228
+ readonly type: "optionsvisibilitychange";
229
+ readonly target: /*elided*/ any;
230
+ };
231
+ pick: {
232
+ feature: import("./types").Feature | undefined;
233
+ readonly type: "pick";
234
+ readonly target: /*elided*/ any;
235
+ };
236
+ querychange: {
237
+ query: string;
238
+ readonly type: "querychange";
239
+ readonly target: /*elided*/ any;
240
+ };
241
+ response: {
242
+ url: string;
243
+ featureCollection: import("./types").FeatureCollection;
244
+ readonly type: "response";
245
+ readonly target: /*elided*/ any;
246
+ };
247
+ reversetoggle: {
248
+ reverse: boolean;
249
+ readonly type: "reversetoggle";
250
+ readonly target: /*elided*/ any;
251
+ };
252
+ }[T]) => void): /*elided*/ any;
253
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
254
+ select: {
255
+ feature: import("./types").Feature | undefined;
256
+ readonly type: "select";
257
+ readonly target: /*elided*/ any;
258
+ };
259
+ featureslisted: {
260
+ features: import("./types").Feature[] | undefined;
261
+ readonly type: "featureslisted";
262
+ readonly target: /*elided*/ any;
263
+ };
264
+ featuresmarked: {
265
+ features: import("./types").Feature[] | undefined;
266
+ readonly type: "featuresmarked";
267
+ readonly target: /*elided*/ any;
268
+ };
269
+ optionsvisibilitychange: {
270
+ optionsVisible: boolean;
271
+ readonly type: "optionsvisibilitychange";
272
+ readonly target: /*elided*/ any;
273
+ };
274
+ pick: {
275
+ feature: import("./types").Feature | undefined;
276
+ readonly type: "pick";
277
+ readonly target: /*elided*/ any;
278
+ };
279
+ querychange: {
280
+ query: string;
281
+ readonly type: "querychange";
282
+ readonly target: /*elided*/ any;
283
+ };
284
+ response: {
285
+ url: string;
286
+ featureCollection: import("./types").FeatureCollection;
287
+ readonly type: "response";
288
+ readonly target: /*elided*/ any;
289
+ };
290
+ reversetoggle: {
291
+ reverse: boolean;
292
+ readonly type: "reversetoggle";
293
+ readonly target: /*elided*/ any;
294
+ };
295
+ }[T]) => void): /*elided*/ any;
296
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
297
+ setOptions(options: MapLibreBaseControlOptions): void;
298
+ setQuery(value: string, submit?: boolean): void;
299
+ clearMap(): void;
300
+ clearList(): void;
301
+ setReverseMode(reverseActive: boolean): void;
302
+ focus(options?: FocusOptions): void;
303
+ blur(): void;
304
+ onRemove(): void;
305
+ _listeners: maptilersdk.Listeners;
306
+ _oneTimeListeners: maptilersdk.Listeners;
307
+ _eventedParent: maplibregl.Evented;
308
+ _eventedParentData: any | (() => any);
309
+ fire(event: {
310
+ readonly type: string;
311
+ } | string, properties?: any): /*elided*/ any;
312
+ setEventedParent(parent?: maplibregl.Evented | null, data?: any | (() => any)): /*elided*/ any;
313
+ }, details: {
314
+ feature: import("./types").Feature | undefined;
315
+ }): {
316
+ feature: import("./types").Feature | undefined;
317
+ readonly type: "select";
318
+ readonly target: {
319
+ "__#1@#gc"?: import("svelte").SvelteComponent;
320
+ "__#1@#options": MapLibreBaseControlOptions;
321
+ onAddInt(map: Map): HTMLElement;
322
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
323
+ select: /*elided*/ any;
324
+ featureslisted: {
325
+ features: import("./types").Feature[] | undefined;
326
+ readonly type: "featureslisted";
327
+ readonly target: /*elided*/ any;
328
+ };
329
+ featuresmarked: {
330
+ features: import("./types").Feature[] | undefined;
331
+ readonly type: "featuresmarked";
332
+ readonly target: /*elided*/ any;
333
+ };
334
+ optionsvisibilitychange: {
335
+ optionsVisible: boolean;
336
+ readonly type: "optionsvisibilitychange";
337
+ readonly target: /*elided*/ any;
338
+ };
339
+ pick: {
340
+ feature: import("./types").Feature | undefined;
341
+ readonly type: "pick";
342
+ readonly target: /*elided*/ any;
343
+ };
344
+ querychange: {
345
+ query: string;
346
+ readonly type: "querychange";
347
+ readonly target: /*elided*/ any;
348
+ };
349
+ response: {
350
+ url: string;
351
+ featureCollection: import("./types").FeatureCollection;
352
+ readonly type: "response";
353
+ readonly target: /*elided*/ any;
354
+ };
355
+ reversetoggle: {
356
+ reverse: boolean;
357
+ readonly type: "reversetoggle";
358
+ readonly target: /*elided*/ any;
359
+ };
360
+ }[T]) => void): /*elided*/ any;
361
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
362
+ select: /*elided*/ any;
363
+ featureslisted: {
364
+ features: import("./types").Feature[] | undefined;
365
+ readonly type: "featureslisted";
366
+ readonly target: /*elided*/ any;
367
+ };
368
+ featuresmarked: {
369
+ features: import("./types").Feature[] | undefined;
370
+ readonly type: "featuresmarked";
371
+ readonly target: /*elided*/ any;
372
+ };
373
+ optionsvisibilitychange: {
374
+ optionsVisible: boolean;
375
+ readonly type: "optionsvisibilitychange";
376
+ readonly target: /*elided*/ any;
377
+ };
378
+ pick: {
379
+ feature: import("./types").Feature | undefined;
380
+ readonly type: "pick";
381
+ readonly target: /*elided*/ any;
382
+ };
383
+ querychange: {
384
+ query: string;
385
+ readonly type: "querychange";
386
+ readonly target: /*elided*/ any;
387
+ };
388
+ response: {
389
+ url: string;
390
+ featureCollection: import("./types").FeatureCollection;
391
+ readonly type: "response";
392
+ readonly target: /*elided*/ any;
393
+ };
394
+ reversetoggle: {
395
+ reverse: boolean;
396
+ readonly type: "reversetoggle";
397
+ readonly target: /*elided*/ any;
398
+ };
399
+ }[T]) => void): /*elided*/ any;
400
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
401
+ select: /*elided*/ any;
402
+ featureslisted: {
403
+ features: import("./types").Feature[] | undefined;
404
+ readonly type: "featureslisted";
405
+ readonly target: /*elided*/ any;
406
+ };
407
+ featuresmarked: {
408
+ features: import("./types").Feature[] | undefined;
409
+ readonly type: "featuresmarked";
410
+ readonly target: /*elided*/ any;
411
+ };
412
+ optionsvisibilitychange: {
413
+ optionsVisible: boolean;
414
+ readonly type: "optionsvisibilitychange";
415
+ readonly target: /*elided*/ any;
416
+ };
417
+ pick: {
418
+ feature: import("./types").Feature | undefined;
419
+ readonly type: "pick";
420
+ readonly target: /*elided*/ any;
421
+ };
422
+ querychange: {
423
+ query: string;
424
+ readonly type: "querychange";
425
+ readonly target: /*elided*/ any;
426
+ };
427
+ response: {
428
+ url: string;
429
+ featureCollection: import("./types").FeatureCollection;
430
+ readonly type: "response";
431
+ readonly target: /*elided*/ any;
432
+ };
433
+ reversetoggle: {
434
+ reverse: boolean;
435
+ readonly type: "reversetoggle";
436
+ readonly target: /*elided*/ any;
437
+ };
438
+ }[T]) => void): /*elided*/ any;
439
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
440
+ setOptions(options: MapLibreBaseControlOptions): void;
441
+ setQuery(value: string, submit?: boolean): void;
442
+ clearMap(): void;
443
+ clearList(): void;
444
+ setReverseMode(reverseActive: boolean): void;
445
+ focus(options?: FocusOptions): void;
446
+ blur(): void;
447
+ onRemove(): void;
448
+ _listeners: maptilersdk.Listeners;
449
+ _oneTimeListeners: maptilersdk.Listeners;
450
+ _eventedParent: maplibregl.Evented;
451
+ _eventedParentData: any | (() => any);
452
+ fire(event: {
453
+ readonly type: string;
454
+ } | string, properties?: any): /*elided*/ any;
455
+ setEventedParent(parent?: maplibregl.Evented | null, data?: any | (() => any)): /*elided*/ any;
456
+ };
457
+ };
458
+ };
459
+ export declare const FeaturesListedEvent: {
460
+ new (target: {
461
+ "__#1@#gc"?: import("svelte").SvelteComponent;
462
+ "__#1@#options": MapLibreBaseControlOptions;
463
+ onAddInt(map: Map): HTMLElement;
464
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
465
+ select: {
466
+ feature: import("./types").Feature | undefined;
467
+ readonly type: "select";
468
+ readonly target: /*elided*/ any;
469
+ };
470
+ featureslisted: {
471
+ features: import("./types").Feature[] | undefined;
472
+ readonly type: "featureslisted";
473
+ readonly target: /*elided*/ any;
474
+ };
475
+ featuresmarked: {
476
+ features: import("./types").Feature[] | undefined;
477
+ readonly type: "featuresmarked";
478
+ readonly target: /*elided*/ any;
479
+ };
480
+ optionsvisibilitychange: {
481
+ optionsVisible: boolean;
482
+ readonly type: "optionsvisibilitychange";
483
+ readonly target: /*elided*/ any;
484
+ };
485
+ pick: {
486
+ feature: import("./types").Feature | undefined;
487
+ readonly type: "pick";
488
+ readonly target: /*elided*/ any;
489
+ };
490
+ querychange: {
491
+ query: string;
492
+ readonly type: "querychange";
493
+ readonly target: /*elided*/ any;
494
+ };
495
+ response: {
496
+ url: string;
497
+ featureCollection: import("./types").FeatureCollection;
498
+ readonly type: "response";
499
+ readonly target: /*elided*/ any;
500
+ };
501
+ reversetoggle: {
502
+ reverse: boolean;
503
+ readonly type: "reversetoggle";
504
+ readonly target: /*elided*/ any;
505
+ };
506
+ }[T]) => void): /*elided*/ any;
507
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
508
+ select: {
509
+ feature: import("./types").Feature | undefined;
510
+ readonly type: "select";
511
+ readonly target: /*elided*/ any;
512
+ };
513
+ featureslisted: {
514
+ features: import("./types").Feature[] | undefined;
515
+ readonly type: "featureslisted";
516
+ readonly target: /*elided*/ any;
517
+ };
518
+ featuresmarked: {
519
+ features: import("./types").Feature[] | undefined;
520
+ readonly type: "featuresmarked";
521
+ readonly target: /*elided*/ any;
522
+ };
523
+ optionsvisibilitychange: {
524
+ optionsVisible: boolean;
525
+ readonly type: "optionsvisibilitychange";
526
+ readonly target: /*elided*/ any;
527
+ };
528
+ pick: {
529
+ feature: import("./types").Feature | undefined;
530
+ readonly type: "pick";
531
+ readonly target: /*elided*/ any;
532
+ };
533
+ querychange: {
534
+ query: string;
535
+ readonly type: "querychange";
536
+ readonly target: /*elided*/ any;
537
+ };
538
+ response: {
539
+ url: string;
540
+ featureCollection: import("./types").FeatureCollection;
541
+ readonly type: "response";
542
+ readonly target: /*elided*/ any;
543
+ };
544
+ reversetoggle: {
545
+ reverse: boolean;
546
+ readonly type: "reversetoggle";
547
+ readonly target: /*elided*/ any;
548
+ };
549
+ }[T]) => void): /*elided*/ any;
550
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
551
+ select: {
552
+ feature: import("./types").Feature | undefined;
553
+ readonly type: "select";
554
+ readonly target: /*elided*/ any;
555
+ };
556
+ featureslisted: {
557
+ features: import("./types").Feature[] | undefined;
558
+ readonly type: "featureslisted";
559
+ readonly target: /*elided*/ any;
560
+ };
561
+ featuresmarked: {
562
+ features: import("./types").Feature[] | undefined;
563
+ readonly type: "featuresmarked";
564
+ readonly target: /*elided*/ any;
565
+ };
566
+ optionsvisibilitychange: {
567
+ optionsVisible: boolean;
568
+ readonly type: "optionsvisibilitychange";
569
+ readonly target: /*elided*/ any;
570
+ };
571
+ pick: {
572
+ feature: import("./types").Feature | undefined;
573
+ readonly type: "pick";
574
+ readonly target: /*elided*/ any;
575
+ };
576
+ querychange: {
577
+ query: string;
578
+ readonly type: "querychange";
579
+ readonly target: /*elided*/ any;
580
+ };
581
+ response: {
582
+ url: string;
583
+ featureCollection: import("./types").FeatureCollection;
584
+ readonly type: "response";
585
+ readonly target: /*elided*/ any;
586
+ };
587
+ reversetoggle: {
588
+ reverse: boolean;
589
+ readonly type: "reversetoggle";
590
+ readonly target: /*elided*/ any;
591
+ };
592
+ }[T]) => void): /*elided*/ any;
593
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
594
+ setOptions(options: MapLibreBaseControlOptions): void;
595
+ setQuery(value: string, submit?: boolean): void;
596
+ clearMap(): void;
597
+ clearList(): void;
598
+ setReverseMode(reverseActive: boolean): void;
599
+ focus(options?: FocusOptions): void;
600
+ blur(): void;
601
+ onRemove(): void;
602
+ _listeners: maptilersdk.Listeners;
603
+ _oneTimeListeners: maptilersdk.Listeners;
604
+ _eventedParent: maplibregl.Evented;
605
+ _eventedParentData: any | (() => any);
606
+ fire(event: {
607
+ readonly type: string;
608
+ } | string, properties?: any): /*elided*/ any;
609
+ setEventedParent(parent?: maplibregl.Evented | null, data?: any | (() => any)): /*elided*/ any;
610
+ }, features: import("./types").Feature[] | undefined): {
611
+ features: import("./types").Feature[] | undefined;
612
+ readonly type: "featureslisted";
613
+ readonly target: {
614
+ "__#1@#gc"?: import("svelte").SvelteComponent;
615
+ "__#1@#options": MapLibreBaseControlOptions;
616
+ onAddInt(map: Map): HTMLElement;
617
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
618
+ select: {
619
+ feature: import("./types").Feature | undefined;
620
+ readonly type: "select";
621
+ readonly target: /*elided*/ any;
622
+ };
623
+ featureslisted: /*elided*/ any;
624
+ featuresmarked: {
625
+ features: import("./types").Feature[] | undefined;
626
+ readonly type: "featuresmarked";
627
+ readonly target: /*elided*/ any;
628
+ };
629
+ optionsvisibilitychange: {
630
+ optionsVisible: boolean;
631
+ readonly type: "optionsvisibilitychange";
632
+ readonly target: /*elided*/ any;
633
+ };
634
+ pick: {
635
+ feature: import("./types").Feature | undefined;
636
+ readonly type: "pick";
637
+ readonly target: /*elided*/ any;
638
+ };
639
+ querychange: {
640
+ query: string;
641
+ readonly type: "querychange";
642
+ readonly target: /*elided*/ any;
643
+ };
644
+ response: {
645
+ url: string;
646
+ featureCollection: import("./types").FeatureCollection;
647
+ readonly type: "response";
648
+ readonly target: /*elided*/ any;
649
+ };
650
+ reversetoggle: {
651
+ reverse: boolean;
652
+ readonly type: "reversetoggle";
653
+ readonly target: /*elided*/ any;
654
+ };
655
+ }[T]) => void): /*elided*/ any;
656
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
657
+ select: {
658
+ feature: import("./types").Feature | undefined;
659
+ readonly type: "select";
660
+ readonly target: /*elided*/ any;
661
+ };
662
+ featureslisted: /*elided*/ any;
663
+ featuresmarked: {
664
+ features: import("./types").Feature[] | undefined;
665
+ readonly type: "featuresmarked";
666
+ readonly target: /*elided*/ any;
667
+ };
668
+ optionsvisibilitychange: {
669
+ optionsVisible: boolean;
670
+ readonly type: "optionsvisibilitychange";
671
+ readonly target: /*elided*/ any;
672
+ };
673
+ pick: {
674
+ feature: import("./types").Feature | undefined;
675
+ readonly type: "pick";
676
+ readonly target: /*elided*/ any;
677
+ };
678
+ querychange: {
679
+ query: string;
680
+ readonly type: "querychange";
681
+ readonly target: /*elided*/ any;
682
+ };
683
+ response: {
684
+ url: string;
685
+ featureCollection: import("./types").FeatureCollection;
686
+ readonly type: "response";
687
+ readonly target: /*elided*/ any;
688
+ };
689
+ reversetoggle: {
690
+ reverse: boolean;
691
+ readonly type: "reversetoggle";
692
+ readonly target: /*elided*/ any;
693
+ };
694
+ }[T]) => void): /*elided*/ any;
695
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
696
+ select: {
697
+ feature: import("./types").Feature | undefined;
698
+ readonly type: "select";
699
+ readonly target: /*elided*/ any;
700
+ };
701
+ featureslisted: /*elided*/ any;
702
+ featuresmarked: {
703
+ features: import("./types").Feature[] | undefined;
704
+ readonly type: "featuresmarked";
705
+ readonly target: /*elided*/ any;
706
+ };
707
+ optionsvisibilitychange: {
708
+ optionsVisible: boolean;
709
+ readonly type: "optionsvisibilitychange";
710
+ readonly target: /*elided*/ any;
711
+ };
712
+ pick: {
713
+ feature: import("./types").Feature | undefined;
714
+ readonly type: "pick";
715
+ readonly target: /*elided*/ any;
716
+ };
717
+ querychange: {
718
+ query: string;
719
+ readonly type: "querychange";
720
+ readonly target: /*elided*/ any;
721
+ };
722
+ response: {
723
+ url: string;
724
+ featureCollection: import("./types").FeatureCollection;
725
+ readonly type: "response";
726
+ readonly target: /*elided*/ any;
727
+ };
728
+ reversetoggle: {
729
+ reverse: boolean;
730
+ readonly type: "reversetoggle";
731
+ readonly target: /*elided*/ any;
732
+ };
733
+ }[T]) => void): /*elided*/ any;
734
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
735
+ setOptions(options: MapLibreBaseControlOptions): void;
736
+ setQuery(value: string, submit?: boolean): void;
737
+ clearMap(): void;
738
+ clearList(): void;
739
+ setReverseMode(reverseActive: boolean): void;
740
+ focus(options?: FocusOptions): void;
741
+ blur(): void;
742
+ onRemove(): void;
743
+ _listeners: maptilersdk.Listeners;
744
+ _oneTimeListeners: maptilersdk.Listeners;
745
+ _eventedParent: maplibregl.Evented;
746
+ _eventedParentData: any | (() => any);
747
+ fire(event: {
748
+ readonly type: string;
749
+ } | string, properties?: any): /*elided*/ any;
750
+ setEventedParent(parent?: maplibregl.Evented | null, data?: any | (() => any)): /*elided*/ any;
751
+ };
752
+ };
753
+ };
754
+ export declare const FeaturesMarkedEvent: {
755
+ new (target: {
756
+ "__#1@#gc"?: import("svelte").SvelteComponent;
757
+ "__#1@#options": MapLibreBaseControlOptions;
758
+ onAddInt(map: Map): HTMLElement;
759
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
760
+ select: {
761
+ feature: import("./types").Feature | undefined;
762
+ readonly type: "select";
763
+ readonly target: /*elided*/ any;
764
+ };
765
+ featureslisted: {
766
+ features: import("./types").Feature[] | undefined;
767
+ readonly type: "featureslisted";
768
+ readonly target: /*elided*/ any;
769
+ };
770
+ featuresmarked: {
771
+ features: import("./types").Feature[] | undefined;
772
+ readonly type: "featuresmarked";
773
+ readonly target: /*elided*/ any;
774
+ };
775
+ optionsvisibilitychange: {
776
+ optionsVisible: boolean;
777
+ readonly type: "optionsvisibilitychange";
778
+ readonly target: /*elided*/ any;
779
+ };
780
+ pick: {
781
+ feature: import("./types").Feature | undefined;
782
+ readonly type: "pick";
783
+ readonly target: /*elided*/ any;
784
+ };
785
+ querychange: {
786
+ query: string;
787
+ readonly type: "querychange";
788
+ readonly target: /*elided*/ any;
789
+ };
790
+ response: {
791
+ url: string;
792
+ featureCollection: import("./types").FeatureCollection;
793
+ readonly type: "response";
794
+ readonly target: /*elided*/ any;
795
+ };
796
+ reversetoggle: {
797
+ reverse: boolean;
798
+ readonly type: "reversetoggle";
799
+ readonly target: /*elided*/ any;
800
+ };
801
+ }[T]) => void): /*elided*/ any;
802
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
803
+ select: {
804
+ feature: import("./types").Feature | undefined;
805
+ readonly type: "select";
806
+ readonly target: /*elided*/ any;
807
+ };
808
+ featureslisted: {
809
+ features: import("./types").Feature[] | undefined;
810
+ readonly type: "featureslisted";
811
+ readonly target: /*elided*/ any;
812
+ };
813
+ featuresmarked: {
814
+ features: import("./types").Feature[] | undefined;
815
+ readonly type: "featuresmarked";
816
+ readonly target: /*elided*/ any;
817
+ };
818
+ optionsvisibilitychange: {
819
+ optionsVisible: boolean;
820
+ readonly type: "optionsvisibilitychange";
821
+ readonly target: /*elided*/ any;
822
+ };
823
+ pick: {
824
+ feature: import("./types").Feature | undefined;
825
+ readonly type: "pick";
826
+ readonly target: /*elided*/ any;
827
+ };
828
+ querychange: {
829
+ query: string;
830
+ readonly type: "querychange";
831
+ readonly target: /*elided*/ any;
832
+ };
833
+ response: {
834
+ url: string;
835
+ featureCollection: import("./types").FeatureCollection;
836
+ readonly type: "response";
837
+ readonly target: /*elided*/ any;
838
+ };
839
+ reversetoggle: {
840
+ reverse: boolean;
841
+ readonly type: "reversetoggle";
842
+ readonly target: /*elided*/ any;
843
+ };
844
+ }[T]) => void): /*elided*/ any;
845
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
846
+ select: {
847
+ feature: import("./types").Feature | undefined;
848
+ readonly type: "select";
849
+ readonly target: /*elided*/ any;
850
+ };
851
+ featureslisted: {
852
+ features: import("./types").Feature[] | undefined;
853
+ readonly type: "featureslisted";
854
+ readonly target: /*elided*/ any;
855
+ };
856
+ featuresmarked: {
857
+ features: import("./types").Feature[] | undefined;
858
+ readonly type: "featuresmarked";
859
+ readonly target: /*elided*/ any;
860
+ };
861
+ optionsvisibilitychange: {
862
+ optionsVisible: boolean;
863
+ readonly type: "optionsvisibilitychange";
864
+ readonly target: /*elided*/ any;
865
+ };
866
+ pick: {
867
+ feature: import("./types").Feature | undefined;
868
+ readonly type: "pick";
869
+ readonly target: /*elided*/ any;
870
+ };
871
+ querychange: {
872
+ query: string;
873
+ readonly type: "querychange";
874
+ readonly target: /*elided*/ any;
875
+ };
876
+ response: {
877
+ url: string;
878
+ featureCollection: import("./types").FeatureCollection;
879
+ readonly type: "response";
880
+ readonly target: /*elided*/ any;
881
+ };
882
+ reversetoggle: {
883
+ reverse: boolean;
884
+ readonly type: "reversetoggle";
885
+ readonly target: /*elided*/ any;
886
+ };
887
+ }[T]) => void): /*elided*/ any;
888
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
889
+ setOptions(options: MapLibreBaseControlOptions): void;
890
+ setQuery(value: string, submit?: boolean): void;
891
+ clearMap(): void;
892
+ clearList(): void;
893
+ setReverseMode(reverseActive: boolean): void;
894
+ focus(options?: FocusOptions): void;
895
+ blur(): void;
896
+ onRemove(): void;
897
+ _listeners: maptilersdk.Listeners;
898
+ _oneTimeListeners: maptilersdk.Listeners;
899
+ _eventedParent: maplibregl.Evented;
900
+ _eventedParentData: any | (() => any);
901
+ fire(event: {
902
+ readonly type: string;
903
+ } | string, properties?: any): /*elided*/ any;
904
+ setEventedParent(parent?: maplibregl.Evented | null, data?: any | (() => any)): /*elided*/ any;
905
+ }, features: import("./types").Feature[] | undefined): {
906
+ features: import("./types").Feature[] | undefined;
907
+ readonly type: "featuresmarked";
908
+ readonly target: {
909
+ "__#1@#gc"?: import("svelte").SvelteComponent;
910
+ "__#1@#options": MapLibreBaseControlOptions;
911
+ onAddInt(map: Map): HTMLElement;
912
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
913
+ select: {
914
+ feature: import("./types").Feature | undefined;
915
+ readonly type: "select";
916
+ readonly target: /*elided*/ any;
917
+ };
918
+ featureslisted: {
919
+ features: import("./types").Feature[] | undefined;
920
+ readonly type: "featureslisted";
921
+ readonly target: /*elided*/ any;
922
+ };
923
+ featuresmarked: /*elided*/ any;
924
+ optionsvisibilitychange: {
925
+ optionsVisible: boolean;
926
+ readonly type: "optionsvisibilitychange";
927
+ readonly target: /*elided*/ any;
928
+ };
929
+ pick: {
930
+ feature: import("./types").Feature | undefined;
931
+ readonly type: "pick";
932
+ readonly target: /*elided*/ any;
933
+ };
934
+ querychange: {
935
+ query: string;
936
+ readonly type: "querychange";
937
+ readonly target: /*elided*/ any;
938
+ };
939
+ response: {
940
+ url: string;
941
+ featureCollection: import("./types").FeatureCollection;
942
+ readonly type: "response";
943
+ readonly target: /*elided*/ any;
944
+ };
945
+ reversetoggle: {
946
+ reverse: boolean;
947
+ readonly type: "reversetoggle";
948
+ readonly target: /*elided*/ any;
949
+ };
950
+ }[T]) => void): /*elided*/ any;
951
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
952
+ select: {
953
+ feature: import("./types").Feature | undefined;
954
+ readonly type: "select";
955
+ readonly target: /*elided*/ any;
956
+ };
957
+ featureslisted: {
958
+ features: import("./types").Feature[] | undefined;
959
+ readonly type: "featureslisted";
960
+ readonly target: /*elided*/ any;
961
+ };
962
+ featuresmarked: /*elided*/ any;
963
+ optionsvisibilitychange: {
964
+ optionsVisible: boolean;
965
+ readonly type: "optionsvisibilitychange";
966
+ readonly target: /*elided*/ any;
967
+ };
968
+ pick: {
969
+ feature: import("./types").Feature | undefined;
970
+ readonly type: "pick";
971
+ readonly target: /*elided*/ any;
972
+ };
973
+ querychange: {
974
+ query: string;
975
+ readonly type: "querychange";
976
+ readonly target: /*elided*/ any;
977
+ };
978
+ response: {
979
+ url: string;
980
+ featureCollection: import("./types").FeatureCollection;
981
+ readonly type: "response";
982
+ readonly target: /*elided*/ any;
983
+ };
984
+ reversetoggle: {
985
+ reverse: boolean;
986
+ readonly type: "reversetoggle";
987
+ readonly target: /*elided*/ any;
988
+ };
989
+ }[T]) => void): /*elided*/ any;
990
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
991
+ select: {
992
+ feature: import("./types").Feature | undefined;
993
+ readonly type: "select";
994
+ readonly target: /*elided*/ any;
995
+ };
996
+ featureslisted: {
997
+ features: import("./types").Feature[] | undefined;
998
+ readonly type: "featureslisted";
999
+ readonly target: /*elided*/ any;
1000
+ };
1001
+ featuresmarked: /*elided*/ any;
1002
+ optionsvisibilitychange: {
1003
+ optionsVisible: boolean;
1004
+ readonly type: "optionsvisibilitychange";
1005
+ readonly target: /*elided*/ any;
1006
+ };
1007
+ pick: {
1008
+ feature: import("./types").Feature | undefined;
1009
+ readonly type: "pick";
1010
+ readonly target: /*elided*/ any;
1011
+ };
1012
+ querychange: {
1013
+ query: string;
1014
+ readonly type: "querychange";
1015
+ readonly target: /*elided*/ any;
1016
+ };
1017
+ response: {
1018
+ url: string;
1019
+ featureCollection: import("./types").FeatureCollection;
1020
+ readonly type: "response";
1021
+ readonly target: /*elided*/ any;
1022
+ };
1023
+ reversetoggle: {
1024
+ reverse: boolean;
1025
+ readonly type: "reversetoggle";
1026
+ readonly target: /*elided*/ any;
1027
+ };
1028
+ }[T]) => void): /*elided*/ any;
1029
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
1030
+ setOptions(options: MapLibreBaseControlOptions): void;
1031
+ setQuery(value: string, submit?: boolean): void;
1032
+ clearMap(): void;
1033
+ clearList(): void;
1034
+ setReverseMode(reverseActive: boolean): void;
1035
+ focus(options?: FocusOptions): void;
1036
+ blur(): void;
1037
+ onRemove(): void;
1038
+ _listeners: maptilersdk.Listeners;
1039
+ _oneTimeListeners: maptilersdk.Listeners;
1040
+ _eventedParent: maplibregl.Evented;
1041
+ _eventedParentData: any | (() => any);
1042
+ fire(event: {
1043
+ readonly type: string;
1044
+ } | string, properties?: any): /*elided*/ any;
1045
+ setEventedParent(parent?: maplibregl.Evented | null, data?: any | (() => any)): /*elided*/ any;
1046
+ };
1047
+ };
1048
+ };
1049
+ export declare const OptionsVisibilityChangeEvent: {
1050
+ new (target: {
1051
+ "__#1@#gc"?: import("svelte").SvelteComponent;
1052
+ "__#1@#options": MapLibreBaseControlOptions;
1053
+ onAddInt(map: Map): HTMLElement;
1054
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1055
+ select: {
1056
+ feature: import("./types").Feature | undefined;
1057
+ readonly type: "select";
1058
+ readonly target: /*elided*/ any;
1059
+ };
1060
+ featureslisted: {
1061
+ features: import("./types").Feature[] | undefined;
1062
+ readonly type: "featureslisted";
1063
+ readonly target: /*elided*/ any;
1064
+ };
1065
+ featuresmarked: {
1066
+ features: import("./types").Feature[] | undefined;
1067
+ readonly type: "featuresmarked";
1068
+ readonly target: /*elided*/ any;
1069
+ };
1070
+ optionsvisibilitychange: {
1071
+ optionsVisible: boolean;
1072
+ readonly type: "optionsvisibilitychange";
1073
+ readonly target: /*elided*/ any;
1074
+ };
1075
+ pick: {
1076
+ feature: import("./types").Feature | undefined;
1077
+ readonly type: "pick";
1078
+ readonly target: /*elided*/ any;
1079
+ };
1080
+ querychange: {
1081
+ query: string;
1082
+ readonly type: "querychange";
1083
+ readonly target: /*elided*/ any;
1084
+ };
1085
+ response: {
1086
+ url: string;
1087
+ featureCollection: import("./types").FeatureCollection;
1088
+ readonly type: "response";
1089
+ readonly target: /*elided*/ any;
1090
+ };
1091
+ reversetoggle: {
1092
+ reverse: boolean;
1093
+ readonly type: "reversetoggle";
1094
+ readonly target: /*elided*/ any;
1095
+ };
1096
+ }[T]) => void): /*elided*/ any;
1097
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1098
+ select: {
1099
+ feature: import("./types").Feature | undefined;
1100
+ readonly type: "select";
1101
+ readonly target: /*elided*/ any;
1102
+ };
1103
+ featureslisted: {
1104
+ features: import("./types").Feature[] | undefined;
1105
+ readonly type: "featureslisted";
1106
+ readonly target: /*elided*/ any;
1107
+ };
1108
+ featuresmarked: {
1109
+ features: import("./types").Feature[] | undefined;
1110
+ readonly type: "featuresmarked";
1111
+ readonly target: /*elided*/ any;
1112
+ };
1113
+ optionsvisibilitychange: {
1114
+ optionsVisible: boolean;
1115
+ readonly type: "optionsvisibilitychange";
1116
+ readonly target: /*elided*/ any;
1117
+ };
1118
+ pick: {
1119
+ feature: import("./types").Feature | undefined;
1120
+ readonly type: "pick";
1121
+ readonly target: /*elided*/ any;
1122
+ };
1123
+ querychange: {
1124
+ query: string;
1125
+ readonly type: "querychange";
1126
+ readonly target: /*elided*/ any;
1127
+ };
1128
+ response: {
1129
+ url: string;
1130
+ featureCollection: import("./types").FeatureCollection;
1131
+ readonly type: "response";
1132
+ readonly target: /*elided*/ any;
1133
+ };
1134
+ reversetoggle: {
1135
+ reverse: boolean;
1136
+ readonly type: "reversetoggle";
1137
+ readonly target: /*elided*/ any;
1138
+ };
1139
+ }[T]) => void): /*elided*/ any;
1140
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1141
+ select: {
1142
+ feature: import("./types").Feature | undefined;
1143
+ readonly type: "select";
1144
+ readonly target: /*elided*/ any;
1145
+ };
1146
+ featureslisted: {
1147
+ features: import("./types").Feature[] | undefined;
1148
+ readonly type: "featureslisted";
1149
+ readonly target: /*elided*/ any;
1150
+ };
1151
+ featuresmarked: {
1152
+ features: import("./types").Feature[] | undefined;
1153
+ readonly type: "featuresmarked";
1154
+ readonly target: /*elided*/ any;
1155
+ };
1156
+ optionsvisibilitychange: {
1157
+ optionsVisible: boolean;
1158
+ readonly type: "optionsvisibilitychange";
1159
+ readonly target: /*elided*/ any;
1160
+ };
1161
+ pick: {
1162
+ feature: import("./types").Feature | undefined;
1163
+ readonly type: "pick";
1164
+ readonly target: /*elided*/ any;
1165
+ };
1166
+ querychange: {
1167
+ query: string;
1168
+ readonly type: "querychange";
1169
+ readonly target: /*elided*/ any;
1170
+ };
1171
+ response: {
1172
+ url: string;
1173
+ featureCollection: import("./types").FeatureCollection;
1174
+ readonly type: "response";
1175
+ readonly target: /*elided*/ any;
1176
+ };
1177
+ reversetoggle: {
1178
+ reverse: boolean;
1179
+ readonly type: "reversetoggle";
1180
+ readonly target: /*elided*/ any;
1181
+ };
1182
+ }[T]) => void): /*elided*/ any;
1183
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
1184
+ setOptions(options: MapLibreBaseControlOptions): void;
1185
+ setQuery(value: string, submit?: boolean): void;
1186
+ clearMap(): void;
1187
+ clearList(): void;
1188
+ setReverseMode(reverseActive: boolean): void;
1189
+ focus(options?: FocusOptions): void;
1190
+ blur(): void;
1191
+ onRemove(): void;
1192
+ _listeners: maptilersdk.Listeners;
1193
+ _oneTimeListeners: maptilersdk.Listeners;
1194
+ _eventedParent: maplibregl.Evented;
1195
+ _eventedParentData: any | (() => any);
1196
+ fire(event: {
1197
+ readonly type: string;
1198
+ } | string, properties?: any): /*elided*/ any;
1199
+ setEventedParent(parent?: maplibregl.Evented | null, data?: any | (() => any)): /*elided*/ any;
1200
+ }, optionsVisible: boolean): {
1201
+ optionsVisible: boolean;
1202
+ readonly type: "optionsvisibilitychange";
1203
+ readonly target: {
1204
+ "__#1@#gc"?: import("svelte").SvelteComponent;
1205
+ "__#1@#options": MapLibreBaseControlOptions;
1206
+ onAddInt(map: Map): HTMLElement;
1207
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1208
+ select: {
1209
+ feature: import("./types").Feature | undefined;
1210
+ readonly type: "select";
1211
+ readonly target: /*elided*/ any;
1212
+ };
1213
+ featureslisted: {
1214
+ features: import("./types").Feature[] | undefined;
1215
+ readonly type: "featureslisted";
1216
+ readonly target: /*elided*/ any;
1217
+ };
1218
+ featuresmarked: {
1219
+ features: import("./types").Feature[] | undefined;
1220
+ readonly type: "featuresmarked";
1221
+ readonly target: /*elided*/ any;
1222
+ };
1223
+ optionsvisibilitychange: /*elided*/ any;
1224
+ pick: {
1225
+ feature: import("./types").Feature | undefined;
1226
+ readonly type: "pick";
1227
+ readonly target: /*elided*/ any;
1228
+ };
1229
+ querychange: {
1230
+ query: string;
1231
+ readonly type: "querychange";
1232
+ readonly target: /*elided*/ any;
1233
+ };
1234
+ response: {
1235
+ url: string;
1236
+ featureCollection: import("./types").FeatureCollection;
1237
+ readonly type: "response";
1238
+ readonly target: /*elided*/ any;
1239
+ };
1240
+ reversetoggle: {
1241
+ reverse: boolean;
1242
+ readonly type: "reversetoggle";
1243
+ readonly target: /*elided*/ any;
1244
+ };
1245
+ }[T]) => void): /*elided*/ any;
1246
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1247
+ select: {
1248
+ feature: import("./types").Feature | undefined;
1249
+ readonly type: "select";
1250
+ readonly target: /*elided*/ any;
1251
+ };
1252
+ featureslisted: {
1253
+ features: import("./types").Feature[] | undefined;
1254
+ readonly type: "featureslisted";
1255
+ readonly target: /*elided*/ any;
1256
+ };
1257
+ featuresmarked: {
1258
+ features: import("./types").Feature[] | undefined;
1259
+ readonly type: "featuresmarked";
1260
+ readonly target: /*elided*/ any;
1261
+ };
1262
+ optionsvisibilitychange: /*elided*/ any;
1263
+ pick: {
1264
+ feature: import("./types").Feature | undefined;
1265
+ readonly type: "pick";
1266
+ readonly target: /*elided*/ any;
1267
+ };
1268
+ querychange: {
1269
+ query: string;
1270
+ readonly type: "querychange";
1271
+ readonly target: /*elided*/ any;
1272
+ };
1273
+ response: {
1274
+ url: string;
1275
+ featureCollection: import("./types").FeatureCollection;
1276
+ readonly type: "response";
1277
+ readonly target: /*elided*/ any;
1278
+ };
1279
+ reversetoggle: {
1280
+ reverse: boolean;
1281
+ readonly type: "reversetoggle";
1282
+ readonly target: /*elided*/ any;
1283
+ };
1284
+ }[T]) => void): /*elided*/ any;
1285
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1286
+ select: {
1287
+ feature: import("./types").Feature | undefined;
1288
+ readonly type: "select";
1289
+ readonly target: /*elided*/ any;
1290
+ };
1291
+ featureslisted: {
1292
+ features: import("./types").Feature[] | undefined;
1293
+ readonly type: "featureslisted";
1294
+ readonly target: /*elided*/ any;
1295
+ };
1296
+ featuresmarked: {
1297
+ features: import("./types").Feature[] | undefined;
1298
+ readonly type: "featuresmarked";
1299
+ readonly target: /*elided*/ any;
1300
+ };
1301
+ optionsvisibilitychange: /*elided*/ any;
1302
+ pick: {
1303
+ feature: import("./types").Feature | undefined;
1304
+ readonly type: "pick";
1305
+ readonly target: /*elided*/ any;
1306
+ };
1307
+ querychange: {
1308
+ query: string;
1309
+ readonly type: "querychange";
1310
+ readonly target: /*elided*/ any;
1311
+ };
1312
+ response: {
1313
+ url: string;
1314
+ featureCollection: import("./types").FeatureCollection;
1315
+ readonly type: "response";
1316
+ readonly target: /*elided*/ any;
1317
+ };
1318
+ reversetoggle: {
1319
+ reverse: boolean;
1320
+ readonly type: "reversetoggle";
1321
+ readonly target: /*elided*/ any;
1322
+ };
1323
+ }[T]) => void): /*elided*/ any;
1324
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
1325
+ setOptions(options: MapLibreBaseControlOptions): void;
1326
+ setQuery(value: string, submit?: boolean): void;
1327
+ clearMap(): void;
1328
+ clearList(): void;
1329
+ setReverseMode(reverseActive: boolean): void;
1330
+ focus(options?: FocusOptions): void;
1331
+ blur(): void;
1332
+ onRemove(): void;
1333
+ _listeners: maptilersdk.Listeners;
1334
+ _oneTimeListeners: maptilersdk.Listeners;
1335
+ _eventedParent: maplibregl.Evented;
1336
+ _eventedParentData: any | (() => any);
1337
+ fire(event: {
1338
+ readonly type: string;
1339
+ } | string, properties?: any): /*elided*/ any;
1340
+ setEventedParent(parent?: maplibregl.Evented | null, data?: any | (() => any)): /*elided*/ any;
1341
+ };
1342
+ };
1343
+ };
1344
+ export declare const PickEvent: {
1345
+ new (target: {
1346
+ "__#1@#gc"?: import("svelte").SvelteComponent;
1347
+ "__#1@#options": MapLibreBaseControlOptions;
1348
+ onAddInt(map: Map): HTMLElement;
1349
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1350
+ select: {
1351
+ feature: import("./types").Feature | undefined;
1352
+ readonly type: "select";
1353
+ readonly target: /*elided*/ any;
1354
+ };
1355
+ featureslisted: {
1356
+ features: import("./types").Feature[] | undefined;
1357
+ readonly type: "featureslisted";
1358
+ readonly target: /*elided*/ any;
1359
+ };
1360
+ featuresmarked: {
1361
+ features: import("./types").Feature[] | undefined;
1362
+ readonly type: "featuresmarked";
1363
+ readonly target: /*elided*/ any;
1364
+ };
1365
+ optionsvisibilitychange: {
1366
+ optionsVisible: boolean;
1367
+ readonly type: "optionsvisibilitychange";
1368
+ readonly target: /*elided*/ any;
1369
+ };
1370
+ pick: {
1371
+ feature: import("./types").Feature | undefined;
1372
+ readonly type: "pick";
1373
+ readonly target: /*elided*/ any;
1374
+ };
1375
+ querychange: {
1376
+ query: string;
1377
+ readonly type: "querychange";
1378
+ readonly target: /*elided*/ any;
1379
+ };
1380
+ response: {
1381
+ url: string;
1382
+ featureCollection: import("./types").FeatureCollection;
1383
+ readonly type: "response";
1384
+ readonly target: /*elided*/ any;
1385
+ };
1386
+ reversetoggle: {
1387
+ reverse: boolean;
1388
+ readonly type: "reversetoggle";
1389
+ readonly target: /*elided*/ any;
1390
+ };
1391
+ }[T]) => void): /*elided*/ any;
1392
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1393
+ select: {
1394
+ feature: import("./types").Feature | undefined;
1395
+ readonly type: "select";
1396
+ readonly target: /*elided*/ any;
1397
+ };
1398
+ featureslisted: {
1399
+ features: import("./types").Feature[] | undefined;
1400
+ readonly type: "featureslisted";
1401
+ readonly target: /*elided*/ any;
1402
+ };
1403
+ featuresmarked: {
1404
+ features: import("./types").Feature[] | undefined;
1405
+ readonly type: "featuresmarked";
1406
+ readonly target: /*elided*/ any;
1407
+ };
1408
+ optionsvisibilitychange: {
1409
+ optionsVisible: boolean;
1410
+ readonly type: "optionsvisibilitychange";
1411
+ readonly target: /*elided*/ any;
1412
+ };
1413
+ pick: {
1414
+ feature: import("./types").Feature | undefined;
1415
+ readonly type: "pick";
1416
+ readonly target: /*elided*/ any;
1417
+ };
1418
+ querychange: {
1419
+ query: string;
1420
+ readonly type: "querychange";
1421
+ readonly target: /*elided*/ any;
1422
+ };
1423
+ response: {
1424
+ url: string;
1425
+ featureCollection: import("./types").FeatureCollection;
1426
+ readonly type: "response";
1427
+ readonly target: /*elided*/ any;
1428
+ };
1429
+ reversetoggle: {
1430
+ reverse: boolean;
1431
+ readonly type: "reversetoggle";
1432
+ readonly target: /*elided*/ any;
1433
+ };
1434
+ }[T]) => void): /*elided*/ any;
1435
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1436
+ select: {
1437
+ feature: import("./types").Feature | undefined;
1438
+ readonly type: "select";
1439
+ readonly target: /*elided*/ any;
1440
+ };
1441
+ featureslisted: {
1442
+ features: import("./types").Feature[] | undefined;
1443
+ readonly type: "featureslisted";
1444
+ readonly target: /*elided*/ any;
1445
+ };
1446
+ featuresmarked: {
1447
+ features: import("./types").Feature[] | undefined;
1448
+ readonly type: "featuresmarked";
1449
+ readonly target: /*elided*/ any;
1450
+ };
1451
+ optionsvisibilitychange: {
1452
+ optionsVisible: boolean;
1453
+ readonly type: "optionsvisibilitychange";
1454
+ readonly target: /*elided*/ any;
1455
+ };
1456
+ pick: {
1457
+ feature: import("./types").Feature | undefined;
1458
+ readonly type: "pick";
1459
+ readonly target: /*elided*/ any;
1460
+ };
1461
+ querychange: {
1462
+ query: string;
1463
+ readonly type: "querychange";
1464
+ readonly target: /*elided*/ any;
1465
+ };
1466
+ response: {
1467
+ url: string;
1468
+ featureCollection: import("./types").FeatureCollection;
1469
+ readonly type: "response";
1470
+ readonly target: /*elided*/ any;
1471
+ };
1472
+ reversetoggle: {
1473
+ reverse: boolean;
1474
+ readonly type: "reversetoggle";
1475
+ readonly target: /*elided*/ any;
1476
+ };
1477
+ }[T]) => void): /*elided*/ any;
1478
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
1479
+ setOptions(options: MapLibreBaseControlOptions): void;
1480
+ setQuery(value: string, submit?: boolean): void;
1481
+ clearMap(): void;
1482
+ clearList(): void;
1483
+ setReverseMode(reverseActive: boolean): void;
1484
+ focus(options?: FocusOptions): void;
1485
+ blur(): void;
1486
+ onRemove(): void;
1487
+ _listeners: maptilersdk.Listeners;
1488
+ _oneTimeListeners: maptilersdk.Listeners;
1489
+ _eventedParent: maplibregl.Evented;
1490
+ _eventedParentData: any | (() => any);
1491
+ fire(event: {
1492
+ readonly type: string;
1493
+ } | string, properties?: any): /*elided*/ any;
1494
+ setEventedParent(parent?: maplibregl.Evented | null, data?: any | (() => any)): /*elided*/ any;
1495
+ }, feature: import("./types").Feature | undefined): {
1496
+ feature: import("./types").Feature | undefined;
1497
+ readonly type: "pick";
1498
+ readonly target: {
1499
+ "__#1@#gc"?: import("svelte").SvelteComponent;
1500
+ "__#1@#options": MapLibreBaseControlOptions;
1501
+ onAddInt(map: Map): HTMLElement;
1502
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1503
+ select: {
1504
+ feature: import("./types").Feature | undefined;
1505
+ readonly type: "select";
1506
+ readonly target: /*elided*/ any;
1507
+ };
1508
+ featureslisted: {
1509
+ features: import("./types").Feature[] | undefined;
1510
+ readonly type: "featureslisted";
1511
+ readonly target: /*elided*/ any;
1512
+ };
1513
+ featuresmarked: {
1514
+ features: import("./types").Feature[] | undefined;
1515
+ readonly type: "featuresmarked";
1516
+ readonly target: /*elided*/ any;
1517
+ };
1518
+ optionsvisibilitychange: {
1519
+ optionsVisible: boolean;
1520
+ readonly type: "optionsvisibilitychange";
1521
+ readonly target: /*elided*/ any;
1522
+ };
1523
+ pick: /*elided*/ any;
1524
+ querychange: {
1525
+ query: string;
1526
+ readonly type: "querychange";
1527
+ readonly target: /*elided*/ any;
1528
+ };
1529
+ response: {
1530
+ url: string;
1531
+ featureCollection: import("./types").FeatureCollection;
1532
+ readonly type: "response";
1533
+ readonly target: /*elided*/ any;
1534
+ };
1535
+ reversetoggle: {
1536
+ reverse: boolean;
1537
+ readonly type: "reversetoggle";
1538
+ readonly target: /*elided*/ any;
1539
+ };
1540
+ }[T]) => void): /*elided*/ any;
1541
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1542
+ select: {
1543
+ feature: import("./types").Feature | undefined;
1544
+ readonly type: "select";
1545
+ readonly target: /*elided*/ any;
1546
+ };
1547
+ featureslisted: {
1548
+ features: import("./types").Feature[] | undefined;
1549
+ readonly type: "featureslisted";
1550
+ readonly target: /*elided*/ any;
1551
+ };
1552
+ featuresmarked: {
1553
+ features: import("./types").Feature[] | undefined;
1554
+ readonly type: "featuresmarked";
1555
+ readonly target: /*elided*/ any;
1556
+ };
1557
+ optionsvisibilitychange: {
1558
+ optionsVisible: boolean;
1559
+ readonly type: "optionsvisibilitychange";
1560
+ readonly target: /*elided*/ any;
1561
+ };
1562
+ pick: /*elided*/ any;
1563
+ querychange: {
1564
+ query: string;
1565
+ readonly type: "querychange";
1566
+ readonly target: /*elided*/ any;
1567
+ };
1568
+ response: {
1569
+ url: string;
1570
+ featureCollection: import("./types").FeatureCollection;
1571
+ readonly type: "response";
1572
+ readonly target: /*elided*/ any;
1573
+ };
1574
+ reversetoggle: {
1575
+ reverse: boolean;
1576
+ readonly type: "reversetoggle";
1577
+ readonly target: /*elided*/ any;
1578
+ };
1579
+ }[T]) => void): /*elided*/ any;
1580
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1581
+ select: {
1582
+ feature: import("./types").Feature | undefined;
1583
+ readonly type: "select";
1584
+ readonly target: /*elided*/ any;
1585
+ };
1586
+ featureslisted: {
1587
+ features: import("./types").Feature[] | undefined;
1588
+ readonly type: "featureslisted";
1589
+ readonly target: /*elided*/ any;
1590
+ };
1591
+ featuresmarked: {
1592
+ features: import("./types").Feature[] | undefined;
1593
+ readonly type: "featuresmarked";
1594
+ readonly target: /*elided*/ any;
1595
+ };
1596
+ optionsvisibilitychange: {
1597
+ optionsVisible: boolean;
1598
+ readonly type: "optionsvisibilitychange";
1599
+ readonly target: /*elided*/ any;
1600
+ };
1601
+ pick: /*elided*/ any;
1602
+ querychange: {
1603
+ query: string;
1604
+ readonly type: "querychange";
1605
+ readonly target: /*elided*/ any;
1606
+ };
1607
+ response: {
1608
+ url: string;
1609
+ featureCollection: import("./types").FeatureCollection;
1610
+ readonly type: "response";
1611
+ readonly target: /*elided*/ any;
1612
+ };
1613
+ reversetoggle: {
1614
+ reverse: boolean;
1615
+ readonly type: "reversetoggle";
1616
+ readonly target: /*elided*/ any;
1617
+ };
1618
+ }[T]) => void): /*elided*/ any;
1619
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
1620
+ setOptions(options: MapLibreBaseControlOptions): void;
1621
+ setQuery(value: string, submit?: boolean): void;
1622
+ clearMap(): void;
1623
+ clearList(): void;
1624
+ setReverseMode(reverseActive: boolean): void;
1625
+ focus(options?: FocusOptions): void;
1626
+ blur(): void;
1627
+ onRemove(): void;
1628
+ _listeners: maptilersdk.Listeners;
1629
+ _oneTimeListeners: maptilersdk.Listeners;
1630
+ _eventedParent: maplibregl.Evented;
1631
+ _eventedParentData: any | (() => any);
1632
+ fire(event: {
1633
+ readonly type: string;
1634
+ } | string, properties?: any): /*elided*/ any;
1635
+ setEventedParent(parent?: maplibregl.Evented | null, data?: any | (() => any)): /*elided*/ any;
1636
+ };
1637
+ };
1638
+ };
1639
+ export declare const QueryChangeEvent: {
1640
+ new (target: {
1641
+ "__#1@#gc"?: import("svelte").SvelteComponent;
1642
+ "__#1@#options": MapLibreBaseControlOptions;
1643
+ onAddInt(map: Map): HTMLElement;
1644
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1645
+ select: {
1646
+ feature: import("./types").Feature | undefined;
1647
+ readonly type: "select";
1648
+ readonly target: /*elided*/ any;
1649
+ };
1650
+ featureslisted: {
1651
+ features: import("./types").Feature[] | undefined;
1652
+ readonly type: "featureslisted";
1653
+ readonly target: /*elided*/ any;
1654
+ };
1655
+ featuresmarked: {
1656
+ features: import("./types").Feature[] | undefined;
1657
+ readonly type: "featuresmarked";
1658
+ readonly target: /*elided*/ any;
1659
+ };
1660
+ optionsvisibilitychange: {
1661
+ optionsVisible: boolean;
1662
+ readonly type: "optionsvisibilitychange";
1663
+ readonly target: /*elided*/ any;
1664
+ };
1665
+ pick: {
1666
+ feature: import("./types").Feature | undefined;
1667
+ readonly type: "pick";
1668
+ readonly target: /*elided*/ any;
1669
+ };
1670
+ querychange: {
1671
+ query: string;
1672
+ readonly type: "querychange";
1673
+ readonly target: /*elided*/ any;
1674
+ };
1675
+ response: {
1676
+ url: string;
1677
+ featureCollection: import("./types").FeatureCollection;
1678
+ readonly type: "response";
1679
+ readonly target: /*elided*/ any;
1680
+ };
1681
+ reversetoggle: {
1682
+ reverse: boolean;
1683
+ readonly type: "reversetoggle";
1684
+ readonly target: /*elided*/ any;
1685
+ };
1686
+ }[T]) => void): /*elided*/ any;
1687
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1688
+ select: {
1689
+ feature: import("./types").Feature | undefined;
1690
+ readonly type: "select";
1691
+ readonly target: /*elided*/ any;
1692
+ };
1693
+ featureslisted: {
1694
+ features: import("./types").Feature[] | undefined;
1695
+ readonly type: "featureslisted";
1696
+ readonly target: /*elided*/ any;
1697
+ };
1698
+ featuresmarked: {
1699
+ features: import("./types").Feature[] | undefined;
1700
+ readonly type: "featuresmarked";
1701
+ readonly target: /*elided*/ any;
1702
+ };
1703
+ optionsvisibilitychange: {
1704
+ optionsVisible: boolean;
1705
+ readonly type: "optionsvisibilitychange";
1706
+ readonly target: /*elided*/ any;
1707
+ };
1708
+ pick: {
1709
+ feature: import("./types").Feature | undefined;
1710
+ readonly type: "pick";
1711
+ readonly target: /*elided*/ any;
1712
+ };
1713
+ querychange: {
1714
+ query: string;
1715
+ readonly type: "querychange";
1716
+ readonly target: /*elided*/ any;
1717
+ };
1718
+ response: {
1719
+ url: string;
1720
+ featureCollection: import("./types").FeatureCollection;
1721
+ readonly type: "response";
1722
+ readonly target: /*elided*/ any;
1723
+ };
1724
+ reversetoggle: {
1725
+ reverse: boolean;
1726
+ readonly type: "reversetoggle";
1727
+ readonly target: /*elided*/ any;
1728
+ };
1729
+ }[T]) => void): /*elided*/ any;
1730
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1731
+ select: {
1732
+ feature: import("./types").Feature | undefined;
1733
+ readonly type: "select";
1734
+ readonly target: /*elided*/ any;
1735
+ };
1736
+ featureslisted: {
1737
+ features: import("./types").Feature[] | undefined;
1738
+ readonly type: "featureslisted";
1739
+ readonly target: /*elided*/ any;
1740
+ };
1741
+ featuresmarked: {
1742
+ features: import("./types").Feature[] | undefined;
1743
+ readonly type: "featuresmarked";
1744
+ readonly target: /*elided*/ any;
1745
+ };
1746
+ optionsvisibilitychange: {
1747
+ optionsVisible: boolean;
1748
+ readonly type: "optionsvisibilitychange";
1749
+ readonly target: /*elided*/ any;
1750
+ };
1751
+ pick: {
1752
+ feature: import("./types").Feature | undefined;
1753
+ readonly type: "pick";
1754
+ readonly target: /*elided*/ any;
1755
+ };
1756
+ querychange: {
1757
+ query: string;
1758
+ readonly type: "querychange";
1759
+ readonly target: /*elided*/ any;
1760
+ };
1761
+ response: {
1762
+ url: string;
1763
+ featureCollection: import("./types").FeatureCollection;
1764
+ readonly type: "response";
1765
+ readonly target: /*elided*/ any;
1766
+ };
1767
+ reversetoggle: {
1768
+ reverse: boolean;
1769
+ readonly type: "reversetoggle";
1770
+ readonly target: /*elided*/ any;
1771
+ };
1772
+ }[T]) => void): /*elided*/ any;
1773
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
1774
+ setOptions(options: MapLibreBaseControlOptions): void;
1775
+ setQuery(value: string, submit?: boolean): void;
1776
+ clearMap(): void;
1777
+ clearList(): void;
1778
+ setReverseMode(reverseActive: boolean): void;
1779
+ focus(options?: FocusOptions): void;
1780
+ blur(): void;
1781
+ onRemove(): void;
1782
+ _listeners: maptilersdk.Listeners;
1783
+ _oneTimeListeners: maptilersdk.Listeners;
1784
+ _eventedParent: maplibregl.Evented;
1785
+ _eventedParentData: any | (() => any);
1786
+ fire(event: {
1787
+ readonly type: string;
1788
+ } | string, properties?: any): /*elided*/ any;
1789
+ setEventedParent(parent?: maplibregl.Evented | null, data?: any | (() => any)): /*elided*/ any;
1790
+ }, query: string): {
1791
+ query: string;
1792
+ readonly type: "querychange";
1793
+ readonly target: {
1794
+ "__#1@#gc"?: import("svelte").SvelteComponent;
1795
+ "__#1@#options": MapLibreBaseControlOptions;
1796
+ onAddInt(map: Map): HTMLElement;
1797
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1798
+ select: {
1799
+ feature: import("./types").Feature | undefined;
1800
+ readonly type: "select";
1801
+ readonly target: /*elided*/ any;
1802
+ };
1803
+ featureslisted: {
1804
+ features: import("./types").Feature[] | undefined;
1805
+ readonly type: "featureslisted";
1806
+ readonly target: /*elided*/ any;
1807
+ };
1808
+ featuresmarked: {
1809
+ features: import("./types").Feature[] | undefined;
1810
+ readonly type: "featuresmarked";
1811
+ readonly target: /*elided*/ any;
1812
+ };
1813
+ optionsvisibilitychange: {
1814
+ optionsVisible: boolean;
1815
+ readonly type: "optionsvisibilitychange";
1816
+ readonly target: /*elided*/ any;
1817
+ };
1818
+ pick: {
1819
+ feature: import("./types").Feature | undefined;
1820
+ readonly type: "pick";
1821
+ readonly target: /*elided*/ any;
1822
+ };
1823
+ querychange: /*elided*/ any;
1824
+ response: {
1825
+ url: string;
1826
+ featureCollection: import("./types").FeatureCollection;
1827
+ readonly type: "response";
1828
+ readonly target: /*elided*/ any;
1829
+ };
1830
+ reversetoggle: {
1831
+ reverse: boolean;
1832
+ readonly type: "reversetoggle";
1833
+ readonly target: /*elided*/ any;
1834
+ };
1835
+ }[T]) => void): /*elided*/ any;
1836
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1837
+ select: {
1838
+ feature: import("./types").Feature | undefined;
1839
+ readonly type: "select";
1840
+ readonly target: /*elided*/ any;
1841
+ };
1842
+ featureslisted: {
1843
+ features: import("./types").Feature[] | undefined;
1844
+ readonly type: "featureslisted";
1845
+ readonly target: /*elided*/ any;
1846
+ };
1847
+ featuresmarked: {
1848
+ features: import("./types").Feature[] | undefined;
1849
+ readonly type: "featuresmarked";
1850
+ readonly target: /*elided*/ any;
1851
+ };
1852
+ optionsvisibilitychange: {
1853
+ optionsVisible: boolean;
1854
+ readonly type: "optionsvisibilitychange";
1855
+ readonly target: /*elided*/ any;
1856
+ };
1857
+ pick: {
1858
+ feature: import("./types").Feature | undefined;
1859
+ readonly type: "pick";
1860
+ readonly target: /*elided*/ any;
1861
+ };
1862
+ querychange: /*elided*/ any;
1863
+ response: {
1864
+ url: string;
1865
+ featureCollection: import("./types").FeatureCollection;
1866
+ readonly type: "response";
1867
+ readonly target: /*elided*/ any;
1868
+ };
1869
+ reversetoggle: {
1870
+ reverse: boolean;
1871
+ readonly type: "reversetoggle";
1872
+ readonly target: /*elided*/ any;
1873
+ };
1874
+ }[T]) => void): /*elided*/ any;
1875
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1876
+ select: {
1877
+ feature: import("./types").Feature | undefined;
1878
+ readonly type: "select";
1879
+ readonly target: /*elided*/ any;
1880
+ };
1881
+ featureslisted: {
1882
+ features: import("./types").Feature[] | undefined;
1883
+ readonly type: "featureslisted";
1884
+ readonly target: /*elided*/ any;
1885
+ };
1886
+ featuresmarked: {
1887
+ features: import("./types").Feature[] | undefined;
1888
+ readonly type: "featuresmarked";
1889
+ readonly target: /*elided*/ any;
1890
+ };
1891
+ optionsvisibilitychange: {
1892
+ optionsVisible: boolean;
1893
+ readonly type: "optionsvisibilitychange";
1894
+ readonly target: /*elided*/ any;
1895
+ };
1896
+ pick: {
1897
+ feature: import("./types").Feature | undefined;
1898
+ readonly type: "pick";
1899
+ readonly target: /*elided*/ any;
1900
+ };
1901
+ querychange: /*elided*/ any;
1902
+ response: {
1903
+ url: string;
1904
+ featureCollection: import("./types").FeatureCollection;
1905
+ readonly type: "response";
1906
+ readonly target: /*elided*/ any;
1907
+ };
1908
+ reversetoggle: {
1909
+ reverse: boolean;
1910
+ readonly type: "reversetoggle";
1911
+ readonly target: /*elided*/ any;
1912
+ };
1913
+ }[T]) => void): /*elided*/ any;
1914
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
1915
+ setOptions(options: MapLibreBaseControlOptions): void;
1916
+ setQuery(value: string, submit?: boolean): void;
1917
+ clearMap(): void;
1918
+ clearList(): void;
1919
+ setReverseMode(reverseActive: boolean): void;
1920
+ focus(options?: FocusOptions): void;
1921
+ blur(): void;
1922
+ onRemove(): void;
1923
+ _listeners: maptilersdk.Listeners;
1924
+ _oneTimeListeners: maptilersdk.Listeners;
1925
+ _eventedParent: maplibregl.Evented;
1926
+ _eventedParentData: any | (() => any);
1927
+ fire(event: {
1928
+ readonly type: string;
1929
+ } | string, properties?: any): /*elided*/ any;
1930
+ setEventedParent(parent?: maplibregl.Evented | null, data?: any | (() => any)): /*elided*/ any;
1931
+ };
1932
+ };
1933
+ };
1934
+ export declare const ResponseEvent: {
1935
+ new (target: {
1936
+ "__#1@#gc"?: import("svelte").SvelteComponent;
1937
+ "__#1@#options": MapLibreBaseControlOptions;
1938
+ onAddInt(map: Map): HTMLElement;
1939
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1940
+ select: {
1941
+ feature: import("./types").Feature | undefined;
1942
+ readonly type: "select";
1943
+ readonly target: /*elided*/ any;
1944
+ };
1945
+ featureslisted: {
1946
+ features: import("./types").Feature[] | undefined;
1947
+ readonly type: "featureslisted";
1948
+ readonly target: /*elided*/ any;
1949
+ };
1950
+ featuresmarked: {
1951
+ features: import("./types").Feature[] | undefined;
1952
+ readonly type: "featuresmarked";
1953
+ readonly target: /*elided*/ any;
1954
+ };
1955
+ optionsvisibilitychange: {
1956
+ optionsVisible: boolean;
1957
+ readonly type: "optionsvisibilitychange";
1958
+ readonly target: /*elided*/ any;
1959
+ };
1960
+ pick: {
1961
+ feature: import("./types").Feature | undefined;
1962
+ readonly type: "pick";
1963
+ readonly target: /*elided*/ any;
1964
+ };
1965
+ querychange: {
1966
+ query: string;
1967
+ readonly type: "querychange";
1968
+ readonly target: /*elided*/ any;
1969
+ };
1970
+ response: {
1971
+ url: string;
1972
+ featureCollection: import("./types").FeatureCollection;
1973
+ readonly type: "response";
1974
+ readonly target: /*elided*/ any;
1975
+ };
1976
+ reversetoggle: {
1977
+ reverse: boolean;
1978
+ readonly type: "reversetoggle";
1979
+ readonly target: /*elided*/ any;
1980
+ };
1981
+ }[T]) => void): /*elided*/ any;
1982
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1983
+ select: {
1984
+ feature: import("./types").Feature | undefined;
1985
+ readonly type: "select";
1986
+ readonly target: /*elided*/ any;
1987
+ };
1988
+ featureslisted: {
1989
+ features: import("./types").Feature[] | undefined;
1990
+ readonly type: "featureslisted";
1991
+ readonly target: /*elided*/ any;
1992
+ };
1993
+ featuresmarked: {
1994
+ features: import("./types").Feature[] | undefined;
1995
+ readonly type: "featuresmarked";
1996
+ readonly target: /*elided*/ any;
1997
+ };
1998
+ optionsvisibilitychange: {
1999
+ optionsVisible: boolean;
2000
+ readonly type: "optionsvisibilitychange";
2001
+ readonly target: /*elided*/ any;
2002
+ };
2003
+ pick: {
2004
+ feature: import("./types").Feature | undefined;
2005
+ readonly type: "pick";
2006
+ readonly target: /*elided*/ any;
2007
+ };
2008
+ querychange: {
2009
+ query: string;
2010
+ readonly type: "querychange";
2011
+ readonly target: /*elided*/ any;
2012
+ };
2013
+ response: {
2014
+ url: string;
2015
+ featureCollection: import("./types").FeatureCollection;
2016
+ readonly type: "response";
2017
+ readonly target: /*elided*/ any;
2018
+ };
2019
+ reversetoggle: {
2020
+ reverse: boolean;
2021
+ readonly type: "reversetoggle";
2022
+ readonly target: /*elided*/ any;
2023
+ };
2024
+ }[T]) => void): /*elided*/ any;
2025
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2026
+ select: {
2027
+ feature: import("./types").Feature | undefined;
2028
+ readonly type: "select";
2029
+ readonly target: /*elided*/ any;
2030
+ };
2031
+ featureslisted: {
2032
+ features: import("./types").Feature[] | undefined;
2033
+ readonly type: "featureslisted";
2034
+ readonly target: /*elided*/ any;
2035
+ };
2036
+ featuresmarked: {
2037
+ features: import("./types").Feature[] | undefined;
2038
+ readonly type: "featuresmarked";
2039
+ readonly target: /*elided*/ any;
2040
+ };
2041
+ optionsvisibilitychange: {
2042
+ optionsVisible: boolean;
2043
+ readonly type: "optionsvisibilitychange";
2044
+ readonly target: /*elided*/ any;
2045
+ };
2046
+ pick: {
2047
+ feature: import("./types").Feature | undefined;
2048
+ readonly type: "pick";
2049
+ readonly target: /*elided*/ any;
2050
+ };
2051
+ querychange: {
2052
+ query: string;
2053
+ readonly type: "querychange";
2054
+ readonly target: /*elided*/ any;
2055
+ };
2056
+ response: {
2057
+ url: string;
2058
+ featureCollection: import("./types").FeatureCollection;
2059
+ readonly type: "response";
2060
+ readonly target: /*elided*/ any;
2061
+ };
2062
+ reversetoggle: {
2063
+ reverse: boolean;
2064
+ readonly type: "reversetoggle";
2065
+ readonly target: /*elided*/ any;
2066
+ };
2067
+ }[T]) => void): /*elided*/ any;
2068
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
2069
+ setOptions(options: MapLibreBaseControlOptions): void;
2070
+ setQuery(value: string, submit?: boolean): void;
2071
+ clearMap(): void;
2072
+ clearList(): void;
2073
+ setReverseMode(reverseActive: boolean): void;
2074
+ focus(options?: FocusOptions): void;
2075
+ blur(): void;
2076
+ onRemove(): void;
2077
+ _listeners: maptilersdk.Listeners;
2078
+ _oneTimeListeners: maptilersdk.Listeners;
2079
+ _eventedParent: maplibregl.Evented;
2080
+ _eventedParentData: any | (() => any);
2081
+ fire(event: {
2082
+ readonly type: string;
2083
+ } | string, properties?: any): /*elided*/ any;
2084
+ setEventedParent(parent?: maplibregl.Evented | null, data?: any | (() => any)): /*elided*/ any;
2085
+ }, url: string, featureCollection: import("./types").FeatureCollection): {
2086
+ url: string;
2087
+ featureCollection: import("./types").FeatureCollection;
2088
+ readonly type: "response";
2089
+ readonly target: {
2090
+ "__#1@#gc"?: import("svelte").SvelteComponent;
2091
+ "__#1@#options": MapLibreBaseControlOptions;
2092
+ onAddInt(map: Map): HTMLElement;
2093
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2094
+ select: {
2095
+ feature: import("./types").Feature | undefined;
2096
+ readonly type: "select";
2097
+ readonly target: /*elided*/ any;
2098
+ };
2099
+ featureslisted: {
2100
+ features: import("./types").Feature[] | undefined;
2101
+ readonly type: "featureslisted";
2102
+ readonly target: /*elided*/ any;
2103
+ };
2104
+ featuresmarked: {
2105
+ features: import("./types").Feature[] | undefined;
2106
+ readonly type: "featuresmarked";
2107
+ readonly target: /*elided*/ any;
2108
+ };
2109
+ optionsvisibilitychange: {
2110
+ optionsVisible: boolean;
2111
+ readonly type: "optionsvisibilitychange";
2112
+ readonly target: /*elided*/ any;
2113
+ };
2114
+ pick: {
2115
+ feature: import("./types").Feature | undefined;
2116
+ readonly type: "pick";
2117
+ readonly target: /*elided*/ any;
2118
+ };
2119
+ querychange: {
2120
+ query: string;
2121
+ readonly type: "querychange";
2122
+ readonly target: /*elided*/ any;
2123
+ };
2124
+ response: /*elided*/ any;
2125
+ reversetoggle: {
2126
+ reverse: boolean;
2127
+ readonly type: "reversetoggle";
2128
+ readonly target: /*elided*/ any;
2129
+ };
2130
+ }[T]) => void): /*elided*/ any;
2131
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2132
+ select: {
2133
+ feature: import("./types").Feature | undefined;
2134
+ readonly type: "select";
2135
+ readonly target: /*elided*/ any;
2136
+ };
2137
+ featureslisted: {
2138
+ features: import("./types").Feature[] | undefined;
2139
+ readonly type: "featureslisted";
2140
+ readonly target: /*elided*/ any;
2141
+ };
2142
+ featuresmarked: {
2143
+ features: import("./types").Feature[] | undefined;
2144
+ readonly type: "featuresmarked";
2145
+ readonly target: /*elided*/ any;
2146
+ };
2147
+ optionsvisibilitychange: {
2148
+ optionsVisible: boolean;
2149
+ readonly type: "optionsvisibilitychange";
2150
+ readonly target: /*elided*/ any;
2151
+ };
2152
+ pick: {
2153
+ feature: import("./types").Feature | undefined;
2154
+ readonly type: "pick";
2155
+ readonly target: /*elided*/ any;
2156
+ };
2157
+ querychange: {
2158
+ query: string;
2159
+ readonly type: "querychange";
2160
+ readonly target: /*elided*/ any;
2161
+ };
2162
+ response: /*elided*/ any;
2163
+ reversetoggle: {
2164
+ reverse: boolean;
2165
+ readonly type: "reversetoggle";
2166
+ readonly target: /*elided*/ any;
2167
+ };
2168
+ }[T]) => void): /*elided*/ any;
2169
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2170
+ select: {
2171
+ feature: import("./types").Feature | undefined;
2172
+ readonly type: "select";
2173
+ readonly target: /*elided*/ any;
2174
+ };
2175
+ featureslisted: {
2176
+ features: import("./types").Feature[] | undefined;
2177
+ readonly type: "featureslisted";
2178
+ readonly target: /*elided*/ any;
2179
+ };
2180
+ featuresmarked: {
2181
+ features: import("./types").Feature[] | undefined;
2182
+ readonly type: "featuresmarked";
2183
+ readonly target: /*elided*/ any;
2184
+ };
2185
+ optionsvisibilitychange: {
2186
+ optionsVisible: boolean;
2187
+ readonly type: "optionsvisibilitychange";
2188
+ readonly target: /*elided*/ any;
2189
+ };
2190
+ pick: {
2191
+ feature: import("./types").Feature | undefined;
2192
+ readonly type: "pick";
2193
+ readonly target: /*elided*/ any;
2194
+ };
2195
+ querychange: {
2196
+ query: string;
2197
+ readonly type: "querychange";
2198
+ readonly target: /*elided*/ any;
2199
+ };
2200
+ response: /*elided*/ any;
2201
+ reversetoggle: {
2202
+ reverse: boolean;
2203
+ readonly type: "reversetoggle";
2204
+ readonly target: /*elided*/ any;
2205
+ };
2206
+ }[T]) => void): /*elided*/ any;
2207
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
2208
+ setOptions(options: MapLibreBaseControlOptions): void;
2209
+ setQuery(value: string, submit?: boolean): void;
2210
+ clearMap(): void;
2211
+ clearList(): void;
2212
+ setReverseMode(reverseActive: boolean): void;
2213
+ focus(options?: FocusOptions): void;
2214
+ blur(): void;
2215
+ onRemove(): void;
2216
+ _listeners: maptilersdk.Listeners;
2217
+ _oneTimeListeners: maptilersdk.Listeners;
2218
+ _eventedParent: maplibregl.Evented;
2219
+ _eventedParentData: any | (() => any);
2220
+ fire(event: {
2221
+ readonly type: string;
2222
+ } | string, properties?: any): /*elided*/ any;
2223
+ setEventedParent(parent?: maplibregl.Evented | null, data?: any | (() => any)): /*elided*/ any;
2224
+ };
2225
+ };
2226
+ };
2227
+ export declare const ReverseToggleEvent: {
2228
+ new (target: {
2229
+ "__#1@#gc"?: import("svelte").SvelteComponent;
2230
+ "__#1@#options": MapLibreBaseControlOptions;
2231
+ onAddInt(map: Map): HTMLElement;
2232
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2233
+ select: {
2234
+ feature: import("./types").Feature | undefined;
2235
+ readonly type: "select";
2236
+ readonly target: /*elided*/ any;
2237
+ };
2238
+ featureslisted: {
2239
+ features: import("./types").Feature[] | undefined;
2240
+ readonly type: "featureslisted";
2241
+ readonly target: /*elided*/ any;
2242
+ };
2243
+ featuresmarked: {
2244
+ features: import("./types").Feature[] | undefined;
2245
+ readonly type: "featuresmarked";
2246
+ readonly target: /*elided*/ any;
2247
+ };
2248
+ optionsvisibilitychange: {
2249
+ optionsVisible: boolean;
2250
+ readonly type: "optionsvisibilitychange";
2251
+ readonly target: /*elided*/ any;
2252
+ };
2253
+ pick: {
2254
+ feature: import("./types").Feature | undefined;
2255
+ readonly type: "pick";
2256
+ readonly target: /*elided*/ any;
2257
+ };
2258
+ querychange: {
2259
+ query: string;
2260
+ readonly type: "querychange";
2261
+ readonly target: /*elided*/ any;
2262
+ };
2263
+ response: {
2264
+ url: string;
2265
+ featureCollection: import("./types").FeatureCollection;
2266
+ readonly type: "response";
2267
+ readonly target: /*elided*/ any;
2268
+ };
2269
+ reversetoggle: {
2270
+ reverse: boolean;
2271
+ readonly type: "reversetoggle";
2272
+ readonly target: /*elided*/ any;
2273
+ };
2274
+ }[T]) => void): /*elided*/ any;
2275
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2276
+ select: {
2277
+ feature: import("./types").Feature | undefined;
2278
+ readonly type: "select";
2279
+ readonly target: /*elided*/ any;
2280
+ };
2281
+ featureslisted: {
2282
+ features: import("./types").Feature[] | undefined;
2283
+ readonly type: "featureslisted";
2284
+ readonly target: /*elided*/ any;
2285
+ };
2286
+ featuresmarked: {
2287
+ features: import("./types").Feature[] | undefined;
2288
+ readonly type: "featuresmarked";
2289
+ readonly target: /*elided*/ any;
2290
+ };
2291
+ optionsvisibilitychange: {
2292
+ optionsVisible: boolean;
2293
+ readonly type: "optionsvisibilitychange";
2294
+ readonly target: /*elided*/ any;
2295
+ };
2296
+ pick: {
2297
+ feature: import("./types").Feature | undefined;
2298
+ readonly type: "pick";
2299
+ readonly target: /*elided*/ any;
2300
+ };
2301
+ querychange: {
2302
+ query: string;
2303
+ readonly type: "querychange";
2304
+ readonly target: /*elided*/ any;
2305
+ };
2306
+ response: {
2307
+ url: string;
2308
+ featureCollection: import("./types").FeatureCollection;
2309
+ readonly type: "response";
2310
+ readonly target: /*elided*/ any;
2311
+ };
2312
+ reversetoggle: {
2313
+ reverse: boolean;
2314
+ readonly type: "reversetoggle";
2315
+ readonly target: /*elided*/ any;
2316
+ };
2317
+ }[T]) => void): /*elided*/ any;
2318
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2319
+ select: {
2320
+ feature: import("./types").Feature | undefined;
2321
+ readonly type: "select";
2322
+ readonly target: /*elided*/ any;
2323
+ };
2324
+ featureslisted: {
2325
+ features: import("./types").Feature[] | undefined;
2326
+ readonly type: "featureslisted";
2327
+ readonly target: /*elided*/ any;
2328
+ };
2329
+ featuresmarked: {
2330
+ features: import("./types").Feature[] | undefined;
2331
+ readonly type: "featuresmarked";
2332
+ readonly target: /*elided*/ any;
2333
+ };
2334
+ optionsvisibilitychange: {
2335
+ optionsVisible: boolean;
2336
+ readonly type: "optionsvisibilitychange";
2337
+ readonly target: /*elided*/ any;
2338
+ };
2339
+ pick: {
2340
+ feature: import("./types").Feature | undefined;
2341
+ readonly type: "pick";
2342
+ readonly target: /*elided*/ any;
2343
+ };
2344
+ querychange: {
2345
+ query: string;
2346
+ readonly type: "querychange";
2347
+ readonly target: /*elided*/ any;
2348
+ };
2349
+ response: {
2350
+ url: string;
2351
+ featureCollection: import("./types").FeatureCollection;
2352
+ readonly type: "response";
2353
+ readonly target: /*elided*/ any;
2354
+ };
2355
+ reversetoggle: {
2356
+ reverse: boolean;
2357
+ readonly type: "reversetoggle";
2358
+ readonly target: /*elided*/ any;
2359
+ };
2360
+ }[T]) => void): /*elided*/ any;
2361
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
2362
+ setOptions(options: MapLibreBaseControlOptions): void;
2363
+ setQuery(value: string, submit?: boolean): void;
2364
+ clearMap(): void;
2365
+ clearList(): void;
2366
+ setReverseMode(reverseActive: boolean): void;
2367
+ focus(options?: FocusOptions): void;
2368
+ blur(): void;
2369
+ onRemove(): void;
2370
+ _listeners: maptilersdk.Listeners;
2371
+ _oneTimeListeners: maptilersdk.Listeners;
2372
+ _eventedParent: maplibregl.Evented;
2373
+ _eventedParentData: any | (() => any);
2374
+ fire(event: {
2375
+ readonly type: string;
2376
+ } | string, properties?: any): /*elided*/ any;
2377
+ setEventedParent(parent?: maplibregl.Evented | null, data?: any | (() => any)): /*elided*/ any;
2378
+ }, reverse: boolean): {
2379
+ reverse: boolean;
2380
+ readonly type: "reversetoggle";
2381
+ readonly target: {
2382
+ "__#1@#gc"?: import("svelte").SvelteComponent;
2383
+ "__#1@#options": MapLibreBaseControlOptions;
2384
+ onAddInt(map: Map): HTMLElement;
2385
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2386
+ select: {
2387
+ feature: import("./types").Feature | undefined;
2388
+ readonly type: "select";
2389
+ readonly target: /*elided*/ any;
2390
+ };
2391
+ featureslisted: {
2392
+ features: import("./types").Feature[] | undefined;
2393
+ readonly type: "featureslisted";
2394
+ readonly target: /*elided*/ any;
2395
+ };
2396
+ featuresmarked: {
2397
+ features: import("./types").Feature[] | undefined;
2398
+ readonly type: "featuresmarked";
2399
+ readonly target: /*elided*/ any;
2400
+ };
2401
+ optionsvisibilitychange: {
2402
+ optionsVisible: boolean;
2403
+ readonly type: "optionsvisibilitychange";
2404
+ readonly target: /*elided*/ any;
2405
+ };
2406
+ pick: {
2407
+ feature: import("./types").Feature | undefined;
2408
+ readonly type: "pick";
2409
+ readonly target: /*elided*/ any;
2410
+ };
2411
+ querychange: {
2412
+ query: string;
2413
+ readonly type: "querychange";
2414
+ readonly target: /*elided*/ any;
2415
+ };
2416
+ response: {
2417
+ url: string;
2418
+ featureCollection: import("./types").FeatureCollection;
2419
+ readonly type: "response";
2420
+ readonly target: /*elided*/ any;
2421
+ };
2422
+ reversetoggle: /*elided*/ any;
2423
+ }[T]) => void): /*elided*/ any;
2424
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2425
+ select: {
2426
+ feature: import("./types").Feature | undefined;
2427
+ readonly type: "select";
2428
+ readonly target: /*elided*/ any;
2429
+ };
2430
+ featureslisted: {
2431
+ features: import("./types").Feature[] | undefined;
2432
+ readonly type: "featureslisted";
2433
+ readonly target: /*elided*/ any;
2434
+ };
2435
+ featuresmarked: {
2436
+ features: import("./types").Feature[] | undefined;
2437
+ readonly type: "featuresmarked";
2438
+ readonly target: /*elided*/ any;
2439
+ };
2440
+ optionsvisibilitychange: {
2441
+ optionsVisible: boolean;
2442
+ readonly type: "optionsvisibilitychange";
2443
+ readonly target: /*elided*/ any;
2444
+ };
2445
+ pick: {
2446
+ feature: import("./types").Feature | undefined;
2447
+ readonly type: "pick";
2448
+ readonly target: /*elided*/ any;
2449
+ };
2450
+ querychange: {
2451
+ query: string;
2452
+ readonly type: "querychange";
2453
+ readonly target: /*elided*/ any;
2454
+ };
2455
+ response: {
2456
+ url: string;
2457
+ featureCollection: import("./types").FeatureCollection;
2458
+ readonly type: "response";
2459
+ readonly target: /*elided*/ any;
2460
+ };
2461
+ reversetoggle: /*elided*/ any;
2462
+ }[T]) => void): /*elided*/ any;
2463
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2464
+ select: {
2465
+ feature: import("./types").Feature | undefined;
2466
+ readonly type: "select";
2467
+ readonly target: /*elided*/ any;
2468
+ };
2469
+ featureslisted: {
2470
+ features: import("./types").Feature[] | undefined;
2471
+ readonly type: "featureslisted";
2472
+ readonly target: /*elided*/ any;
2473
+ };
2474
+ featuresmarked: {
2475
+ features: import("./types").Feature[] | undefined;
2476
+ readonly type: "featuresmarked";
2477
+ readonly target: /*elided*/ any;
2478
+ };
2479
+ optionsvisibilitychange: {
2480
+ optionsVisible: boolean;
2481
+ readonly type: "optionsvisibilitychange";
2482
+ readonly target: /*elided*/ any;
2483
+ };
2484
+ pick: {
2485
+ feature: import("./types").Feature | undefined;
2486
+ readonly type: "pick";
2487
+ readonly target: /*elided*/ any;
2488
+ };
2489
+ querychange: {
2490
+ query: string;
2491
+ readonly type: "querychange";
2492
+ readonly target: /*elided*/ any;
2493
+ };
2494
+ response: {
2495
+ url: string;
2496
+ featureCollection: import("./types").FeatureCollection;
2497
+ readonly type: "response";
2498
+ readonly target: /*elided*/ any;
2499
+ };
2500
+ reversetoggle: /*elided*/ any;
2501
+ }[T]) => void): /*elided*/ any;
2502
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
2503
+ setOptions(options: MapLibreBaseControlOptions): void;
2504
+ setQuery(value: string, submit?: boolean): void;
2505
+ clearMap(): void;
2506
+ clearList(): void;
2507
+ setReverseMode(reverseActive: boolean): void;
2508
+ focus(options?: FocusOptions): void;
2509
+ blur(): void;
2510
+ onRemove(): void;
2511
+ _listeners: maptilersdk.Listeners;
2512
+ _oneTimeListeners: maptilersdk.Listeners;
2513
+ _eventedParent: maplibregl.Evented;
2514
+ _eventedParentData: any | (() => any);
2515
+ fire(event: {
2516
+ readonly type: string;
2517
+ } | string, properties?: any): /*elided*/ any;
2518
+ setEventedParent(parent?: maplibregl.Evented | null, data?: any | (() => any)): /*elided*/ any;
2519
+ };
2520
+ };
2521
+ };