@maptiler/geocoding-control 2.0.1 → 2.1.0-with-autocomplete-timeout

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 (110) hide show
  1. package/MapLibreBasedGeocodingControl.d.ts +1037 -626
  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.js +32 -31
  42. package/leaflet-controller.js.map +1 -1
  43. package/leaflet-controller.umd.js +1 -1
  44. package/leaflet-controller.umd.js.map +1 -1
  45. package/leaflet.d.ts +32 -1
  46. package/leaflet.js +1611 -1416
  47. package/leaflet.js.map +1 -1
  48. package/leaflet.umd.js +3 -3
  49. package/leaflet.umd.js.map +1 -1
  50. package/maplibregl-controller.js +5 -5
  51. package/maplibregl-controller.js.map +1 -1
  52. package/maplibregl-controller.umd.js +1 -1
  53. package/maplibregl-controller.umd.js.map +1 -1
  54. package/maplibregl.d.ts +527 -626
  55. package/maplibregl.js +1968 -1778
  56. package/maplibregl.js.map +1 -1
  57. package/maplibregl.umd.js +3 -3
  58. package/maplibregl.umd.js.map +1 -1
  59. package/maptilersdk.d.ts +527 -626
  60. package/maptilersdk.js +1966 -1776
  61. package/maptilersdk.js.map +1 -1
  62. package/maptilersdk.umd.js +3 -3
  63. package/maptilersdk.umd.js.map +1 -1
  64. package/openlayers-controller.js +5 -4
  65. package/openlayers-controller.js.map +1 -1
  66. package/openlayers-controller.umd.js +1 -1
  67. package/openlayers-controller.umd.js.map +1 -1
  68. package/openlayers.d.ts +32 -1
  69. package/openlayers.js +2082 -1887
  70. package/openlayers.js.map +1 -1
  71. package/openlayers.umd.js +3 -3
  72. package/openlayers.umd.js.map +1 -1
  73. package/package.json +23 -23
  74. package/react.d.ts +27 -1
  75. package/react.js +1320 -1145
  76. package/react.js.map +1 -1
  77. package/react.umd.js +1 -1
  78. package/react.umd.js.map +1 -1
  79. package/style.css +1 -1
  80. package/svelte/FeatureItem.svelte +59 -12
  81. package/svelte/FeatureItem.svelte.d.ts +2 -2
  82. package/svelte/GeocodingControl.svelte +182 -85
  83. package/svelte/GeocodingControl.svelte.d.ts +11 -3
  84. package/svelte/MapLibreBasedGeocodingControl.d.ts +1037 -626
  85. package/svelte/MapLibreBasedGeocodingControl.js +36 -6
  86. package/svelte/leaflet-controller.js +3 -3
  87. package/svelte/leaflet.d.ts +32 -1
  88. package/svelte/leaflet.js +35 -2
  89. package/svelte/maplibregl-controller.js +3 -3
  90. package/svelte/maplibregl.d.ts +527 -626
  91. package/svelte/maptilersdk.d.ts +527 -626
  92. package/svelte/openlayers-controller.js +4 -4
  93. package/svelte/openlayers.d.ts +32 -1
  94. package/svelte/openlayers.js +36 -3
  95. package/svelte/react.d.ts +27 -1
  96. package/svelte/react.js +16 -4
  97. package/svelte/types.d.ts +24 -1
  98. package/svelte/vanilla.d.ts +32 -1
  99. package/svelte/vanilla.js +35 -2
  100. package/types.d.ts +24 -1
  101. package/vanilla.d.ts +32 -1
  102. package/vanilla.js +1184 -990
  103. package/vanilla.js.map +1 -1
  104. package/vanilla.umd.js +1 -1
  105. package/vanilla.umd.js.map +1 -1
  106. package/icons/aerodrome.12.svg +0 -1
  107. package/icons/bus_stop.12.svg +0 -1
  108. package/icons/elevator.12.svg +0 -1
  109. /package/icons/{helipad.16.svg → helipad.svg} +0 -0
  110. /package/icons/{traffic_light.13.svg → traffic_light.svg} +0 -0
@@ -70,138 +70,168 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
70
70
  select: {
71
71
  feature: Feature | undefined;
72
72
  readonly type: "select";
73
- readonly target: any;
73
+ readonly target: /*elided*/ any;
74
74
  };
75
75
  featureslisted: {
76
76
  features: Feature[] | undefined;
77
77
  readonly type: "featureslisted";
78
- readonly target: any;
78
+ readonly target: /*elided*/ any;
79
79
  };
80
80
  featuresmarked: {
81
81
  features: Feature[] | undefined;
82
82
  readonly type: "featuresmarked";
83
- readonly target: any;
83
+ readonly target: /*elided*/ any;
84
84
  };
85
85
  optionsvisibilitychange: {
86
86
  optionsVisible: boolean;
87
87
  readonly type: "optionsvisibilitychange";
88
- readonly target: any;
88
+ readonly target: /*elided*/ any;
89
89
  };
90
90
  pick: {
91
91
  feature: Feature | undefined;
92
92
  readonly type: "pick";
93
- readonly target: any;
93
+ readonly target: /*elided*/ any;
94
94
  };
95
95
  querychange: {
96
96
  query: string;
97
97
  readonly type: "querychange";
98
- readonly target: any;
98
+ readonly target: /*elided*/ any;
99
99
  };
100
100
  response: {
101
101
  url: string;
102
102
  featureCollection: FeatureCollection;
103
103
  readonly type: "response";
104
- readonly target: any;
104
+ readonly target: /*elided*/ any;
105
105
  };
106
106
  reversetoggle: {
107
107
  reverse: boolean;
108
108
  readonly type: "reversetoggle";
109
- readonly target: any;
109
+ readonly target: /*elided*/ any;
110
110
  };
111
- }[T]) => void): any;
111
+ }[T]) => void): /*elided*/ any;
112
112
  once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
113
113
  select: {
114
114
  feature: Feature | undefined;
115
115
  readonly type: "select";
116
- readonly target: any;
116
+ readonly target: /*elided*/ any;
117
117
  };
118
118
  featureslisted: {
119
119
  features: Feature[] | undefined;
120
120
  readonly type: "featureslisted";
121
- readonly target: any;
121
+ readonly target: /*elided*/ any;
122
122
  };
123
123
  featuresmarked: {
124
124
  features: Feature[] | undefined;
125
125
  readonly type: "featuresmarked";
126
- readonly target: any;
126
+ readonly target: /*elided*/ any;
127
127
  };
128
128
  optionsvisibilitychange: {
129
129
  optionsVisible: boolean;
130
130
  readonly type: "optionsvisibilitychange";
131
- readonly target: any;
131
+ readonly target: /*elided*/ any;
132
132
  };
133
133
  pick: {
134
134
  feature: Feature | undefined;
135
135
  readonly type: "pick";
136
- readonly target: any;
136
+ readonly target: /*elided*/ any;
137
137
  };
138
138
  querychange: {
139
139
  query: string;
140
140
  readonly type: "querychange";
141
- readonly target: any;
141
+ readonly target: /*elided*/ any;
142
142
  };
143
143
  response: {
144
144
  url: string;
145
145
  featureCollection: FeatureCollection;
146
146
  readonly type: "response";
147
- readonly target: any;
147
+ readonly target: /*elided*/ any;
148
148
  };
149
149
  reversetoggle: {
150
150
  reverse: boolean;
151
151
  readonly type: "reversetoggle";
152
- readonly target: any;
152
+ readonly target: /*elided*/ any;
153
153
  };
154
- }[T]) => void): any;
154
+ }[T]) => void): /*elided*/ any;
155
155
  off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
156
156
  select: {
157
157
  feature: Feature | undefined;
158
158
  readonly type: "select";
159
- readonly target: any;
159
+ readonly target: /*elided*/ any;
160
160
  };
161
161
  featureslisted: {
162
162
  features: Feature[] | undefined;
163
163
  readonly type: "featureslisted";
164
- readonly target: any;
164
+ readonly target: /*elided*/ any;
165
165
  };
166
166
  featuresmarked: {
167
167
  features: Feature[] | undefined;
168
168
  readonly type: "featuresmarked";
169
- readonly target: any;
169
+ readonly target: /*elided*/ any;
170
170
  };
171
171
  optionsvisibilitychange: {
172
172
  optionsVisible: boolean;
173
173
  readonly type: "optionsvisibilitychange";
174
- readonly target: any;
174
+ readonly target: /*elided*/ any;
175
175
  };
176
176
  pick: {
177
177
  feature: Feature | undefined;
178
178
  readonly type: "pick";
179
- readonly target: any;
179
+ readonly target: /*elided*/ any;
180
180
  };
181
181
  querychange: {
182
182
  query: string;
183
183
  readonly type: "querychange";
184
- readonly target: any;
184
+ readonly target: /*elided*/ any;
185
185
  };
186
186
  response: {
187
187
  url: string;
188
188
  featureCollection: FeatureCollection;
189
189
  readonly type: "response";
190
- readonly target: any;
190
+ readonly target: /*elided*/ any;
191
191
  };
192
192
  reversetoggle: {
193
193
  reverse: boolean;
194
194
  readonly type: "reversetoggle";
195
- readonly target: any;
195
+ readonly target: /*elided*/ any;
196
196
  };
197
- }[T]) => void): any;
197
+ }[T]) => void): /*elided*/ any;
198
198
  listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
199
+ /**
200
+ * Update the control options.
201
+ *
202
+ * @param options options to update
203
+ */
199
204
  setOptions(options: OPTS): void;
205
+ /**
206
+ * Set the content of search input box.
207
+ *
208
+ * @param value text to set
209
+ * @param submit perform the search
210
+ */
200
211
  setQuery(value: string, submit?: boolean): void;
212
+ /**
213
+ * Clear geocoding search results from the map.
214
+ */
201
215
  clearMap(): void;
216
+ /**
217
+ * Clear search result list.
218
+ */
202
219
  clearList(): void;
203
- setReverseMode(value: boolean): void;
204
- focus(): void;
220
+ /**
221
+ * Set reverse geocoding mode.
222
+ *
223
+ * @param reverseActive reverse geocoding active
224
+ */
225
+ setReverseMode(reverseActive: boolean): void;
226
+ /**
227
+ * Focus the search input box.
228
+ *
229
+ * @param options [FocusOptions](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
230
+ */
231
+ focus(options?: FocusOptions): void;
232
+ /**
233
+ * Blur the search input box.
234
+ */
205
235
  blur(): void;
206
236
  onRemove(): void;
207
237
  _listeners: import("maplibre-gl").Listeners;
@@ -210,8 +240,8 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
210
240
  _eventedParentData: any | (() => any);
211
241
  fire(event: {
212
242
  readonly type: string;
213
- } | string, properties?: any): any;
214
- setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
243
+ } | string, properties?: any): /*elided*/ any;
244
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): /*elided*/ any;
215
245
  };
216
246
  };
217
247
  events: {
@@ -224,138 +254,168 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
224
254
  select: {
225
255
  feature: Feature | undefined;
226
256
  readonly type: "select";
227
- readonly target: any;
257
+ readonly target: /*elided*/ any;
228
258
  };
229
259
  featureslisted: {
230
260
  features: Feature[] | undefined;
231
261
  readonly type: "featureslisted";
232
- readonly target: any;
262
+ readonly target: /*elided*/ any;
233
263
  };
234
264
  featuresmarked: {
235
265
  features: Feature[] | undefined;
236
266
  readonly type: "featuresmarked";
237
- readonly target: any;
267
+ readonly target: /*elided*/ any;
238
268
  };
239
269
  optionsvisibilitychange: {
240
270
  optionsVisible: boolean;
241
271
  readonly type: "optionsvisibilitychange";
242
- readonly target: any;
272
+ readonly target: /*elided*/ any;
243
273
  };
244
274
  pick: {
245
275
  feature: Feature | undefined;
246
276
  readonly type: "pick";
247
- readonly target: any;
277
+ readonly target: /*elided*/ any;
248
278
  };
249
279
  querychange: {
250
280
  query: string;
251
281
  readonly type: "querychange";
252
- readonly target: any;
282
+ readonly target: /*elided*/ any;
253
283
  };
254
284
  response: {
255
285
  url: string;
256
286
  featureCollection: FeatureCollection;
257
287
  readonly type: "response";
258
- readonly target: any;
288
+ readonly target: /*elided*/ any;
259
289
  };
260
290
  reversetoggle: {
261
291
  reverse: boolean;
262
292
  readonly type: "reversetoggle";
263
- readonly target: any;
293
+ readonly target: /*elided*/ any;
264
294
  };
265
- }[T]) => void): any;
295
+ }[T]) => void): /*elided*/ any;
266
296
  once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
267
297
  select: {
268
298
  feature: Feature | undefined;
269
299
  readonly type: "select";
270
- readonly target: any;
300
+ readonly target: /*elided*/ any;
271
301
  };
272
302
  featureslisted: {
273
303
  features: Feature[] | undefined;
274
304
  readonly type: "featureslisted";
275
- readonly target: any;
305
+ readonly target: /*elided*/ any;
276
306
  };
277
307
  featuresmarked: {
278
308
  features: Feature[] | undefined;
279
309
  readonly type: "featuresmarked";
280
- readonly target: any;
310
+ readonly target: /*elided*/ any;
281
311
  };
282
312
  optionsvisibilitychange: {
283
313
  optionsVisible: boolean;
284
314
  readonly type: "optionsvisibilitychange";
285
- readonly target: any;
315
+ readonly target: /*elided*/ any;
286
316
  };
287
317
  pick: {
288
318
  feature: Feature | undefined;
289
319
  readonly type: "pick";
290
- readonly target: any;
320
+ readonly target: /*elided*/ any;
291
321
  };
292
322
  querychange: {
293
323
  query: string;
294
324
  readonly type: "querychange";
295
- readonly target: any;
325
+ readonly target: /*elided*/ any;
296
326
  };
297
327
  response: {
298
328
  url: string;
299
329
  featureCollection: FeatureCollection;
300
330
  readonly type: "response";
301
- readonly target: any;
331
+ readonly target: /*elided*/ any;
302
332
  };
303
333
  reversetoggle: {
304
334
  reverse: boolean;
305
335
  readonly type: "reversetoggle";
306
- readonly target: any;
336
+ readonly target: /*elided*/ any;
307
337
  };
308
- }[T]) => void): any;
338
+ }[T]) => void): /*elided*/ any;
309
339
  off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
310
340
  select: {
311
341
  feature: Feature | undefined;
312
342
  readonly type: "select";
313
- readonly target: any;
343
+ readonly target: /*elided*/ any;
314
344
  };
315
345
  featureslisted: {
316
346
  features: Feature[] | undefined;
317
347
  readonly type: "featureslisted";
318
- readonly target: any;
348
+ readonly target: /*elided*/ any;
319
349
  };
320
350
  featuresmarked: {
321
351
  features: Feature[] | undefined;
322
352
  readonly type: "featuresmarked";
323
- readonly target: any;
353
+ readonly target: /*elided*/ any;
324
354
  };
325
355
  optionsvisibilitychange: {
326
356
  optionsVisible: boolean;
327
357
  readonly type: "optionsvisibilitychange";
328
- readonly target: any;
358
+ readonly target: /*elided*/ any;
329
359
  };
330
360
  pick: {
331
361
  feature: Feature | undefined;
332
362
  readonly type: "pick";
333
- readonly target: any;
363
+ readonly target: /*elided*/ any;
334
364
  };
335
365
  querychange: {
336
366
  query: string;
337
367
  readonly type: "querychange";
338
- readonly target: any;
368
+ readonly target: /*elided*/ any;
339
369
  };
340
370
  response: {
341
371
  url: string;
342
372
  featureCollection: FeatureCollection;
343
373
  readonly type: "response";
344
- readonly target: any;
374
+ readonly target: /*elided*/ any;
345
375
  };
346
376
  reversetoggle: {
347
377
  reverse: boolean;
348
378
  readonly type: "reversetoggle";
349
- readonly target: any;
379
+ readonly target: /*elided*/ any;
350
380
  };
351
- }[T]) => void): any;
381
+ }[T]) => void): /*elided*/ any;
352
382
  listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
383
+ /**
384
+ * Update the control options.
385
+ *
386
+ * @param options options to update
387
+ */
353
388
  setOptions(options: OPTS): void;
389
+ /**
390
+ * Set the content of search input box.
391
+ *
392
+ * @param value text to set
393
+ * @param submit perform the search
394
+ */
354
395
  setQuery(value: string, submit?: boolean): void;
396
+ /**
397
+ * Clear geocoding search results from the map.
398
+ */
355
399
  clearMap(): void;
400
+ /**
401
+ * Clear search result list.
402
+ */
356
403
  clearList(): void;
357
- setReverseMode(value: boolean): void;
358
- focus(): void;
404
+ /**
405
+ * Set reverse geocoding mode.
406
+ *
407
+ * @param reverseActive reverse geocoding active
408
+ */
409
+ setReverseMode(reverseActive: boolean): void;
410
+ /**
411
+ * Focus the search input box.
412
+ *
413
+ * @param options [FocusOptions](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
414
+ */
415
+ focus(options?: FocusOptions): void;
416
+ /**
417
+ * Blur the search input box.
418
+ */
359
419
  blur(): void;
360
420
  onRemove(): void;
361
421
  _listeners: import("maplibre-gl").Listeners;
@@ -364,8 +424,8 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
364
424
  _eventedParentData: any | (() => any);
365
425
  fire(event: {
366
426
  readonly type: string;
367
- } | string, properties?: any): any;
368
- setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
427
+ } | string, properties?: any): /*elided*/ any;
428
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): /*elided*/ any;
369
429
  }, details: {
370
430
  feature: Feature | undefined;
371
431
  }): {
@@ -376,141 +436,159 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
376
436
  "__#1@#options": OPTS;
377
437
  onAddInt(map: Map): HTMLElement;
378
438
  on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
379
- select: {
380
- feature: Feature | undefined;
381
- readonly type: "select";
382
- readonly target: any;
383
- };
439
+ select: /*elided*/ any;
384
440
  featureslisted: {
385
441
  features: Feature[] | undefined;
386
442
  readonly type: "featureslisted";
387
- readonly target: any;
443
+ readonly target: /*elided*/ any;
388
444
  };
389
445
  featuresmarked: {
390
446
  features: Feature[] | undefined;
391
447
  readonly type: "featuresmarked";
392
- readonly target: any;
448
+ readonly target: /*elided*/ any;
393
449
  };
394
450
  optionsvisibilitychange: {
395
451
  optionsVisible: boolean;
396
452
  readonly type: "optionsvisibilitychange";
397
- readonly target: any;
453
+ readonly target: /*elided*/ any;
398
454
  };
399
455
  pick: {
400
456
  feature: Feature | undefined;
401
457
  readonly type: "pick";
402
- readonly target: any;
458
+ readonly target: /*elided*/ any;
403
459
  };
404
460
  querychange: {
405
461
  query: string;
406
462
  readonly type: "querychange";
407
- readonly target: any;
463
+ readonly target: /*elided*/ any;
408
464
  };
409
465
  response: {
410
466
  url: string;
411
467
  featureCollection: FeatureCollection;
412
468
  readonly type: "response";
413
- readonly target: any;
469
+ readonly target: /*elided*/ any;
414
470
  };
415
471
  reversetoggle: {
416
472
  reverse: boolean;
417
473
  readonly type: "reversetoggle";
418
- readonly target: any;
474
+ readonly target: /*elided*/ any;
419
475
  };
420
- }[T]) => void): any;
476
+ }[T]) => void): /*elided*/ any;
421
477
  once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
422
- select: {
423
- feature: Feature | undefined;
424
- readonly type: "select";
425
- readonly target: any;
426
- };
478
+ select: /*elided*/ any;
427
479
  featureslisted: {
428
480
  features: Feature[] | undefined;
429
481
  readonly type: "featureslisted";
430
- readonly target: any;
482
+ readonly target: /*elided*/ any;
431
483
  };
432
484
  featuresmarked: {
433
485
  features: Feature[] | undefined;
434
486
  readonly type: "featuresmarked";
435
- readonly target: any;
487
+ readonly target: /*elided*/ any;
436
488
  };
437
489
  optionsvisibilitychange: {
438
490
  optionsVisible: boolean;
439
491
  readonly type: "optionsvisibilitychange";
440
- readonly target: any;
492
+ readonly target: /*elided*/ any;
441
493
  };
442
494
  pick: {
443
495
  feature: Feature | undefined;
444
496
  readonly type: "pick";
445
- readonly target: any;
497
+ readonly target: /*elided*/ any;
446
498
  };
447
499
  querychange: {
448
500
  query: string;
449
501
  readonly type: "querychange";
450
- readonly target: any;
502
+ readonly target: /*elided*/ any;
451
503
  };
452
504
  response: {
453
505
  url: string;
454
506
  featureCollection: FeatureCollection;
455
507
  readonly type: "response";
456
- readonly target: any;
508
+ readonly target: /*elided*/ any;
457
509
  };
458
510
  reversetoggle: {
459
511
  reverse: boolean;
460
512
  readonly type: "reversetoggle";
461
- readonly target: any;
513
+ readonly target: /*elided*/ any;
462
514
  };
463
- }[T]) => void): any;
515
+ }[T]) => void): /*elided*/ any;
464
516
  off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
465
- select: {
466
- feature: Feature | undefined;
467
- readonly type: "select";
468
- readonly target: any;
469
- };
517
+ select: /*elided*/ any;
470
518
  featureslisted: {
471
519
  features: Feature[] | undefined;
472
520
  readonly type: "featureslisted";
473
- readonly target: any;
521
+ readonly target: /*elided*/ any;
474
522
  };
475
523
  featuresmarked: {
476
524
  features: Feature[] | undefined;
477
525
  readonly type: "featuresmarked";
478
- readonly target: any;
526
+ readonly target: /*elided*/ any;
479
527
  };
480
528
  optionsvisibilitychange: {
481
529
  optionsVisible: boolean;
482
530
  readonly type: "optionsvisibilitychange";
483
- readonly target: any;
531
+ readonly target: /*elided*/ any;
484
532
  };
485
533
  pick: {
486
534
  feature: Feature | undefined;
487
535
  readonly type: "pick";
488
- readonly target: any;
536
+ readonly target: /*elided*/ any;
489
537
  };
490
538
  querychange: {
491
539
  query: string;
492
540
  readonly type: "querychange";
493
- readonly target: any;
541
+ readonly target: /*elided*/ any;
494
542
  };
495
543
  response: {
496
544
  url: string;
497
545
  featureCollection: FeatureCollection;
498
546
  readonly type: "response";
499
- readonly target: any;
547
+ readonly target: /*elided*/ any;
500
548
  };
501
549
  reversetoggle: {
502
550
  reverse: boolean;
503
551
  readonly type: "reversetoggle";
504
- readonly target: any;
552
+ readonly target: /*elided*/ any;
505
553
  };
506
- }[T]) => void): any;
554
+ }[T]) => void): /*elided*/ any;
507
555
  listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
556
+ /**
557
+ * Update the control options.
558
+ *
559
+ * @param options options to update
560
+ */
508
561
  setOptions(options: OPTS): void;
562
+ /**
563
+ * Set the content of search input box.
564
+ *
565
+ * @param value text to set
566
+ * @param submit perform the search
567
+ */
509
568
  setQuery(value: string, submit?: boolean): void;
569
+ /**
570
+ * Clear geocoding search results from the map.
571
+ */
510
572
  clearMap(): void;
573
+ /**
574
+ * Clear search result list.
575
+ */
511
576
  clearList(): void;
512
- setReverseMode(value: boolean): void;
513
- focus(): void;
577
+ /**
578
+ * Set reverse geocoding mode.
579
+ *
580
+ * @param reverseActive reverse geocoding active
581
+ */
582
+ setReverseMode(reverseActive: boolean): void;
583
+ /**
584
+ * Focus the search input box.
585
+ *
586
+ * @param options [FocusOptions](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
587
+ */
588
+ focus(options?: FocusOptions): void;
589
+ /**
590
+ * Blur the search input box.
591
+ */
514
592
  blur(): void;
515
593
  onRemove(): void;
516
594
  _listeners: import("maplibre-gl").Listeners;
@@ -519,8 +597,8 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
519
597
  _eventedParentData: any | (() => any);
520
598
  fire(event: {
521
599
  readonly type: string;
522
- } | string, properties?: any): any;
523
- setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
600
+ } | string, properties?: any): /*elided*/ any;
601
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): /*elided*/ any;
524
602
  };
525
603
  };
526
604
  };
@@ -533,138 +611,168 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
533
611
  select: {
534
612
  feature: Feature | undefined;
535
613
  readonly type: "select";
536
- readonly target: any;
614
+ readonly target: /*elided*/ any;
537
615
  };
538
616
  featureslisted: {
539
617
  features: Feature[] | undefined;
540
618
  readonly type: "featureslisted";
541
- readonly target: any;
619
+ readonly target: /*elided*/ any;
542
620
  };
543
621
  featuresmarked: {
544
622
  features: Feature[] | undefined;
545
623
  readonly type: "featuresmarked";
546
- readonly target: any;
624
+ readonly target: /*elided*/ any;
547
625
  };
548
626
  optionsvisibilitychange: {
549
627
  optionsVisible: boolean;
550
628
  readonly type: "optionsvisibilitychange";
551
- readonly target: any;
629
+ readonly target: /*elided*/ any;
552
630
  };
553
631
  pick: {
554
632
  feature: Feature | undefined;
555
633
  readonly type: "pick";
556
- readonly target: any;
634
+ readonly target: /*elided*/ any;
557
635
  };
558
636
  querychange: {
559
637
  query: string;
560
638
  readonly type: "querychange";
561
- readonly target: any;
639
+ readonly target: /*elided*/ any;
562
640
  };
563
641
  response: {
564
642
  url: string;
565
643
  featureCollection: FeatureCollection;
566
644
  readonly type: "response";
567
- readonly target: any;
645
+ readonly target: /*elided*/ any;
568
646
  };
569
647
  reversetoggle: {
570
648
  reverse: boolean;
571
649
  readonly type: "reversetoggle";
572
- readonly target: any;
650
+ readonly target: /*elided*/ any;
573
651
  };
574
- }[T]) => void): any;
652
+ }[T]) => void): /*elided*/ any;
575
653
  once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
576
654
  select: {
577
655
  feature: Feature | undefined;
578
656
  readonly type: "select";
579
- readonly target: any;
657
+ readonly target: /*elided*/ any;
580
658
  };
581
659
  featureslisted: {
582
660
  features: Feature[] | undefined;
583
661
  readonly type: "featureslisted";
584
- readonly target: any;
662
+ readonly target: /*elided*/ any;
585
663
  };
586
664
  featuresmarked: {
587
665
  features: Feature[] | undefined;
588
666
  readonly type: "featuresmarked";
589
- readonly target: any;
667
+ readonly target: /*elided*/ any;
590
668
  };
591
669
  optionsvisibilitychange: {
592
670
  optionsVisible: boolean;
593
671
  readonly type: "optionsvisibilitychange";
594
- readonly target: any;
672
+ readonly target: /*elided*/ any;
595
673
  };
596
674
  pick: {
597
675
  feature: Feature | undefined;
598
676
  readonly type: "pick";
599
- readonly target: any;
677
+ readonly target: /*elided*/ any;
600
678
  };
601
679
  querychange: {
602
680
  query: string;
603
681
  readonly type: "querychange";
604
- readonly target: any;
682
+ readonly target: /*elided*/ any;
605
683
  };
606
684
  response: {
607
685
  url: string;
608
686
  featureCollection: FeatureCollection;
609
687
  readonly type: "response";
610
- readonly target: any;
688
+ readonly target: /*elided*/ any;
611
689
  };
612
690
  reversetoggle: {
613
691
  reverse: boolean;
614
692
  readonly type: "reversetoggle";
615
- readonly target: any;
693
+ readonly target: /*elided*/ any;
616
694
  };
617
- }[T]) => void): any;
695
+ }[T]) => void): /*elided*/ any;
618
696
  off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
619
697
  select: {
620
698
  feature: Feature | undefined;
621
699
  readonly type: "select";
622
- readonly target: any;
700
+ readonly target: /*elided*/ any;
623
701
  };
624
702
  featureslisted: {
625
703
  features: Feature[] | undefined;
626
704
  readonly type: "featureslisted";
627
- readonly target: any;
705
+ readonly target: /*elided*/ any;
628
706
  };
629
707
  featuresmarked: {
630
708
  features: Feature[] | undefined;
631
709
  readonly type: "featuresmarked";
632
- readonly target: any;
710
+ readonly target: /*elided*/ any;
633
711
  };
634
712
  optionsvisibilitychange: {
635
713
  optionsVisible: boolean;
636
714
  readonly type: "optionsvisibilitychange";
637
- readonly target: any;
715
+ readonly target: /*elided*/ any;
638
716
  };
639
717
  pick: {
640
718
  feature: Feature | undefined;
641
719
  readonly type: "pick";
642
- readonly target: any;
720
+ readonly target: /*elided*/ any;
643
721
  };
644
722
  querychange: {
645
723
  query: string;
646
724
  readonly type: "querychange";
647
- readonly target: any;
725
+ readonly target: /*elided*/ any;
648
726
  };
649
727
  response: {
650
728
  url: string;
651
729
  featureCollection: FeatureCollection;
652
730
  readonly type: "response";
653
- readonly target: any;
731
+ readonly target: /*elided*/ any;
654
732
  };
655
733
  reversetoggle: {
656
734
  reverse: boolean;
657
735
  readonly type: "reversetoggle";
658
- readonly target: any;
736
+ readonly target: /*elided*/ any;
659
737
  };
660
- }[T]) => void): any;
738
+ }[T]) => void): /*elided*/ any;
661
739
  listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
740
+ /**
741
+ * Update the control options.
742
+ *
743
+ * @param options options to update
744
+ */
662
745
  setOptions(options: OPTS): void;
746
+ /**
747
+ * Set the content of search input box.
748
+ *
749
+ * @param value text to set
750
+ * @param submit perform the search
751
+ */
663
752
  setQuery(value: string, submit?: boolean): void;
753
+ /**
754
+ * Clear geocoding search results from the map.
755
+ */
664
756
  clearMap(): void;
757
+ /**
758
+ * Clear search result list.
759
+ */
665
760
  clearList(): void;
666
- setReverseMode(value: boolean): void;
667
- focus(): void;
761
+ /**
762
+ * Set reverse geocoding mode.
763
+ *
764
+ * @param reverseActive reverse geocoding active
765
+ */
766
+ setReverseMode(reverseActive: boolean): void;
767
+ /**
768
+ * Focus the search input box.
769
+ *
770
+ * @param options [FocusOptions](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
771
+ */
772
+ focus(options?: FocusOptions): void;
773
+ /**
774
+ * Blur the search input box.
775
+ */
668
776
  blur(): void;
669
777
  onRemove(): void;
670
778
  _listeners: import("maplibre-gl").Listeners;
@@ -673,8 +781,8 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
673
781
  _eventedParentData: any | (() => any);
674
782
  fire(event: {
675
783
  readonly type: string;
676
- } | string, properties?: any): any;
677
- setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
784
+ } | string, properties?: any): /*elided*/ any;
785
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): /*elided*/ any;
678
786
  }, features: Feature[] | undefined): {
679
787
  features: Feature[] | undefined;
680
788
  readonly type: "featureslisted";
@@ -686,138 +794,156 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
686
794
  select: {
687
795
  feature: Feature | undefined;
688
796
  readonly type: "select";
689
- readonly target: any;
690
- };
691
- featureslisted: {
692
- features: Feature[] | undefined;
693
- readonly type: "featureslisted";
694
- readonly target: any;
797
+ readonly target: /*elided*/ any;
695
798
  };
799
+ featureslisted: /*elided*/ any;
696
800
  featuresmarked: {
697
801
  features: Feature[] | undefined;
698
802
  readonly type: "featuresmarked";
699
- readonly target: any;
803
+ readonly target: /*elided*/ any;
700
804
  };
701
805
  optionsvisibilitychange: {
702
806
  optionsVisible: boolean;
703
807
  readonly type: "optionsvisibilitychange";
704
- readonly target: any;
808
+ readonly target: /*elided*/ any;
705
809
  };
706
810
  pick: {
707
811
  feature: Feature | undefined;
708
812
  readonly type: "pick";
709
- readonly target: any;
813
+ readonly target: /*elided*/ any;
710
814
  };
711
815
  querychange: {
712
816
  query: string;
713
817
  readonly type: "querychange";
714
- readonly target: any;
818
+ readonly target: /*elided*/ any;
715
819
  };
716
820
  response: {
717
821
  url: string;
718
822
  featureCollection: FeatureCollection;
719
823
  readonly type: "response";
720
- readonly target: any;
824
+ readonly target: /*elided*/ any;
721
825
  };
722
826
  reversetoggle: {
723
827
  reverse: boolean;
724
828
  readonly type: "reversetoggle";
725
- readonly target: any;
829
+ readonly target: /*elided*/ any;
726
830
  };
727
- }[T]) => void): any;
831
+ }[T]) => void): /*elided*/ any;
728
832
  once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
729
833
  select: {
730
834
  feature: Feature | undefined;
731
835
  readonly type: "select";
732
- readonly target: any;
733
- };
734
- featureslisted: {
735
- features: Feature[] | undefined;
736
- readonly type: "featureslisted";
737
- readonly target: any;
836
+ readonly target: /*elided*/ any;
738
837
  };
838
+ featureslisted: /*elided*/ any;
739
839
  featuresmarked: {
740
840
  features: Feature[] | undefined;
741
841
  readonly type: "featuresmarked";
742
- readonly target: any;
842
+ readonly target: /*elided*/ any;
743
843
  };
744
844
  optionsvisibilitychange: {
745
845
  optionsVisible: boolean;
746
846
  readonly type: "optionsvisibilitychange";
747
- readonly target: any;
847
+ readonly target: /*elided*/ any;
748
848
  };
749
849
  pick: {
750
850
  feature: Feature | undefined;
751
851
  readonly type: "pick";
752
- readonly target: any;
852
+ readonly target: /*elided*/ any;
753
853
  };
754
854
  querychange: {
755
855
  query: string;
756
856
  readonly type: "querychange";
757
- readonly target: any;
857
+ readonly target: /*elided*/ any;
758
858
  };
759
859
  response: {
760
860
  url: string;
761
861
  featureCollection: FeatureCollection;
762
862
  readonly type: "response";
763
- readonly target: any;
863
+ readonly target: /*elided*/ any;
764
864
  };
765
865
  reversetoggle: {
766
866
  reverse: boolean;
767
867
  readonly type: "reversetoggle";
768
- readonly target: any;
868
+ readonly target: /*elided*/ any;
769
869
  };
770
- }[T]) => void): any;
870
+ }[T]) => void): /*elided*/ any;
771
871
  off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
772
872
  select: {
773
873
  feature: Feature | undefined;
774
874
  readonly type: "select";
775
- readonly target: any;
776
- };
777
- featureslisted: {
778
- features: Feature[] | undefined;
779
- readonly type: "featureslisted";
780
- readonly target: any;
875
+ readonly target: /*elided*/ any;
781
876
  };
877
+ featureslisted: /*elided*/ any;
782
878
  featuresmarked: {
783
879
  features: Feature[] | undefined;
784
880
  readonly type: "featuresmarked";
785
- readonly target: any;
881
+ readonly target: /*elided*/ any;
786
882
  };
787
883
  optionsvisibilitychange: {
788
884
  optionsVisible: boolean;
789
885
  readonly type: "optionsvisibilitychange";
790
- readonly target: any;
886
+ readonly target: /*elided*/ any;
791
887
  };
792
888
  pick: {
793
889
  feature: Feature | undefined;
794
890
  readonly type: "pick";
795
- readonly target: any;
891
+ readonly target: /*elided*/ any;
796
892
  };
797
893
  querychange: {
798
894
  query: string;
799
895
  readonly type: "querychange";
800
- readonly target: any;
896
+ readonly target: /*elided*/ any;
801
897
  };
802
898
  response: {
803
899
  url: string;
804
900
  featureCollection: FeatureCollection;
805
901
  readonly type: "response";
806
- readonly target: any;
902
+ readonly target: /*elided*/ any;
807
903
  };
808
904
  reversetoggle: {
809
905
  reverse: boolean;
810
906
  readonly type: "reversetoggle";
811
- readonly target: any;
907
+ readonly target: /*elided*/ any;
812
908
  };
813
- }[T]) => void): any;
909
+ }[T]) => void): /*elided*/ any;
814
910
  listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
911
+ /**
912
+ * Update the control options.
913
+ *
914
+ * @param options options to update
915
+ */
815
916
  setOptions(options: OPTS): void;
917
+ /**
918
+ * Set the content of search input box.
919
+ *
920
+ * @param value text to set
921
+ * @param submit perform the search
922
+ */
816
923
  setQuery(value: string, submit?: boolean): void;
924
+ /**
925
+ * Clear geocoding search results from the map.
926
+ */
817
927
  clearMap(): void;
928
+ /**
929
+ * Clear search result list.
930
+ */
818
931
  clearList(): void;
819
- setReverseMode(value: boolean): void;
820
- focus(): void;
932
+ /**
933
+ * Set reverse geocoding mode.
934
+ *
935
+ * @param reverseActive reverse geocoding active
936
+ */
937
+ setReverseMode(reverseActive: boolean): void;
938
+ /**
939
+ * Focus the search input box.
940
+ *
941
+ * @param options [FocusOptions](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
942
+ */
943
+ focus(options?: FocusOptions): void;
944
+ /**
945
+ * Blur the search input box.
946
+ */
821
947
  blur(): void;
822
948
  onRemove(): void;
823
949
  _listeners: import("maplibre-gl").Listeners;
@@ -826,8 +952,8 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
826
952
  _eventedParentData: any | (() => any);
827
953
  fire(event: {
828
954
  readonly type: string;
829
- } | string, properties?: any): any;
830
- setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
955
+ } | string, properties?: any): /*elided*/ any;
956
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): /*elided*/ any;
831
957
  };
832
958
  };
833
959
  };
@@ -840,138 +966,168 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
840
966
  select: {
841
967
  feature: Feature | undefined;
842
968
  readonly type: "select";
843
- readonly target: any;
969
+ readonly target: /*elided*/ any;
844
970
  };
845
971
  featureslisted: {
846
972
  features: Feature[] | undefined;
847
973
  readonly type: "featureslisted";
848
- readonly target: any;
974
+ readonly target: /*elided*/ any;
849
975
  };
850
976
  featuresmarked: {
851
977
  features: Feature[] | undefined;
852
978
  readonly type: "featuresmarked";
853
- readonly target: any;
979
+ readonly target: /*elided*/ any;
854
980
  };
855
981
  optionsvisibilitychange: {
856
982
  optionsVisible: boolean;
857
983
  readonly type: "optionsvisibilitychange";
858
- readonly target: any;
984
+ readonly target: /*elided*/ any;
859
985
  };
860
986
  pick: {
861
987
  feature: Feature | undefined;
862
988
  readonly type: "pick";
863
- readonly target: any;
989
+ readonly target: /*elided*/ any;
864
990
  };
865
991
  querychange: {
866
992
  query: string;
867
993
  readonly type: "querychange";
868
- readonly target: any;
994
+ readonly target: /*elided*/ any;
869
995
  };
870
996
  response: {
871
997
  url: string;
872
998
  featureCollection: FeatureCollection;
873
999
  readonly type: "response";
874
- readonly target: any;
1000
+ readonly target: /*elided*/ any;
875
1001
  };
876
1002
  reversetoggle: {
877
1003
  reverse: boolean;
878
1004
  readonly type: "reversetoggle";
879
- readonly target: any;
1005
+ readonly target: /*elided*/ any;
880
1006
  };
881
- }[T]) => void): any;
1007
+ }[T]) => void): /*elided*/ any;
882
1008
  once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
883
1009
  select: {
884
1010
  feature: Feature | undefined;
885
1011
  readonly type: "select";
886
- readonly target: any;
1012
+ readonly target: /*elided*/ any;
887
1013
  };
888
1014
  featureslisted: {
889
1015
  features: Feature[] | undefined;
890
1016
  readonly type: "featureslisted";
891
- readonly target: any;
1017
+ readonly target: /*elided*/ any;
892
1018
  };
893
1019
  featuresmarked: {
894
1020
  features: Feature[] | undefined;
895
1021
  readonly type: "featuresmarked";
896
- readonly target: any;
1022
+ readonly target: /*elided*/ any;
897
1023
  };
898
1024
  optionsvisibilitychange: {
899
1025
  optionsVisible: boolean;
900
1026
  readonly type: "optionsvisibilitychange";
901
- readonly target: any;
1027
+ readonly target: /*elided*/ any;
902
1028
  };
903
1029
  pick: {
904
1030
  feature: Feature | undefined;
905
1031
  readonly type: "pick";
906
- readonly target: any;
1032
+ readonly target: /*elided*/ any;
907
1033
  };
908
1034
  querychange: {
909
1035
  query: string;
910
1036
  readonly type: "querychange";
911
- readonly target: any;
1037
+ readonly target: /*elided*/ any;
912
1038
  };
913
1039
  response: {
914
1040
  url: string;
915
1041
  featureCollection: FeatureCollection;
916
1042
  readonly type: "response";
917
- readonly target: any;
1043
+ readonly target: /*elided*/ any;
918
1044
  };
919
1045
  reversetoggle: {
920
1046
  reverse: boolean;
921
1047
  readonly type: "reversetoggle";
922
- readonly target: any;
1048
+ readonly target: /*elided*/ any;
923
1049
  };
924
- }[T]) => void): any;
1050
+ }[T]) => void): /*elided*/ any;
925
1051
  off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
926
1052
  select: {
927
1053
  feature: Feature | undefined;
928
1054
  readonly type: "select";
929
- readonly target: any;
1055
+ readonly target: /*elided*/ any;
930
1056
  };
931
1057
  featureslisted: {
932
1058
  features: Feature[] | undefined;
933
1059
  readonly type: "featureslisted";
934
- readonly target: any;
1060
+ readonly target: /*elided*/ any;
935
1061
  };
936
1062
  featuresmarked: {
937
1063
  features: Feature[] | undefined;
938
1064
  readonly type: "featuresmarked";
939
- readonly target: any;
1065
+ readonly target: /*elided*/ any;
940
1066
  };
941
1067
  optionsvisibilitychange: {
942
1068
  optionsVisible: boolean;
943
1069
  readonly type: "optionsvisibilitychange";
944
- readonly target: any;
1070
+ readonly target: /*elided*/ any;
945
1071
  };
946
1072
  pick: {
947
1073
  feature: Feature | undefined;
948
1074
  readonly type: "pick";
949
- readonly target: any;
1075
+ readonly target: /*elided*/ any;
950
1076
  };
951
1077
  querychange: {
952
1078
  query: string;
953
1079
  readonly type: "querychange";
954
- readonly target: any;
1080
+ readonly target: /*elided*/ any;
955
1081
  };
956
1082
  response: {
957
1083
  url: string;
958
1084
  featureCollection: FeatureCollection;
959
1085
  readonly type: "response";
960
- readonly target: any;
1086
+ readonly target: /*elided*/ any;
961
1087
  };
962
1088
  reversetoggle: {
963
1089
  reverse: boolean;
964
1090
  readonly type: "reversetoggle";
965
- readonly target: any;
1091
+ readonly target: /*elided*/ any;
966
1092
  };
967
- }[T]) => void): any;
1093
+ }[T]) => void): /*elided*/ any;
968
1094
  listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
1095
+ /**
1096
+ * Update the control options.
1097
+ *
1098
+ * @param options options to update
1099
+ */
969
1100
  setOptions(options: OPTS): void;
1101
+ /**
1102
+ * Set the content of search input box.
1103
+ *
1104
+ * @param value text to set
1105
+ * @param submit perform the search
1106
+ */
970
1107
  setQuery(value: string, submit?: boolean): void;
1108
+ /**
1109
+ * Clear geocoding search results from the map.
1110
+ */
971
1111
  clearMap(): void;
1112
+ /**
1113
+ * Clear search result list.
1114
+ */
972
1115
  clearList(): void;
973
- setReverseMode(value: boolean): void;
974
- focus(): void;
1116
+ /**
1117
+ * Set reverse geocoding mode.
1118
+ *
1119
+ * @param reverseActive reverse geocoding active
1120
+ */
1121
+ setReverseMode(reverseActive: boolean): void;
1122
+ /**
1123
+ * Focus the search input box.
1124
+ *
1125
+ * @param options [FocusOptions](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
1126
+ */
1127
+ focus(options?: FocusOptions): void;
1128
+ /**
1129
+ * Blur the search input box.
1130
+ */
975
1131
  blur(): void;
976
1132
  onRemove(): void;
977
1133
  _listeners: import("maplibre-gl").Listeners;
@@ -980,8 +1136,8 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
980
1136
  _eventedParentData: any | (() => any);
981
1137
  fire(event: {
982
1138
  readonly type: string;
983
- } | string, properties?: any): any;
984
- setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
1139
+ } | string, properties?: any): /*elided*/ any;
1140
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): /*elided*/ any;
985
1141
  }, features: Feature[] | undefined): {
986
1142
  features: Feature[] | undefined;
987
1143
  readonly type: "featuresmarked";
@@ -993,138 +1149,156 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
993
1149
  select: {
994
1150
  feature: Feature | undefined;
995
1151
  readonly type: "select";
996
- readonly target: any;
1152
+ readonly target: /*elided*/ any;
997
1153
  };
998
1154
  featureslisted: {
999
1155
  features: Feature[] | undefined;
1000
1156
  readonly type: "featureslisted";
1001
- readonly target: any;
1002
- };
1003
- featuresmarked: {
1004
- features: Feature[] | undefined;
1005
- readonly type: "featuresmarked";
1006
- readonly target: any;
1157
+ readonly target: /*elided*/ any;
1007
1158
  };
1159
+ featuresmarked: /*elided*/ any;
1008
1160
  optionsvisibilitychange: {
1009
1161
  optionsVisible: boolean;
1010
1162
  readonly type: "optionsvisibilitychange";
1011
- readonly target: any;
1163
+ readonly target: /*elided*/ any;
1012
1164
  };
1013
1165
  pick: {
1014
1166
  feature: Feature | undefined;
1015
1167
  readonly type: "pick";
1016
- readonly target: any;
1168
+ readonly target: /*elided*/ any;
1017
1169
  };
1018
1170
  querychange: {
1019
1171
  query: string;
1020
1172
  readonly type: "querychange";
1021
- readonly target: any;
1173
+ readonly target: /*elided*/ any;
1022
1174
  };
1023
1175
  response: {
1024
1176
  url: string;
1025
1177
  featureCollection: FeatureCollection;
1026
1178
  readonly type: "response";
1027
- readonly target: any;
1179
+ readonly target: /*elided*/ any;
1028
1180
  };
1029
1181
  reversetoggle: {
1030
1182
  reverse: boolean;
1031
1183
  readonly type: "reversetoggle";
1032
- readonly target: any;
1184
+ readonly target: /*elided*/ any;
1033
1185
  };
1034
- }[T]) => void): any;
1186
+ }[T]) => void): /*elided*/ any;
1035
1187
  once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1036
1188
  select: {
1037
1189
  feature: Feature | undefined;
1038
1190
  readonly type: "select";
1039
- readonly target: any;
1191
+ readonly target: /*elided*/ any;
1040
1192
  };
1041
1193
  featureslisted: {
1042
1194
  features: Feature[] | undefined;
1043
1195
  readonly type: "featureslisted";
1044
- readonly target: any;
1045
- };
1046
- featuresmarked: {
1047
- features: Feature[] | undefined;
1048
- readonly type: "featuresmarked";
1049
- readonly target: any;
1196
+ readonly target: /*elided*/ any;
1050
1197
  };
1198
+ featuresmarked: /*elided*/ any;
1051
1199
  optionsvisibilitychange: {
1052
1200
  optionsVisible: boolean;
1053
1201
  readonly type: "optionsvisibilitychange";
1054
- readonly target: any;
1202
+ readonly target: /*elided*/ any;
1055
1203
  };
1056
1204
  pick: {
1057
1205
  feature: Feature | undefined;
1058
1206
  readonly type: "pick";
1059
- readonly target: any;
1207
+ readonly target: /*elided*/ any;
1060
1208
  };
1061
1209
  querychange: {
1062
1210
  query: string;
1063
1211
  readonly type: "querychange";
1064
- readonly target: any;
1212
+ readonly target: /*elided*/ any;
1065
1213
  };
1066
1214
  response: {
1067
1215
  url: string;
1068
1216
  featureCollection: FeatureCollection;
1069
1217
  readonly type: "response";
1070
- readonly target: any;
1218
+ readonly target: /*elided*/ any;
1071
1219
  };
1072
1220
  reversetoggle: {
1073
1221
  reverse: boolean;
1074
1222
  readonly type: "reversetoggle";
1075
- readonly target: any;
1223
+ readonly target: /*elided*/ any;
1076
1224
  };
1077
- }[T]) => void): any;
1225
+ }[T]) => void): /*elided*/ any;
1078
1226
  off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1079
1227
  select: {
1080
1228
  feature: Feature | undefined;
1081
1229
  readonly type: "select";
1082
- readonly target: any;
1230
+ readonly target: /*elided*/ any;
1083
1231
  };
1084
1232
  featureslisted: {
1085
1233
  features: Feature[] | undefined;
1086
1234
  readonly type: "featureslisted";
1087
- readonly target: any;
1088
- };
1089
- featuresmarked: {
1090
- features: Feature[] | undefined;
1091
- readonly type: "featuresmarked";
1092
- readonly target: any;
1235
+ readonly target: /*elided*/ any;
1093
1236
  };
1237
+ featuresmarked: /*elided*/ any;
1094
1238
  optionsvisibilitychange: {
1095
1239
  optionsVisible: boolean;
1096
1240
  readonly type: "optionsvisibilitychange";
1097
- readonly target: any;
1241
+ readonly target: /*elided*/ any;
1098
1242
  };
1099
1243
  pick: {
1100
1244
  feature: Feature | undefined;
1101
1245
  readonly type: "pick";
1102
- readonly target: any;
1246
+ readonly target: /*elided*/ any;
1103
1247
  };
1104
1248
  querychange: {
1105
1249
  query: string;
1106
1250
  readonly type: "querychange";
1107
- readonly target: any;
1251
+ readonly target: /*elided*/ any;
1108
1252
  };
1109
1253
  response: {
1110
1254
  url: string;
1111
1255
  featureCollection: FeatureCollection;
1112
1256
  readonly type: "response";
1113
- readonly target: any;
1257
+ readonly target: /*elided*/ any;
1114
1258
  };
1115
1259
  reversetoggle: {
1116
1260
  reverse: boolean;
1117
1261
  readonly type: "reversetoggle";
1118
- readonly target: any;
1262
+ readonly target: /*elided*/ any;
1119
1263
  };
1120
- }[T]) => void): any;
1264
+ }[T]) => void): /*elided*/ any;
1121
1265
  listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
1266
+ /**
1267
+ * Update the control options.
1268
+ *
1269
+ * @param options options to update
1270
+ */
1122
1271
  setOptions(options: OPTS): void;
1272
+ /**
1273
+ * Set the content of search input box.
1274
+ *
1275
+ * @param value text to set
1276
+ * @param submit perform the search
1277
+ */
1123
1278
  setQuery(value: string, submit?: boolean): void;
1279
+ /**
1280
+ * Clear geocoding search results from the map.
1281
+ */
1124
1282
  clearMap(): void;
1283
+ /**
1284
+ * Clear search result list.
1285
+ */
1125
1286
  clearList(): void;
1126
- setReverseMode(value: boolean): void;
1127
- focus(): void;
1287
+ /**
1288
+ * Set reverse geocoding mode.
1289
+ *
1290
+ * @param reverseActive reverse geocoding active
1291
+ */
1292
+ setReverseMode(reverseActive: boolean): void;
1293
+ /**
1294
+ * Focus the search input box.
1295
+ *
1296
+ * @param options [FocusOptions](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
1297
+ */
1298
+ focus(options?: FocusOptions): void;
1299
+ /**
1300
+ * Blur the search input box.
1301
+ */
1128
1302
  blur(): void;
1129
1303
  onRemove(): void;
1130
1304
  _listeners: import("maplibre-gl").Listeners;
@@ -1133,8 +1307,8 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
1133
1307
  _eventedParentData: any | (() => any);
1134
1308
  fire(event: {
1135
1309
  readonly type: string;
1136
- } | string, properties?: any): any;
1137
- setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
1310
+ } | string, properties?: any): /*elided*/ any;
1311
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): /*elided*/ any;
1138
1312
  };
1139
1313
  };
1140
1314
  };
@@ -1147,138 +1321,168 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
1147
1321
  select: {
1148
1322
  feature: Feature | undefined;
1149
1323
  readonly type: "select";
1150
- readonly target: any;
1324
+ readonly target: /*elided*/ any;
1151
1325
  };
1152
1326
  featureslisted: {
1153
1327
  features: Feature[] | undefined;
1154
1328
  readonly type: "featureslisted";
1155
- readonly target: any;
1329
+ readonly target: /*elided*/ any;
1156
1330
  };
1157
1331
  featuresmarked: {
1158
1332
  features: Feature[] | undefined;
1159
1333
  readonly type: "featuresmarked";
1160
- readonly target: any;
1334
+ readonly target: /*elided*/ any;
1161
1335
  };
1162
1336
  optionsvisibilitychange: {
1163
1337
  optionsVisible: boolean;
1164
1338
  readonly type: "optionsvisibilitychange";
1165
- readonly target: any;
1339
+ readonly target: /*elided*/ any;
1166
1340
  };
1167
1341
  pick: {
1168
1342
  feature: Feature | undefined;
1169
1343
  readonly type: "pick";
1170
- readonly target: any;
1344
+ readonly target: /*elided*/ any;
1171
1345
  };
1172
1346
  querychange: {
1173
1347
  query: string;
1174
1348
  readonly type: "querychange";
1175
- readonly target: any;
1349
+ readonly target: /*elided*/ any;
1176
1350
  };
1177
1351
  response: {
1178
1352
  url: string;
1179
1353
  featureCollection: FeatureCollection;
1180
1354
  readonly type: "response";
1181
- readonly target: any;
1355
+ readonly target: /*elided*/ any;
1182
1356
  };
1183
1357
  reversetoggle: {
1184
1358
  reverse: boolean;
1185
1359
  readonly type: "reversetoggle";
1186
- readonly target: any;
1360
+ readonly target: /*elided*/ any;
1187
1361
  };
1188
- }[T]) => void): any;
1362
+ }[T]) => void): /*elided*/ any;
1189
1363
  once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1190
1364
  select: {
1191
1365
  feature: Feature | undefined;
1192
1366
  readonly type: "select";
1193
- readonly target: any;
1367
+ readonly target: /*elided*/ any;
1194
1368
  };
1195
1369
  featureslisted: {
1196
1370
  features: Feature[] | undefined;
1197
1371
  readonly type: "featureslisted";
1198
- readonly target: any;
1372
+ readonly target: /*elided*/ any;
1199
1373
  };
1200
1374
  featuresmarked: {
1201
1375
  features: Feature[] | undefined;
1202
1376
  readonly type: "featuresmarked";
1203
- readonly target: any;
1377
+ readonly target: /*elided*/ any;
1204
1378
  };
1205
1379
  optionsvisibilitychange: {
1206
1380
  optionsVisible: boolean;
1207
1381
  readonly type: "optionsvisibilitychange";
1208
- readonly target: any;
1382
+ readonly target: /*elided*/ any;
1209
1383
  };
1210
1384
  pick: {
1211
1385
  feature: Feature | undefined;
1212
1386
  readonly type: "pick";
1213
- readonly target: any;
1387
+ readonly target: /*elided*/ any;
1214
1388
  };
1215
1389
  querychange: {
1216
1390
  query: string;
1217
1391
  readonly type: "querychange";
1218
- readonly target: any;
1392
+ readonly target: /*elided*/ any;
1219
1393
  };
1220
1394
  response: {
1221
1395
  url: string;
1222
1396
  featureCollection: FeatureCollection;
1223
1397
  readonly type: "response";
1224
- readonly target: any;
1398
+ readonly target: /*elided*/ any;
1225
1399
  };
1226
1400
  reversetoggle: {
1227
1401
  reverse: boolean;
1228
1402
  readonly type: "reversetoggle";
1229
- readonly target: any;
1403
+ readonly target: /*elided*/ any;
1230
1404
  };
1231
- }[T]) => void): any;
1405
+ }[T]) => void): /*elided*/ any;
1232
1406
  off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1233
1407
  select: {
1234
1408
  feature: Feature | undefined;
1235
1409
  readonly type: "select";
1236
- readonly target: any;
1410
+ readonly target: /*elided*/ any;
1237
1411
  };
1238
1412
  featureslisted: {
1239
1413
  features: Feature[] | undefined;
1240
1414
  readonly type: "featureslisted";
1241
- readonly target: any;
1415
+ readonly target: /*elided*/ any;
1242
1416
  };
1243
1417
  featuresmarked: {
1244
1418
  features: Feature[] | undefined;
1245
1419
  readonly type: "featuresmarked";
1246
- readonly target: any;
1420
+ readonly target: /*elided*/ any;
1247
1421
  };
1248
1422
  optionsvisibilitychange: {
1249
1423
  optionsVisible: boolean;
1250
1424
  readonly type: "optionsvisibilitychange";
1251
- readonly target: any;
1425
+ readonly target: /*elided*/ any;
1252
1426
  };
1253
1427
  pick: {
1254
1428
  feature: Feature | undefined;
1255
1429
  readonly type: "pick";
1256
- readonly target: any;
1430
+ readonly target: /*elided*/ any;
1257
1431
  };
1258
1432
  querychange: {
1259
1433
  query: string;
1260
1434
  readonly type: "querychange";
1261
- readonly target: any;
1435
+ readonly target: /*elided*/ any;
1262
1436
  };
1263
1437
  response: {
1264
1438
  url: string;
1265
1439
  featureCollection: FeatureCollection;
1266
1440
  readonly type: "response";
1267
- readonly target: any;
1441
+ readonly target: /*elided*/ any;
1268
1442
  };
1269
1443
  reversetoggle: {
1270
1444
  reverse: boolean;
1271
1445
  readonly type: "reversetoggle";
1272
- readonly target: any;
1446
+ readonly target: /*elided*/ any;
1273
1447
  };
1274
- }[T]) => void): any;
1448
+ }[T]) => void): /*elided*/ any;
1275
1449
  listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
1450
+ /**
1451
+ * Update the control options.
1452
+ *
1453
+ * @param options options to update
1454
+ */
1276
1455
  setOptions(options: OPTS): void;
1456
+ /**
1457
+ * Set the content of search input box.
1458
+ *
1459
+ * @param value text to set
1460
+ * @param submit perform the search
1461
+ */
1277
1462
  setQuery(value: string, submit?: boolean): void;
1463
+ /**
1464
+ * Clear geocoding search results from the map.
1465
+ */
1278
1466
  clearMap(): void;
1467
+ /**
1468
+ * Clear search result list.
1469
+ */
1279
1470
  clearList(): void;
1280
- setReverseMode(value: boolean): void;
1281
- focus(): void;
1471
+ /**
1472
+ * Set reverse geocoding mode.
1473
+ *
1474
+ * @param reverseActive reverse geocoding active
1475
+ */
1476
+ setReverseMode(reverseActive: boolean): void;
1477
+ /**
1478
+ * Focus the search input box.
1479
+ *
1480
+ * @param options [FocusOptions](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
1481
+ */
1482
+ focus(options?: FocusOptions): void;
1483
+ /**
1484
+ * Blur the search input box.
1485
+ */
1282
1486
  blur(): void;
1283
1487
  onRemove(): void;
1284
1488
  _listeners: import("maplibre-gl").Listeners;
@@ -1287,8 +1491,8 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
1287
1491
  _eventedParentData: any | (() => any);
1288
1492
  fire(event: {
1289
1493
  readonly type: string;
1290
- } | string, properties?: any): any;
1291
- setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
1494
+ } | string, properties?: any): /*elided*/ any;
1495
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): /*elided*/ any;
1292
1496
  }, optionsVisible: boolean): {
1293
1497
  optionsVisible: boolean;
1294
1498
  readonly type: "optionsvisibilitychange";
@@ -1300,138 +1504,156 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
1300
1504
  select: {
1301
1505
  feature: Feature | undefined;
1302
1506
  readonly type: "select";
1303
- readonly target: any;
1507
+ readonly target: /*elided*/ any;
1304
1508
  };
1305
1509
  featureslisted: {
1306
1510
  features: Feature[] | undefined;
1307
1511
  readonly type: "featureslisted";
1308
- readonly target: any;
1512
+ readonly target: /*elided*/ any;
1309
1513
  };
1310
1514
  featuresmarked: {
1311
1515
  features: Feature[] | undefined;
1312
1516
  readonly type: "featuresmarked";
1313
- readonly target: any;
1314
- };
1315
- optionsvisibilitychange: {
1316
- optionsVisible: boolean;
1317
- readonly type: "optionsvisibilitychange";
1318
- readonly target: any;
1517
+ readonly target: /*elided*/ any;
1319
1518
  };
1519
+ optionsvisibilitychange: /*elided*/ any;
1320
1520
  pick: {
1321
1521
  feature: Feature | undefined;
1322
1522
  readonly type: "pick";
1323
- readonly target: any;
1523
+ readonly target: /*elided*/ any;
1324
1524
  };
1325
1525
  querychange: {
1326
1526
  query: string;
1327
1527
  readonly type: "querychange";
1328
- readonly target: any;
1528
+ readonly target: /*elided*/ any;
1329
1529
  };
1330
1530
  response: {
1331
1531
  url: string;
1332
1532
  featureCollection: FeatureCollection;
1333
1533
  readonly type: "response";
1334
- readonly target: any;
1534
+ readonly target: /*elided*/ any;
1335
1535
  };
1336
1536
  reversetoggle: {
1337
1537
  reverse: boolean;
1338
1538
  readonly type: "reversetoggle";
1339
- readonly target: any;
1539
+ readonly target: /*elided*/ any;
1340
1540
  };
1341
- }[T]) => void): any;
1541
+ }[T]) => void): /*elided*/ any;
1342
1542
  once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1343
1543
  select: {
1344
1544
  feature: Feature | undefined;
1345
1545
  readonly type: "select";
1346
- readonly target: any;
1546
+ readonly target: /*elided*/ any;
1347
1547
  };
1348
1548
  featureslisted: {
1349
1549
  features: Feature[] | undefined;
1350
1550
  readonly type: "featureslisted";
1351
- readonly target: any;
1551
+ readonly target: /*elided*/ any;
1352
1552
  };
1353
1553
  featuresmarked: {
1354
1554
  features: Feature[] | undefined;
1355
1555
  readonly type: "featuresmarked";
1356
- readonly target: any;
1357
- };
1358
- optionsvisibilitychange: {
1359
- optionsVisible: boolean;
1360
- readonly type: "optionsvisibilitychange";
1361
- readonly target: any;
1556
+ readonly target: /*elided*/ any;
1362
1557
  };
1558
+ optionsvisibilitychange: /*elided*/ any;
1363
1559
  pick: {
1364
1560
  feature: Feature | undefined;
1365
1561
  readonly type: "pick";
1366
- readonly target: any;
1562
+ readonly target: /*elided*/ any;
1367
1563
  };
1368
1564
  querychange: {
1369
1565
  query: string;
1370
1566
  readonly type: "querychange";
1371
- readonly target: any;
1567
+ readonly target: /*elided*/ any;
1372
1568
  };
1373
1569
  response: {
1374
1570
  url: string;
1375
1571
  featureCollection: FeatureCollection;
1376
1572
  readonly type: "response";
1377
- readonly target: any;
1573
+ readonly target: /*elided*/ any;
1378
1574
  };
1379
1575
  reversetoggle: {
1380
1576
  reverse: boolean;
1381
1577
  readonly type: "reversetoggle";
1382
- readonly target: any;
1578
+ readonly target: /*elided*/ any;
1383
1579
  };
1384
- }[T]) => void): any;
1580
+ }[T]) => void): /*elided*/ any;
1385
1581
  off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1386
1582
  select: {
1387
1583
  feature: Feature | undefined;
1388
1584
  readonly type: "select";
1389
- readonly target: any;
1585
+ readonly target: /*elided*/ any;
1390
1586
  };
1391
1587
  featureslisted: {
1392
1588
  features: Feature[] | undefined;
1393
1589
  readonly type: "featureslisted";
1394
- readonly target: any;
1590
+ readonly target: /*elided*/ any;
1395
1591
  };
1396
1592
  featuresmarked: {
1397
1593
  features: Feature[] | undefined;
1398
1594
  readonly type: "featuresmarked";
1399
- readonly target: any;
1400
- };
1401
- optionsvisibilitychange: {
1402
- optionsVisible: boolean;
1403
- readonly type: "optionsvisibilitychange";
1404
- readonly target: any;
1595
+ readonly target: /*elided*/ any;
1405
1596
  };
1597
+ optionsvisibilitychange: /*elided*/ any;
1406
1598
  pick: {
1407
1599
  feature: Feature | undefined;
1408
1600
  readonly type: "pick";
1409
- readonly target: any;
1601
+ readonly target: /*elided*/ any;
1410
1602
  };
1411
1603
  querychange: {
1412
1604
  query: string;
1413
1605
  readonly type: "querychange";
1414
- readonly target: any;
1606
+ readonly target: /*elided*/ any;
1415
1607
  };
1416
1608
  response: {
1417
1609
  url: string;
1418
1610
  featureCollection: FeatureCollection;
1419
1611
  readonly type: "response";
1420
- readonly target: any;
1612
+ readonly target: /*elided*/ any;
1421
1613
  };
1422
1614
  reversetoggle: {
1423
1615
  reverse: boolean;
1424
1616
  readonly type: "reversetoggle";
1425
- readonly target: any;
1617
+ readonly target: /*elided*/ any;
1426
1618
  };
1427
- }[T]) => void): any;
1619
+ }[T]) => void): /*elided*/ any;
1428
1620
  listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
1621
+ /**
1622
+ * Update the control options.
1623
+ *
1624
+ * @param options options to update
1625
+ */
1429
1626
  setOptions(options: OPTS): void;
1627
+ /**
1628
+ * Set the content of search input box.
1629
+ *
1630
+ * @param value text to set
1631
+ * @param submit perform the search
1632
+ */
1430
1633
  setQuery(value: string, submit?: boolean): void;
1634
+ /**
1635
+ * Clear geocoding search results from the map.
1636
+ */
1431
1637
  clearMap(): void;
1638
+ /**
1639
+ * Clear search result list.
1640
+ */
1432
1641
  clearList(): void;
1433
- setReverseMode(value: boolean): void;
1434
- focus(): void;
1642
+ /**
1643
+ * Set reverse geocoding mode.
1644
+ *
1645
+ * @param reverseActive reverse geocoding active
1646
+ */
1647
+ setReverseMode(reverseActive: boolean): void;
1648
+ /**
1649
+ * Focus the search input box.
1650
+ *
1651
+ * @param options [FocusOptions](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
1652
+ */
1653
+ focus(options?: FocusOptions): void;
1654
+ /**
1655
+ * Blur the search input box.
1656
+ */
1435
1657
  blur(): void;
1436
1658
  onRemove(): void;
1437
1659
  _listeners: import("maplibre-gl").Listeners;
@@ -1440,8 +1662,8 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
1440
1662
  _eventedParentData: any | (() => any);
1441
1663
  fire(event: {
1442
1664
  readonly type: string;
1443
- } | string, properties?: any): any;
1444
- setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
1665
+ } | string, properties?: any): /*elided*/ any;
1666
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): /*elided*/ any;
1445
1667
  };
1446
1668
  };
1447
1669
  };
@@ -1454,138 +1676,168 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
1454
1676
  select: {
1455
1677
  feature: Feature | undefined;
1456
1678
  readonly type: "select";
1457
- readonly target: any;
1679
+ readonly target: /*elided*/ any;
1458
1680
  };
1459
1681
  featureslisted: {
1460
1682
  features: Feature[] | undefined;
1461
1683
  readonly type: "featureslisted";
1462
- readonly target: any;
1684
+ readonly target: /*elided*/ any;
1463
1685
  };
1464
1686
  featuresmarked: {
1465
1687
  features: Feature[] | undefined;
1466
1688
  readonly type: "featuresmarked";
1467
- readonly target: any;
1689
+ readonly target: /*elided*/ any;
1468
1690
  };
1469
1691
  optionsvisibilitychange: {
1470
1692
  optionsVisible: boolean;
1471
1693
  readonly type: "optionsvisibilitychange";
1472
- readonly target: any;
1694
+ readonly target: /*elided*/ any;
1473
1695
  };
1474
1696
  pick: {
1475
1697
  feature: Feature | undefined;
1476
1698
  readonly type: "pick";
1477
- readonly target: any;
1699
+ readonly target: /*elided*/ any;
1478
1700
  };
1479
1701
  querychange: {
1480
1702
  query: string;
1481
1703
  readonly type: "querychange";
1482
- readonly target: any;
1704
+ readonly target: /*elided*/ any;
1483
1705
  };
1484
1706
  response: {
1485
1707
  url: string;
1486
1708
  featureCollection: FeatureCollection;
1487
1709
  readonly type: "response";
1488
- readonly target: any;
1710
+ readonly target: /*elided*/ any;
1489
1711
  };
1490
1712
  reversetoggle: {
1491
1713
  reverse: boolean;
1492
1714
  readonly type: "reversetoggle";
1493
- readonly target: any;
1715
+ readonly target: /*elided*/ any;
1494
1716
  };
1495
- }[T]) => void): any;
1717
+ }[T]) => void): /*elided*/ any;
1496
1718
  once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1497
1719
  select: {
1498
1720
  feature: Feature | undefined;
1499
1721
  readonly type: "select";
1500
- readonly target: any;
1722
+ readonly target: /*elided*/ any;
1501
1723
  };
1502
1724
  featureslisted: {
1503
1725
  features: Feature[] | undefined;
1504
1726
  readonly type: "featureslisted";
1505
- readonly target: any;
1727
+ readonly target: /*elided*/ any;
1506
1728
  };
1507
1729
  featuresmarked: {
1508
1730
  features: Feature[] | undefined;
1509
1731
  readonly type: "featuresmarked";
1510
- readonly target: any;
1732
+ readonly target: /*elided*/ any;
1511
1733
  };
1512
1734
  optionsvisibilitychange: {
1513
1735
  optionsVisible: boolean;
1514
1736
  readonly type: "optionsvisibilitychange";
1515
- readonly target: any;
1737
+ readonly target: /*elided*/ any;
1516
1738
  };
1517
1739
  pick: {
1518
1740
  feature: Feature | undefined;
1519
1741
  readonly type: "pick";
1520
- readonly target: any;
1742
+ readonly target: /*elided*/ any;
1521
1743
  };
1522
1744
  querychange: {
1523
1745
  query: string;
1524
1746
  readonly type: "querychange";
1525
- readonly target: any;
1747
+ readonly target: /*elided*/ any;
1526
1748
  };
1527
1749
  response: {
1528
1750
  url: string;
1529
1751
  featureCollection: FeatureCollection;
1530
1752
  readonly type: "response";
1531
- readonly target: any;
1753
+ readonly target: /*elided*/ any;
1532
1754
  };
1533
1755
  reversetoggle: {
1534
1756
  reverse: boolean;
1535
1757
  readonly type: "reversetoggle";
1536
- readonly target: any;
1758
+ readonly target: /*elided*/ any;
1537
1759
  };
1538
- }[T]) => void): any;
1760
+ }[T]) => void): /*elided*/ any;
1539
1761
  off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1540
1762
  select: {
1541
1763
  feature: Feature | undefined;
1542
1764
  readonly type: "select";
1543
- readonly target: any;
1765
+ readonly target: /*elided*/ any;
1544
1766
  };
1545
1767
  featureslisted: {
1546
1768
  features: Feature[] | undefined;
1547
1769
  readonly type: "featureslisted";
1548
- readonly target: any;
1770
+ readonly target: /*elided*/ any;
1549
1771
  };
1550
1772
  featuresmarked: {
1551
1773
  features: Feature[] | undefined;
1552
1774
  readonly type: "featuresmarked";
1553
- readonly target: any;
1775
+ readonly target: /*elided*/ any;
1554
1776
  };
1555
1777
  optionsvisibilitychange: {
1556
1778
  optionsVisible: boolean;
1557
1779
  readonly type: "optionsvisibilitychange";
1558
- readonly target: any;
1780
+ readonly target: /*elided*/ any;
1559
1781
  };
1560
1782
  pick: {
1561
1783
  feature: Feature | undefined;
1562
1784
  readonly type: "pick";
1563
- readonly target: any;
1785
+ readonly target: /*elided*/ any;
1564
1786
  };
1565
1787
  querychange: {
1566
1788
  query: string;
1567
1789
  readonly type: "querychange";
1568
- readonly target: any;
1790
+ readonly target: /*elided*/ any;
1569
1791
  };
1570
1792
  response: {
1571
1793
  url: string;
1572
1794
  featureCollection: FeatureCollection;
1573
1795
  readonly type: "response";
1574
- readonly target: any;
1796
+ readonly target: /*elided*/ any;
1575
1797
  };
1576
1798
  reversetoggle: {
1577
1799
  reverse: boolean;
1578
1800
  readonly type: "reversetoggle";
1579
- readonly target: any;
1801
+ readonly target: /*elided*/ any;
1580
1802
  };
1581
- }[T]) => void): any;
1803
+ }[T]) => void): /*elided*/ any;
1582
1804
  listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
1805
+ /**
1806
+ * Update the control options.
1807
+ *
1808
+ * @param options options to update
1809
+ */
1583
1810
  setOptions(options: OPTS): void;
1811
+ /**
1812
+ * Set the content of search input box.
1813
+ *
1814
+ * @param value text to set
1815
+ * @param submit perform the search
1816
+ */
1584
1817
  setQuery(value: string, submit?: boolean): void;
1818
+ /**
1819
+ * Clear geocoding search results from the map.
1820
+ */
1585
1821
  clearMap(): void;
1822
+ /**
1823
+ * Clear search result list.
1824
+ */
1586
1825
  clearList(): void;
1587
- setReverseMode(value: boolean): void;
1588
- focus(): void;
1826
+ /**
1827
+ * Set reverse geocoding mode.
1828
+ *
1829
+ * @param reverseActive reverse geocoding active
1830
+ */
1831
+ setReverseMode(reverseActive: boolean): void;
1832
+ /**
1833
+ * Focus the search input box.
1834
+ *
1835
+ * @param options [FocusOptions](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
1836
+ */
1837
+ focus(options?: FocusOptions): void;
1838
+ /**
1839
+ * Blur the search input box.
1840
+ */
1589
1841
  blur(): void;
1590
1842
  onRemove(): void;
1591
1843
  _listeners: import("maplibre-gl").Listeners;
@@ -1594,8 +1846,8 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
1594
1846
  _eventedParentData: any | (() => any);
1595
1847
  fire(event: {
1596
1848
  readonly type: string;
1597
- } | string, properties?: any): any;
1598
- setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
1849
+ } | string, properties?: any): /*elided*/ any;
1850
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): /*elided*/ any;
1599
1851
  }, feature: Feature | undefined): {
1600
1852
  feature: Feature | undefined;
1601
1853
  readonly type: "pick";
@@ -1607,138 +1859,156 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
1607
1859
  select: {
1608
1860
  feature: Feature | undefined;
1609
1861
  readonly type: "select";
1610
- readonly target: any;
1862
+ readonly target: /*elided*/ any;
1611
1863
  };
1612
1864
  featureslisted: {
1613
1865
  features: Feature[] | undefined;
1614
1866
  readonly type: "featureslisted";
1615
- readonly target: any;
1867
+ readonly target: /*elided*/ any;
1616
1868
  };
1617
1869
  featuresmarked: {
1618
1870
  features: Feature[] | undefined;
1619
1871
  readonly type: "featuresmarked";
1620
- readonly target: any;
1872
+ readonly target: /*elided*/ any;
1621
1873
  };
1622
1874
  optionsvisibilitychange: {
1623
1875
  optionsVisible: boolean;
1624
1876
  readonly type: "optionsvisibilitychange";
1625
- readonly target: any;
1626
- };
1627
- pick: {
1628
- feature: Feature | undefined;
1629
- readonly type: "pick";
1630
- readonly target: any;
1877
+ readonly target: /*elided*/ any;
1631
1878
  };
1879
+ pick: /*elided*/ any;
1632
1880
  querychange: {
1633
1881
  query: string;
1634
1882
  readonly type: "querychange";
1635
- readonly target: any;
1883
+ readonly target: /*elided*/ any;
1636
1884
  };
1637
1885
  response: {
1638
1886
  url: string;
1639
1887
  featureCollection: FeatureCollection;
1640
1888
  readonly type: "response";
1641
- readonly target: any;
1889
+ readonly target: /*elided*/ any;
1642
1890
  };
1643
1891
  reversetoggle: {
1644
1892
  reverse: boolean;
1645
1893
  readonly type: "reversetoggle";
1646
- readonly target: any;
1894
+ readonly target: /*elided*/ any;
1647
1895
  };
1648
- }[T]) => void): any;
1896
+ }[T]) => void): /*elided*/ any;
1649
1897
  once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1650
1898
  select: {
1651
1899
  feature: Feature | undefined;
1652
1900
  readonly type: "select";
1653
- readonly target: any;
1901
+ readonly target: /*elided*/ any;
1654
1902
  };
1655
1903
  featureslisted: {
1656
1904
  features: Feature[] | undefined;
1657
1905
  readonly type: "featureslisted";
1658
- readonly target: any;
1906
+ readonly target: /*elided*/ any;
1659
1907
  };
1660
1908
  featuresmarked: {
1661
1909
  features: Feature[] | undefined;
1662
1910
  readonly type: "featuresmarked";
1663
- readonly target: any;
1911
+ readonly target: /*elided*/ any;
1664
1912
  };
1665
1913
  optionsvisibilitychange: {
1666
1914
  optionsVisible: boolean;
1667
1915
  readonly type: "optionsvisibilitychange";
1668
- readonly target: any;
1669
- };
1670
- pick: {
1671
- feature: Feature | undefined;
1672
- readonly type: "pick";
1673
- readonly target: any;
1916
+ readonly target: /*elided*/ any;
1674
1917
  };
1918
+ pick: /*elided*/ any;
1675
1919
  querychange: {
1676
1920
  query: string;
1677
1921
  readonly type: "querychange";
1678
- readonly target: any;
1922
+ readonly target: /*elided*/ any;
1679
1923
  };
1680
1924
  response: {
1681
1925
  url: string;
1682
1926
  featureCollection: FeatureCollection;
1683
1927
  readonly type: "response";
1684
- readonly target: any;
1928
+ readonly target: /*elided*/ any;
1685
1929
  };
1686
1930
  reversetoggle: {
1687
1931
  reverse: boolean;
1688
1932
  readonly type: "reversetoggle";
1689
- readonly target: any;
1933
+ readonly target: /*elided*/ any;
1690
1934
  };
1691
- }[T]) => void): any;
1935
+ }[T]) => void): /*elided*/ any;
1692
1936
  off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1693
1937
  select: {
1694
1938
  feature: Feature | undefined;
1695
1939
  readonly type: "select";
1696
- readonly target: any;
1940
+ readonly target: /*elided*/ any;
1697
1941
  };
1698
1942
  featureslisted: {
1699
1943
  features: Feature[] | undefined;
1700
1944
  readonly type: "featureslisted";
1701
- readonly target: any;
1945
+ readonly target: /*elided*/ any;
1702
1946
  };
1703
1947
  featuresmarked: {
1704
1948
  features: Feature[] | undefined;
1705
1949
  readonly type: "featuresmarked";
1706
- readonly target: any;
1950
+ readonly target: /*elided*/ any;
1707
1951
  };
1708
1952
  optionsvisibilitychange: {
1709
1953
  optionsVisible: boolean;
1710
1954
  readonly type: "optionsvisibilitychange";
1711
- readonly target: any;
1712
- };
1713
- pick: {
1714
- feature: Feature | undefined;
1715
- readonly type: "pick";
1716
- readonly target: any;
1955
+ readonly target: /*elided*/ any;
1717
1956
  };
1957
+ pick: /*elided*/ any;
1718
1958
  querychange: {
1719
1959
  query: string;
1720
1960
  readonly type: "querychange";
1721
- readonly target: any;
1961
+ readonly target: /*elided*/ any;
1722
1962
  };
1723
1963
  response: {
1724
1964
  url: string;
1725
1965
  featureCollection: FeatureCollection;
1726
1966
  readonly type: "response";
1727
- readonly target: any;
1967
+ readonly target: /*elided*/ any;
1728
1968
  };
1729
1969
  reversetoggle: {
1730
1970
  reverse: boolean;
1731
1971
  readonly type: "reversetoggle";
1732
- readonly target: any;
1972
+ readonly target: /*elided*/ any;
1733
1973
  };
1734
- }[T]) => void): any;
1974
+ }[T]) => void): /*elided*/ any;
1735
1975
  listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
1976
+ /**
1977
+ * Update the control options.
1978
+ *
1979
+ * @param options options to update
1980
+ */
1736
1981
  setOptions(options: OPTS): void;
1982
+ /**
1983
+ * Set the content of search input box.
1984
+ *
1985
+ * @param value text to set
1986
+ * @param submit perform the search
1987
+ */
1737
1988
  setQuery(value: string, submit?: boolean): void;
1989
+ /**
1990
+ * Clear geocoding search results from the map.
1991
+ */
1738
1992
  clearMap(): void;
1993
+ /**
1994
+ * Clear search result list.
1995
+ */
1739
1996
  clearList(): void;
1740
- setReverseMode(value: boolean): void;
1741
- focus(): void;
1997
+ /**
1998
+ * Set reverse geocoding mode.
1999
+ *
2000
+ * @param reverseActive reverse geocoding active
2001
+ */
2002
+ setReverseMode(reverseActive: boolean): void;
2003
+ /**
2004
+ * Focus the search input box.
2005
+ *
2006
+ * @param options [FocusOptions](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
2007
+ */
2008
+ focus(options?: FocusOptions): void;
2009
+ /**
2010
+ * Blur the search input box.
2011
+ */
1742
2012
  blur(): void;
1743
2013
  onRemove(): void;
1744
2014
  _listeners: import("maplibre-gl").Listeners;
@@ -1747,8 +2017,8 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
1747
2017
  _eventedParentData: any | (() => any);
1748
2018
  fire(event: {
1749
2019
  readonly type: string;
1750
- } | string, properties?: any): any;
1751
- setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
2020
+ } | string, properties?: any): /*elided*/ any;
2021
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): /*elided*/ any;
1752
2022
  };
1753
2023
  };
1754
2024
  };
@@ -1761,138 +2031,168 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
1761
2031
  select: {
1762
2032
  feature: Feature | undefined;
1763
2033
  readonly type: "select";
1764
- readonly target: any;
2034
+ readonly target: /*elided*/ any;
1765
2035
  };
1766
2036
  featureslisted: {
1767
2037
  features: Feature[] | undefined;
1768
2038
  readonly type: "featureslisted";
1769
- readonly target: any;
2039
+ readonly target: /*elided*/ any;
1770
2040
  };
1771
2041
  featuresmarked: {
1772
2042
  features: Feature[] | undefined;
1773
2043
  readonly type: "featuresmarked";
1774
- readonly target: any;
2044
+ readonly target: /*elided*/ any;
1775
2045
  };
1776
2046
  optionsvisibilitychange: {
1777
2047
  optionsVisible: boolean;
1778
2048
  readonly type: "optionsvisibilitychange";
1779
- readonly target: any;
2049
+ readonly target: /*elided*/ any;
1780
2050
  };
1781
2051
  pick: {
1782
2052
  feature: Feature | undefined;
1783
2053
  readonly type: "pick";
1784
- readonly target: any;
2054
+ readonly target: /*elided*/ any;
1785
2055
  };
1786
2056
  querychange: {
1787
2057
  query: string;
1788
2058
  readonly type: "querychange";
1789
- readonly target: any;
2059
+ readonly target: /*elided*/ any;
1790
2060
  };
1791
2061
  response: {
1792
2062
  url: string;
1793
2063
  featureCollection: FeatureCollection;
1794
2064
  readonly type: "response";
1795
- readonly target: any;
2065
+ readonly target: /*elided*/ any;
1796
2066
  };
1797
2067
  reversetoggle: {
1798
2068
  reverse: boolean;
1799
2069
  readonly type: "reversetoggle";
1800
- readonly target: any;
2070
+ readonly target: /*elided*/ any;
1801
2071
  };
1802
- }[T]) => void): any;
2072
+ }[T]) => void): /*elided*/ any;
1803
2073
  once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1804
2074
  select: {
1805
2075
  feature: Feature | undefined;
1806
2076
  readonly type: "select";
1807
- readonly target: any;
2077
+ readonly target: /*elided*/ any;
1808
2078
  };
1809
2079
  featureslisted: {
1810
2080
  features: Feature[] | undefined;
1811
2081
  readonly type: "featureslisted";
1812
- readonly target: any;
2082
+ readonly target: /*elided*/ any;
1813
2083
  };
1814
2084
  featuresmarked: {
1815
2085
  features: Feature[] | undefined;
1816
2086
  readonly type: "featuresmarked";
1817
- readonly target: any;
2087
+ readonly target: /*elided*/ any;
1818
2088
  };
1819
2089
  optionsvisibilitychange: {
1820
2090
  optionsVisible: boolean;
1821
2091
  readonly type: "optionsvisibilitychange";
1822
- readonly target: any;
2092
+ readonly target: /*elided*/ any;
1823
2093
  };
1824
2094
  pick: {
1825
2095
  feature: Feature | undefined;
1826
2096
  readonly type: "pick";
1827
- readonly target: any;
2097
+ readonly target: /*elided*/ any;
1828
2098
  };
1829
2099
  querychange: {
1830
2100
  query: string;
1831
2101
  readonly type: "querychange";
1832
- readonly target: any;
2102
+ readonly target: /*elided*/ any;
1833
2103
  };
1834
2104
  response: {
1835
2105
  url: string;
1836
2106
  featureCollection: FeatureCollection;
1837
2107
  readonly type: "response";
1838
- readonly target: any;
2108
+ readonly target: /*elided*/ any;
1839
2109
  };
1840
2110
  reversetoggle: {
1841
2111
  reverse: boolean;
1842
2112
  readonly type: "reversetoggle";
1843
- readonly target: any;
2113
+ readonly target: /*elided*/ any;
1844
2114
  };
1845
- }[T]) => void): any;
2115
+ }[T]) => void): /*elided*/ any;
1846
2116
  off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1847
2117
  select: {
1848
2118
  feature: Feature | undefined;
1849
2119
  readonly type: "select";
1850
- readonly target: any;
2120
+ readonly target: /*elided*/ any;
1851
2121
  };
1852
2122
  featureslisted: {
1853
2123
  features: Feature[] | undefined;
1854
2124
  readonly type: "featureslisted";
1855
- readonly target: any;
2125
+ readonly target: /*elided*/ any;
1856
2126
  };
1857
2127
  featuresmarked: {
1858
2128
  features: Feature[] | undefined;
1859
2129
  readonly type: "featuresmarked";
1860
- readonly target: any;
2130
+ readonly target: /*elided*/ any;
1861
2131
  };
1862
2132
  optionsvisibilitychange: {
1863
2133
  optionsVisible: boolean;
1864
2134
  readonly type: "optionsvisibilitychange";
1865
- readonly target: any;
2135
+ readonly target: /*elided*/ any;
1866
2136
  };
1867
2137
  pick: {
1868
2138
  feature: Feature | undefined;
1869
2139
  readonly type: "pick";
1870
- readonly target: any;
2140
+ readonly target: /*elided*/ any;
1871
2141
  };
1872
2142
  querychange: {
1873
2143
  query: string;
1874
2144
  readonly type: "querychange";
1875
- readonly target: any;
2145
+ readonly target: /*elided*/ any;
1876
2146
  };
1877
2147
  response: {
1878
2148
  url: string;
1879
2149
  featureCollection: FeatureCollection;
1880
2150
  readonly type: "response";
1881
- readonly target: any;
2151
+ readonly target: /*elided*/ any;
1882
2152
  };
1883
2153
  reversetoggle: {
1884
2154
  reverse: boolean;
1885
2155
  readonly type: "reversetoggle";
1886
- readonly target: any;
2156
+ readonly target: /*elided*/ any;
1887
2157
  };
1888
- }[T]) => void): any;
2158
+ }[T]) => void): /*elided*/ any;
1889
2159
  listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
2160
+ /**
2161
+ * Update the control options.
2162
+ *
2163
+ * @param options options to update
2164
+ */
1890
2165
  setOptions(options: OPTS): void;
2166
+ /**
2167
+ * Set the content of search input box.
2168
+ *
2169
+ * @param value text to set
2170
+ * @param submit perform the search
2171
+ */
1891
2172
  setQuery(value: string, submit?: boolean): void;
2173
+ /**
2174
+ * Clear geocoding search results from the map.
2175
+ */
1892
2176
  clearMap(): void;
2177
+ /**
2178
+ * Clear search result list.
2179
+ */
1893
2180
  clearList(): void;
1894
- setReverseMode(value: boolean): void;
1895
- focus(): void;
2181
+ /**
2182
+ * Set reverse geocoding mode.
2183
+ *
2184
+ * @param reverseActive reverse geocoding active
2185
+ */
2186
+ setReverseMode(reverseActive: boolean): void;
2187
+ /**
2188
+ * Focus the search input box.
2189
+ *
2190
+ * @param options [FocusOptions](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
2191
+ */
2192
+ focus(options?: FocusOptions): void;
2193
+ /**
2194
+ * Blur the search input box.
2195
+ */
1896
2196
  blur(): void;
1897
2197
  onRemove(): void;
1898
2198
  _listeners: import("maplibre-gl").Listeners;
@@ -1901,8 +2201,8 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
1901
2201
  _eventedParentData: any | (() => any);
1902
2202
  fire(event: {
1903
2203
  readonly type: string;
1904
- } | string, properties?: any): any;
1905
- setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
2204
+ } | string, properties?: any): /*elided*/ any;
2205
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): /*elided*/ any;
1906
2206
  }, query: string): {
1907
2207
  query: string;
1908
2208
  readonly type: "querychange";
@@ -1914,138 +2214,156 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
1914
2214
  select: {
1915
2215
  feature: Feature | undefined;
1916
2216
  readonly type: "select";
1917
- readonly target: any;
2217
+ readonly target: /*elided*/ any;
1918
2218
  };
1919
2219
  featureslisted: {
1920
2220
  features: Feature[] | undefined;
1921
2221
  readonly type: "featureslisted";
1922
- readonly target: any;
2222
+ readonly target: /*elided*/ any;
1923
2223
  };
1924
2224
  featuresmarked: {
1925
2225
  features: Feature[] | undefined;
1926
2226
  readonly type: "featuresmarked";
1927
- readonly target: any;
2227
+ readonly target: /*elided*/ any;
1928
2228
  };
1929
2229
  optionsvisibilitychange: {
1930
2230
  optionsVisible: boolean;
1931
2231
  readonly type: "optionsvisibilitychange";
1932
- readonly target: any;
2232
+ readonly target: /*elided*/ any;
1933
2233
  };
1934
2234
  pick: {
1935
2235
  feature: Feature | undefined;
1936
2236
  readonly type: "pick";
1937
- readonly target: any;
1938
- };
1939
- querychange: {
1940
- query: string;
1941
- readonly type: "querychange";
1942
- readonly target: any;
2237
+ readonly target: /*elided*/ any;
1943
2238
  };
2239
+ querychange: /*elided*/ any;
1944
2240
  response: {
1945
2241
  url: string;
1946
2242
  featureCollection: FeatureCollection;
1947
2243
  readonly type: "response";
1948
- readonly target: any;
2244
+ readonly target: /*elided*/ any;
1949
2245
  };
1950
2246
  reversetoggle: {
1951
2247
  reverse: boolean;
1952
2248
  readonly type: "reversetoggle";
1953
- readonly target: any;
2249
+ readonly target: /*elided*/ any;
1954
2250
  };
1955
- }[T]) => void): any;
2251
+ }[T]) => void): /*elided*/ any;
1956
2252
  once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1957
2253
  select: {
1958
2254
  feature: Feature | undefined;
1959
2255
  readonly type: "select";
1960
- readonly target: any;
2256
+ readonly target: /*elided*/ any;
1961
2257
  };
1962
2258
  featureslisted: {
1963
2259
  features: Feature[] | undefined;
1964
2260
  readonly type: "featureslisted";
1965
- readonly target: any;
2261
+ readonly target: /*elided*/ any;
1966
2262
  };
1967
2263
  featuresmarked: {
1968
2264
  features: Feature[] | undefined;
1969
2265
  readonly type: "featuresmarked";
1970
- readonly target: any;
2266
+ readonly target: /*elided*/ any;
1971
2267
  };
1972
2268
  optionsvisibilitychange: {
1973
2269
  optionsVisible: boolean;
1974
2270
  readonly type: "optionsvisibilitychange";
1975
- readonly target: any;
2271
+ readonly target: /*elided*/ any;
1976
2272
  };
1977
2273
  pick: {
1978
2274
  feature: Feature | undefined;
1979
2275
  readonly type: "pick";
1980
- readonly target: any;
1981
- };
1982
- querychange: {
1983
- query: string;
1984
- readonly type: "querychange";
1985
- readonly target: any;
2276
+ readonly target: /*elided*/ any;
1986
2277
  };
2278
+ querychange: /*elided*/ any;
1987
2279
  response: {
1988
2280
  url: string;
1989
2281
  featureCollection: FeatureCollection;
1990
2282
  readonly type: "response";
1991
- readonly target: any;
2283
+ readonly target: /*elided*/ any;
1992
2284
  };
1993
2285
  reversetoggle: {
1994
2286
  reverse: boolean;
1995
2287
  readonly type: "reversetoggle";
1996
- readonly target: any;
2288
+ readonly target: /*elided*/ any;
1997
2289
  };
1998
- }[T]) => void): any;
2290
+ }[T]) => void): /*elided*/ any;
1999
2291
  off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2000
2292
  select: {
2001
2293
  feature: Feature | undefined;
2002
2294
  readonly type: "select";
2003
- readonly target: any;
2295
+ readonly target: /*elided*/ any;
2004
2296
  };
2005
2297
  featureslisted: {
2006
2298
  features: Feature[] | undefined;
2007
2299
  readonly type: "featureslisted";
2008
- readonly target: any;
2300
+ readonly target: /*elided*/ any;
2009
2301
  };
2010
2302
  featuresmarked: {
2011
2303
  features: Feature[] | undefined;
2012
2304
  readonly type: "featuresmarked";
2013
- readonly target: any;
2305
+ readonly target: /*elided*/ any;
2014
2306
  };
2015
2307
  optionsvisibilitychange: {
2016
2308
  optionsVisible: boolean;
2017
2309
  readonly type: "optionsvisibilitychange";
2018
- readonly target: any;
2310
+ readonly target: /*elided*/ any;
2019
2311
  };
2020
2312
  pick: {
2021
2313
  feature: Feature | undefined;
2022
2314
  readonly type: "pick";
2023
- readonly target: any;
2024
- };
2025
- querychange: {
2026
- query: string;
2027
- readonly type: "querychange";
2028
- readonly target: any;
2315
+ readonly target: /*elided*/ any;
2029
2316
  };
2317
+ querychange: /*elided*/ any;
2030
2318
  response: {
2031
2319
  url: string;
2032
2320
  featureCollection: FeatureCollection;
2033
2321
  readonly type: "response";
2034
- readonly target: any;
2322
+ readonly target: /*elided*/ any;
2035
2323
  };
2036
2324
  reversetoggle: {
2037
2325
  reverse: boolean;
2038
2326
  readonly type: "reversetoggle";
2039
- readonly target: any;
2327
+ readonly target: /*elided*/ any;
2040
2328
  };
2041
- }[T]) => void): any;
2329
+ }[T]) => void): /*elided*/ any;
2042
2330
  listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
2331
+ /**
2332
+ * Update the control options.
2333
+ *
2334
+ * @param options options to update
2335
+ */
2043
2336
  setOptions(options: OPTS): void;
2337
+ /**
2338
+ * Set the content of search input box.
2339
+ *
2340
+ * @param value text to set
2341
+ * @param submit perform the search
2342
+ */
2044
2343
  setQuery(value: string, submit?: boolean): void;
2344
+ /**
2345
+ * Clear geocoding search results from the map.
2346
+ */
2045
2347
  clearMap(): void;
2348
+ /**
2349
+ * Clear search result list.
2350
+ */
2046
2351
  clearList(): void;
2047
- setReverseMode(value: boolean): void;
2048
- focus(): void;
2352
+ /**
2353
+ * Set reverse geocoding mode.
2354
+ *
2355
+ * @param reverseActive reverse geocoding active
2356
+ */
2357
+ setReverseMode(reverseActive: boolean): void;
2358
+ /**
2359
+ * Focus the search input box.
2360
+ *
2361
+ * @param options [FocusOptions](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
2362
+ */
2363
+ focus(options?: FocusOptions): void;
2364
+ /**
2365
+ * Blur the search input box.
2366
+ */
2049
2367
  blur(): void;
2050
2368
  onRemove(): void;
2051
2369
  _listeners: import("maplibre-gl").Listeners;
@@ -2054,8 +2372,8 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
2054
2372
  _eventedParentData: any | (() => any);
2055
2373
  fire(event: {
2056
2374
  readonly type: string;
2057
- } | string, properties?: any): any;
2058
- setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
2375
+ } | string, properties?: any): /*elided*/ any;
2376
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): /*elided*/ any;
2059
2377
  };
2060
2378
  };
2061
2379
  };
@@ -2068,138 +2386,168 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
2068
2386
  select: {
2069
2387
  feature: Feature | undefined;
2070
2388
  readonly type: "select";
2071
- readonly target: any;
2389
+ readonly target: /*elided*/ any;
2072
2390
  };
2073
2391
  featureslisted: {
2074
2392
  features: Feature[] | undefined;
2075
2393
  readonly type: "featureslisted";
2076
- readonly target: any;
2394
+ readonly target: /*elided*/ any;
2077
2395
  };
2078
2396
  featuresmarked: {
2079
2397
  features: Feature[] | undefined;
2080
2398
  readonly type: "featuresmarked";
2081
- readonly target: any;
2399
+ readonly target: /*elided*/ any;
2082
2400
  };
2083
2401
  optionsvisibilitychange: {
2084
2402
  optionsVisible: boolean;
2085
2403
  readonly type: "optionsvisibilitychange";
2086
- readonly target: any;
2404
+ readonly target: /*elided*/ any;
2087
2405
  };
2088
2406
  pick: {
2089
2407
  feature: Feature | undefined;
2090
2408
  readonly type: "pick";
2091
- readonly target: any;
2409
+ readonly target: /*elided*/ any;
2092
2410
  };
2093
2411
  querychange: {
2094
2412
  query: string;
2095
2413
  readonly type: "querychange";
2096
- readonly target: any;
2414
+ readonly target: /*elided*/ any;
2097
2415
  };
2098
2416
  response: {
2099
2417
  url: string;
2100
2418
  featureCollection: FeatureCollection;
2101
2419
  readonly type: "response";
2102
- readonly target: any;
2420
+ readonly target: /*elided*/ any;
2103
2421
  };
2104
2422
  reversetoggle: {
2105
2423
  reverse: boolean;
2106
2424
  readonly type: "reversetoggle";
2107
- readonly target: any;
2425
+ readonly target: /*elided*/ any;
2108
2426
  };
2109
- }[T]) => void): any;
2427
+ }[T]) => void): /*elided*/ any;
2110
2428
  once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2111
2429
  select: {
2112
2430
  feature: Feature | undefined;
2113
2431
  readonly type: "select";
2114
- readonly target: any;
2432
+ readonly target: /*elided*/ any;
2115
2433
  };
2116
2434
  featureslisted: {
2117
2435
  features: Feature[] | undefined;
2118
2436
  readonly type: "featureslisted";
2119
- readonly target: any;
2437
+ readonly target: /*elided*/ any;
2120
2438
  };
2121
2439
  featuresmarked: {
2122
2440
  features: Feature[] | undefined;
2123
2441
  readonly type: "featuresmarked";
2124
- readonly target: any;
2442
+ readonly target: /*elided*/ any;
2125
2443
  };
2126
2444
  optionsvisibilitychange: {
2127
2445
  optionsVisible: boolean;
2128
2446
  readonly type: "optionsvisibilitychange";
2129
- readonly target: any;
2447
+ readonly target: /*elided*/ any;
2130
2448
  };
2131
2449
  pick: {
2132
2450
  feature: Feature | undefined;
2133
2451
  readonly type: "pick";
2134
- readonly target: any;
2452
+ readonly target: /*elided*/ any;
2135
2453
  };
2136
2454
  querychange: {
2137
2455
  query: string;
2138
2456
  readonly type: "querychange";
2139
- readonly target: any;
2457
+ readonly target: /*elided*/ any;
2140
2458
  };
2141
2459
  response: {
2142
2460
  url: string;
2143
2461
  featureCollection: FeatureCollection;
2144
2462
  readonly type: "response";
2145
- readonly target: any;
2463
+ readonly target: /*elided*/ any;
2146
2464
  };
2147
2465
  reversetoggle: {
2148
2466
  reverse: boolean;
2149
2467
  readonly type: "reversetoggle";
2150
- readonly target: any;
2468
+ readonly target: /*elided*/ any;
2151
2469
  };
2152
- }[T]) => void): any;
2470
+ }[T]) => void): /*elided*/ any;
2153
2471
  off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2154
2472
  select: {
2155
2473
  feature: Feature | undefined;
2156
2474
  readonly type: "select";
2157
- readonly target: any;
2475
+ readonly target: /*elided*/ any;
2158
2476
  };
2159
2477
  featureslisted: {
2160
2478
  features: Feature[] | undefined;
2161
2479
  readonly type: "featureslisted";
2162
- readonly target: any;
2480
+ readonly target: /*elided*/ any;
2163
2481
  };
2164
2482
  featuresmarked: {
2165
2483
  features: Feature[] | undefined;
2166
2484
  readonly type: "featuresmarked";
2167
- readonly target: any;
2485
+ readonly target: /*elided*/ any;
2168
2486
  };
2169
2487
  optionsvisibilitychange: {
2170
2488
  optionsVisible: boolean;
2171
2489
  readonly type: "optionsvisibilitychange";
2172
- readonly target: any;
2490
+ readonly target: /*elided*/ any;
2173
2491
  };
2174
2492
  pick: {
2175
2493
  feature: Feature | undefined;
2176
2494
  readonly type: "pick";
2177
- readonly target: any;
2495
+ readonly target: /*elided*/ any;
2178
2496
  };
2179
2497
  querychange: {
2180
2498
  query: string;
2181
2499
  readonly type: "querychange";
2182
- readonly target: any;
2500
+ readonly target: /*elided*/ any;
2183
2501
  };
2184
2502
  response: {
2185
2503
  url: string;
2186
2504
  featureCollection: FeatureCollection;
2187
2505
  readonly type: "response";
2188
- readonly target: any;
2506
+ readonly target: /*elided*/ any;
2189
2507
  };
2190
2508
  reversetoggle: {
2191
2509
  reverse: boolean;
2192
2510
  readonly type: "reversetoggle";
2193
- readonly target: any;
2511
+ readonly target: /*elided*/ any;
2194
2512
  };
2195
- }[T]) => void): any;
2513
+ }[T]) => void): /*elided*/ any;
2196
2514
  listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
2515
+ /**
2516
+ * Update the control options.
2517
+ *
2518
+ * @param options options to update
2519
+ */
2197
2520
  setOptions(options: OPTS): void;
2521
+ /**
2522
+ * Set the content of search input box.
2523
+ *
2524
+ * @param value text to set
2525
+ * @param submit perform the search
2526
+ */
2198
2527
  setQuery(value: string, submit?: boolean): void;
2528
+ /**
2529
+ * Clear geocoding search results from the map.
2530
+ */
2199
2531
  clearMap(): void;
2532
+ /**
2533
+ * Clear search result list.
2534
+ */
2200
2535
  clearList(): void;
2201
- setReverseMode(value: boolean): void;
2202
- focus(): void;
2536
+ /**
2537
+ * Set reverse geocoding mode.
2538
+ *
2539
+ * @param reverseActive reverse geocoding active
2540
+ */
2541
+ setReverseMode(reverseActive: boolean): void;
2542
+ /**
2543
+ * Focus the search input box.
2544
+ *
2545
+ * @param options [FocusOptions](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
2546
+ */
2547
+ focus(options?: FocusOptions): void;
2548
+ /**
2549
+ * Blur the search input box.
2550
+ */
2203
2551
  blur(): void;
2204
2552
  onRemove(): void;
2205
2553
  _listeners: import("maplibre-gl").Listeners;
@@ -2208,8 +2556,8 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
2208
2556
  _eventedParentData: any | (() => any);
2209
2557
  fire(event: {
2210
2558
  readonly type: string;
2211
- } | string, properties?: any): any;
2212
- setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
2559
+ } | string, properties?: any): /*elided*/ any;
2560
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): /*elided*/ any;
2213
2561
  }, url: string, featureCollection: FeatureCollection): {
2214
2562
  url: string;
2215
2563
  featureCollection: FeatureCollection;
@@ -2222,138 +2570,153 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
2222
2570
  select: {
2223
2571
  feature: Feature | undefined;
2224
2572
  readonly type: "select";
2225
- readonly target: any;
2573
+ readonly target: /*elided*/ any;
2226
2574
  };
2227
2575
  featureslisted: {
2228
2576
  features: Feature[] | undefined;
2229
2577
  readonly type: "featureslisted";
2230
- readonly target: any;
2578
+ readonly target: /*elided*/ any;
2231
2579
  };
2232
2580
  featuresmarked: {
2233
2581
  features: Feature[] | undefined;
2234
2582
  readonly type: "featuresmarked";
2235
- readonly target: any;
2583
+ readonly target: /*elided*/ any;
2236
2584
  };
2237
2585
  optionsvisibilitychange: {
2238
2586
  optionsVisible: boolean;
2239
2587
  readonly type: "optionsvisibilitychange";
2240
- readonly target: any;
2588
+ readonly target: /*elided*/ any;
2241
2589
  };
2242
2590
  pick: {
2243
2591
  feature: Feature | undefined;
2244
2592
  readonly type: "pick";
2245
- readonly target: any;
2593
+ readonly target: /*elided*/ any;
2246
2594
  };
2247
2595
  querychange: {
2248
2596
  query: string;
2249
2597
  readonly type: "querychange";
2250
- readonly target: any;
2251
- };
2252
- response: {
2253
- url: string;
2254
- featureCollection: FeatureCollection;
2255
- readonly type: "response";
2256
- readonly target: any;
2598
+ readonly target: /*elided*/ any;
2257
2599
  };
2600
+ response: /*elided*/ any;
2258
2601
  reversetoggle: {
2259
2602
  reverse: boolean;
2260
2603
  readonly type: "reversetoggle";
2261
- readonly target: any;
2604
+ readonly target: /*elided*/ any;
2262
2605
  };
2263
- }[T]) => void): any;
2606
+ }[T]) => void): /*elided*/ any;
2264
2607
  once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2265
2608
  select: {
2266
2609
  feature: Feature | undefined;
2267
2610
  readonly type: "select";
2268
- readonly target: any;
2611
+ readonly target: /*elided*/ any;
2269
2612
  };
2270
2613
  featureslisted: {
2271
2614
  features: Feature[] | undefined;
2272
2615
  readonly type: "featureslisted";
2273
- readonly target: any;
2616
+ readonly target: /*elided*/ any;
2274
2617
  };
2275
2618
  featuresmarked: {
2276
2619
  features: Feature[] | undefined;
2277
2620
  readonly type: "featuresmarked";
2278
- readonly target: any;
2621
+ readonly target: /*elided*/ any;
2279
2622
  };
2280
2623
  optionsvisibilitychange: {
2281
2624
  optionsVisible: boolean;
2282
2625
  readonly type: "optionsvisibilitychange";
2283
- readonly target: any;
2626
+ readonly target: /*elided*/ any;
2284
2627
  };
2285
2628
  pick: {
2286
2629
  feature: Feature | undefined;
2287
2630
  readonly type: "pick";
2288
- readonly target: any;
2631
+ readonly target: /*elided*/ any;
2289
2632
  };
2290
2633
  querychange: {
2291
2634
  query: string;
2292
2635
  readonly type: "querychange";
2293
- readonly target: any;
2294
- };
2295
- response: {
2296
- url: string;
2297
- featureCollection: FeatureCollection;
2298
- readonly type: "response";
2299
- readonly target: any;
2636
+ readonly target: /*elided*/ any;
2300
2637
  };
2638
+ response: /*elided*/ any;
2301
2639
  reversetoggle: {
2302
2640
  reverse: boolean;
2303
2641
  readonly type: "reversetoggle";
2304
- readonly target: any;
2642
+ readonly target: /*elided*/ any;
2305
2643
  };
2306
- }[T]) => void): any;
2644
+ }[T]) => void): /*elided*/ any;
2307
2645
  off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2308
2646
  select: {
2309
2647
  feature: Feature | undefined;
2310
2648
  readonly type: "select";
2311
- readonly target: any;
2649
+ readonly target: /*elided*/ any;
2312
2650
  };
2313
2651
  featureslisted: {
2314
2652
  features: Feature[] | undefined;
2315
2653
  readonly type: "featureslisted";
2316
- readonly target: any;
2654
+ readonly target: /*elided*/ any;
2317
2655
  };
2318
2656
  featuresmarked: {
2319
2657
  features: Feature[] | undefined;
2320
2658
  readonly type: "featuresmarked";
2321
- readonly target: any;
2659
+ readonly target: /*elided*/ any;
2322
2660
  };
2323
2661
  optionsvisibilitychange: {
2324
2662
  optionsVisible: boolean;
2325
2663
  readonly type: "optionsvisibilitychange";
2326
- readonly target: any;
2664
+ readonly target: /*elided*/ any;
2327
2665
  };
2328
2666
  pick: {
2329
2667
  feature: Feature | undefined;
2330
2668
  readonly type: "pick";
2331
- readonly target: any;
2669
+ readonly target: /*elided*/ any;
2332
2670
  };
2333
2671
  querychange: {
2334
2672
  query: string;
2335
2673
  readonly type: "querychange";
2336
- readonly target: any;
2337
- };
2338
- response: {
2339
- url: string;
2340
- featureCollection: FeatureCollection;
2341
- readonly type: "response";
2342
- readonly target: any;
2674
+ readonly target: /*elided*/ any;
2343
2675
  };
2676
+ response: /*elided*/ any;
2344
2677
  reversetoggle: {
2345
2678
  reverse: boolean;
2346
2679
  readonly type: "reversetoggle";
2347
- readonly target: any;
2680
+ readonly target: /*elided*/ any;
2348
2681
  };
2349
- }[T]) => void): any;
2682
+ }[T]) => void): /*elided*/ any;
2350
2683
  listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
2684
+ /**
2685
+ * Update the control options.
2686
+ *
2687
+ * @param options options to update
2688
+ */
2351
2689
  setOptions(options: OPTS): void;
2690
+ /**
2691
+ * Set the content of search input box.
2692
+ *
2693
+ * @param value text to set
2694
+ * @param submit perform the search
2695
+ */
2352
2696
  setQuery(value: string, submit?: boolean): void;
2697
+ /**
2698
+ * Clear geocoding search results from the map.
2699
+ */
2353
2700
  clearMap(): void;
2701
+ /**
2702
+ * Clear search result list.
2703
+ */
2354
2704
  clearList(): void;
2355
- setReverseMode(value: boolean): void;
2356
- focus(): void;
2705
+ /**
2706
+ * Set reverse geocoding mode.
2707
+ *
2708
+ * @param reverseActive reverse geocoding active
2709
+ */
2710
+ setReverseMode(reverseActive: boolean): void;
2711
+ /**
2712
+ * Focus the search input box.
2713
+ *
2714
+ * @param options [FocusOptions](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
2715
+ */
2716
+ focus(options?: FocusOptions): void;
2717
+ /**
2718
+ * Blur the search input box.
2719
+ */
2357
2720
  blur(): void;
2358
2721
  onRemove(): void;
2359
2722
  _listeners: import("maplibre-gl").Listeners;
@@ -2362,8 +2725,8 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
2362
2725
  _eventedParentData: any | (() => any);
2363
2726
  fire(event: {
2364
2727
  readonly type: string;
2365
- } | string, properties?: any): any;
2366
- setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
2728
+ } | string, properties?: any): /*elided*/ any;
2729
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): /*elided*/ any;
2367
2730
  };
2368
2731
  };
2369
2732
  };
@@ -2376,138 +2739,168 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
2376
2739
  select: {
2377
2740
  feature: Feature | undefined;
2378
2741
  readonly type: "select";
2379
- readonly target: any;
2742
+ readonly target: /*elided*/ any;
2380
2743
  };
2381
2744
  featureslisted: {
2382
2745
  features: Feature[] | undefined;
2383
2746
  readonly type: "featureslisted";
2384
- readonly target: any;
2747
+ readonly target: /*elided*/ any;
2385
2748
  };
2386
2749
  featuresmarked: {
2387
2750
  features: Feature[] | undefined;
2388
2751
  readonly type: "featuresmarked";
2389
- readonly target: any;
2752
+ readonly target: /*elided*/ any;
2390
2753
  };
2391
2754
  optionsvisibilitychange: {
2392
2755
  optionsVisible: boolean;
2393
2756
  readonly type: "optionsvisibilitychange";
2394
- readonly target: any;
2757
+ readonly target: /*elided*/ any;
2395
2758
  };
2396
2759
  pick: {
2397
2760
  feature: Feature | undefined;
2398
2761
  readonly type: "pick";
2399
- readonly target: any;
2762
+ readonly target: /*elided*/ any;
2400
2763
  };
2401
2764
  querychange: {
2402
2765
  query: string;
2403
2766
  readonly type: "querychange";
2404
- readonly target: any;
2767
+ readonly target: /*elided*/ any;
2405
2768
  };
2406
2769
  response: {
2407
2770
  url: string;
2408
2771
  featureCollection: FeatureCollection;
2409
2772
  readonly type: "response";
2410
- readonly target: any;
2773
+ readonly target: /*elided*/ any;
2411
2774
  };
2412
2775
  reversetoggle: {
2413
2776
  reverse: boolean;
2414
2777
  readonly type: "reversetoggle";
2415
- readonly target: any;
2778
+ readonly target: /*elided*/ any;
2416
2779
  };
2417
- }[T]) => void): any;
2780
+ }[T]) => void): /*elided*/ any;
2418
2781
  once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2419
2782
  select: {
2420
2783
  feature: Feature | undefined;
2421
2784
  readonly type: "select";
2422
- readonly target: any;
2785
+ readonly target: /*elided*/ any;
2423
2786
  };
2424
2787
  featureslisted: {
2425
2788
  features: Feature[] | undefined;
2426
2789
  readonly type: "featureslisted";
2427
- readonly target: any;
2790
+ readonly target: /*elided*/ any;
2428
2791
  };
2429
2792
  featuresmarked: {
2430
2793
  features: Feature[] | undefined;
2431
2794
  readonly type: "featuresmarked";
2432
- readonly target: any;
2795
+ readonly target: /*elided*/ any;
2433
2796
  };
2434
2797
  optionsvisibilitychange: {
2435
2798
  optionsVisible: boolean;
2436
2799
  readonly type: "optionsvisibilitychange";
2437
- readonly target: any;
2800
+ readonly target: /*elided*/ any;
2438
2801
  };
2439
2802
  pick: {
2440
2803
  feature: Feature | undefined;
2441
2804
  readonly type: "pick";
2442
- readonly target: any;
2805
+ readonly target: /*elided*/ any;
2443
2806
  };
2444
2807
  querychange: {
2445
2808
  query: string;
2446
2809
  readonly type: "querychange";
2447
- readonly target: any;
2810
+ readonly target: /*elided*/ any;
2448
2811
  };
2449
2812
  response: {
2450
2813
  url: string;
2451
2814
  featureCollection: FeatureCollection;
2452
2815
  readonly type: "response";
2453
- readonly target: any;
2816
+ readonly target: /*elided*/ any;
2454
2817
  };
2455
2818
  reversetoggle: {
2456
2819
  reverse: boolean;
2457
2820
  readonly type: "reversetoggle";
2458
- readonly target: any;
2821
+ readonly target: /*elided*/ any;
2459
2822
  };
2460
- }[T]) => void): any;
2823
+ }[T]) => void): /*elided*/ any;
2461
2824
  off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2462
2825
  select: {
2463
2826
  feature: Feature | undefined;
2464
2827
  readonly type: "select";
2465
- readonly target: any;
2828
+ readonly target: /*elided*/ any;
2466
2829
  };
2467
2830
  featureslisted: {
2468
2831
  features: Feature[] | undefined;
2469
2832
  readonly type: "featureslisted";
2470
- readonly target: any;
2833
+ readonly target: /*elided*/ any;
2471
2834
  };
2472
2835
  featuresmarked: {
2473
2836
  features: Feature[] | undefined;
2474
2837
  readonly type: "featuresmarked";
2475
- readonly target: any;
2838
+ readonly target: /*elided*/ any;
2476
2839
  };
2477
2840
  optionsvisibilitychange: {
2478
2841
  optionsVisible: boolean;
2479
2842
  readonly type: "optionsvisibilitychange";
2480
- readonly target: any;
2843
+ readonly target: /*elided*/ any;
2481
2844
  };
2482
2845
  pick: {
2483
2846
  feature: Feature | undefined;
2484
2847
  readonly type: "pick";
2485
- readonly target: any;
2848
+ readonly target: /*elided*/ any;
2486
2849
  };
2487
2850
  querychange: {
2488
2851
  query: string;
2489
2852
  readonly type: "querychange";
2490
- readonly target: any;
2853
+ readonly target: /*elided*/ any;
2491
2854
  };
2492
2855
  response: {
2493
2856
  url: string;
2494
2857
  featureCollection: FeatureCollection;
2495
2858
  readonly type: "response";
2496
- readonly target: any;
2859
+ readonly target: /*elided*/ any;
2497
2860
  };
2498
2861
  reversetoggle: {
2499
2862
  reverse: boolean;
2500
2863
  readonly type: "reversetoggle";
2501
- readonly target: any;
2864
+ readonly target: /*elided*/ any;
2502
2865
  };
2503
- }[T]) => void): any;
2866
+ }[T]) => void): /*elided*/ any;
2504
2867
  listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
2868
+ /**
2869
+ * Update the control options.
2870
+ *
2871
+ * @param options options to update
2872
+ */
2505
2873
  setOptions(options: OPTS): void;
2874
+ /**
2875
+ * Set the content of search input box.
2876
+ *
2877
+ * @param value text to set
2878
+ * @param submit perform the search
2879
+ */
2506
2880
  setQuery(value: string, submit?: boolean): void;
2881
+ /**
2882
+ * Clear geocoding search results from the map.
2883
+ */
2507
2884
  clearMap(): void;
2885
+ /**
2886
+ * Clear search result list.
2887
+ */
2508
2888
  clearList(): void;
2509
- setReverseMode(value: boolean): void;
2510
- focus(): void;
2889
+ /**
2890
+ * Set reverse geocoding mode.
2891
+ *
2892
+ * @param reverseActive reverse geocoding active
2893
+ */
2894
+ setReverseMode(reverseActive: boolean): void;
2895
+ /**
2896
+ * Focus the search input box.
2897
+ *
2898
+ * @param options [FocusOptions](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
2899
+ */
2900
+ focus(options?: FocusOptions): void;
2901
+ /**
2902
+ * Blur the search input box.
2903
+ */
2511
2904
  blur(): void;
2512
2905
  onRemove(): void;
2513
2906
  _listeners: import("maplibre-gl").Listeners;
@@ -2516,8 +2909,8 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
2516
2909
  _eventedParentData: any | (() => any);
2517
2910
  fire(event: {
2518
2911
  readonly type: string;
2519
- } | string, properties?: any): any;
2520
- setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
2912
+ } | string, properties?: any): /*elided*/ any;
2913
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): /*elided*/ any;
2521
2914
  }, reverse: boolean): {
2522
2915
  reverse: boolean;
2523
2916
  readonly type: "reversetoggle";
@@ -2529,138 +2922,156 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
2529
2922
  select: {
2530
2923
  feature: Feature | undefined;
2531
2924
  readonly type: "select";
2532
- readonly target: any;
2925
+ readonly target: /*elided*/ any;
2533
2926
  };
2534
2927
  featureslisted: {
2535
2928
  features: Feature[] | undefined;
2536
2929
  readonly type: "featureslisted";
2537
- readonly target: any;
2930
+ readonly target: /*elided*/ any;
2538
2931
  };
2539
2932
  featuresmarked: {
2540
2933
  features: Feature[] | undefined;
2541
2934
  readonly type: "featuresmarked";
2542
- readonly target: any;
2935
+ readonly target: /*elided*/ any;
2543
2936
  };
2544
2937
  optionsvisibilitychange: {
2545
2938
  optionsVisible: boolean;
2546
2939
  readonly type: "optionsvisibilitychange";
2547
- readonly target: any;
2940
+ readonly target: /*elided*/ any;
2548
2941
  };
2549
2942
  pick: {
2550
2943
  feature: Feature | undefined;
2551
2944
  readonly type: "pick";
2552
- readonly target: any;
2945
+ readonly target: /*elided*/ any;
2553
2946
  };
2554
2947
  querychange: {
2555
2948
  query: string;
2556
2949
  readonly type: "querychange";
2557
- readonly target: any;
2950
+ readonly target: /*elided*/ any;
2558
2951
  };
2559
2952
  response: {
2560
2953
  url: string;
2561
2954
  featureCollection: FeatureCollection;
2562
2955
  readonly type: "response";
2563
- readonly target: any;
2956
+ readonly target: /*elided*/ any;
2564
2957
  };
2565
- reversetoggle: {
2566
- reverse: boolean;
2567
- readonly type: "reversetoggle";
2568
- readonly target: any;
2569
- };
2570
- }[T]) => void): any;
2958
+ reversetoggle: /*elided*/ any;
2959
+ }[T]) => void): /*elided*/ any;
2571
2960
  once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2572
2961
  select: {
2573
2962
  feature: Feature | undefined;
2574
2963
  readonly type: "select";
2575
- readonly target: any;
2964
+ readonly target: /*elided*/ any;
2576
2965
  };
2577
2966
  featureslisted: {
2578
2967
  features: Feature[] | undefined;
2579
2968
  readonly type: "featureslisted";
2580
- readonly target: any;
2969
+ readonly target: /*elided*/ any;
2581
2970
  };
2582
2971
  featuresmarked: {
2583
2972
  features: Feature[] | undefined;
2584
2973
  readonly type: "featuresmarked";
2585
- readonly target: any;
2974
+ readonly target: /*elided*/ any;
2586
2975
  };
2587
2976
  optionsvisibilitychange: {
2588
2977
  optionsVisible: boolean;
2589
2978
  readonly type: "optionsvisibilitychange";
2590
- readonly target: any;
2979
+ readonly target: /*elided*/ any;
2591
2980
  };
2592
2981
  pick: {
2593
2982
  feature: Feature | undefined;
2594
2983
  readonly type: "pick";
2595
- readonly target: any;
2984
+ readonly target: /*elided*/ any;
2596
2985
  };
2597
2986
  querychange: {
2598
2987
  query: string;
2599
2988
  readonly type: "querychange";
2600
- readonly target: any;
2989
+ readonly target: /*elided*/ any;
2601
2990
  };
2602
2991
  response: {
2603
2992
  url: string;
2604
2993
  featureCollection: FeatureCollection;
2605
2994
  readonly type: "response";
2606
- readonly target: any;
2607
- };
2608
- reversetoggle: {
2609
- reverse: boolean;
2610
- readonly type: "reversetoggle";
2611
- readonly target: any;
2995
+ readonly target: /*elided*/ any;
2612
2996
  };
2613
- }[T]) => void): any;
2997
+ reversetoggle: /*elided*/ any;
2998
+ }[T]) => void): /*elided*/ any;
2614
2999
  off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2615
3000
  select: {
2616
3001
  feature: Feature | undefined;
2617
3002
  readonly type: "select";
2618
- readonly target: any;
3003
+ readonly target: /*elided*/ any;
2619
3004
  };
2620
3005
  featureslisted: {
2621
3006
  features: Feature[] | undefined;
2622
3007
  readonly type: "featureslisted";
2623
- readonly target: any;
3008
+ readonly target: /*elided*/ any;
2624
3009
  };
2625
3010
  featuresmarked: {
2626
3011
  features: Feature[] | undefined;
2627
3012
  readonly type: "featuresmarked";
2628
- readonly target: any;
3013
+ readonly target: /*elided*/ any;
2629
3014
  };
2630
3015
  optionsvisibilitychange: {
2631
3016
  optionsVisible: boolean;
2632
3017
  readonly type: "optionsvisibilitychange";
2633
- readonly target: any;
3018
+ readonly target: /*elided*/ any;
2634
3019
  };
2635
3020
  pick: {
2636
3021
  feature: Feature | undefined;
2637
3022
  readonly type: "pick";
2638
- readonly target: any;
3023
+ readonly target: /*elided*/ any;
2639
3024
  };
2640
3025
  querychange: {
2641
3026
  query: string;
2642
3027
  readonly type: "querychange";
2643
- readonly target: any;
3028
+ readonly target: /*elided*/ any;
2644
3029
  };
2645
3030
  response: {
2646
3031
  url: string;
2647
3032
  featureCollection: FeatureCollection;
2648
3033
  readonly type: "response";
2649
- readonly target: any;
2650
- };
2651
- reversetoggle: {
2652
- reverse: boolean;
2653
- readonly type: "reversetoggle";
2654
- readonly target: any;
3034
+ readonly target: /*elided*/ any;
2655
3035
  };
2656
- }[T]) => void): any;
3036
+ reversetoggle: /*elided*/ any;
3037
+ }[T]) => void): /*elided*/ any;
2657
3038
  listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
3039
+ /**
3040
+ * Update the control options.
3041
+ *
3042
+ * @param options options to update
3043
+ */
2658
3044
  setOptions(options: OPTS): void;
3045
+ /**
3046
+ * Set the content of search input box.
3047
+ *
3048
+ * @param value text to set
3049
+ * @param submit perform the search
3050
+ */
2659
3051
  setQuery(value: string, submit?: boolean): void;
3052
+ /**
3053
+ * Clear geocoding search results from the map.
3054
+ */
2660
3055
  clearMap(): void;
3056
+ /**
3057
+ * Clear search result list.
3058
+ */
2661
3059
  clearList(): void;
2662
- setReverseMode(value: boolean): void;
2663
- focus(): void;
3060
+ /**
3061
+ * Set reverse geocoding mode.
3062
+ *
3063
+ * @param reverseActive reverse geocoding active
3064
+ */
3065
+ setReverseMode(reverseActive: boolean): void;
3066
+ /**
3067
+ * Focus the search input box.
3068
+ *
3069
+ * @param options [FocusOptions](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
3070
+ */
3071
+ focus(options?: FocusOptions): void;
3072
+ /**
3073
+ * Blur the search input box.
3074
+ */
2664
3075
  blur(): void;
2665
3076
  onRemove(): void;
2666
3077
  _listeners: import("maplibre-gl").Listeners;
@@ -2669,8 +3080,8 @@ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Ev
2669
3080
  _eventedParentData: any | (() => any);
2670
3081
  fire(event: {
2671
3082
  readonly type: string;
2672
- } | string, properties?: any): any;
2673
- setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
3083
+ } | string, properties?: any): /*elided*/ any;
3084
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): /*elided*/ any;
2674
3085
  };
2675
3086
  };
2676
3087
  };