@tomtom-org/maps-sdk 0.54.0 → 0.56.0

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.
@@ -1,5 +1,5 @@
1
1
  import { ZodError, ZodIssue, ZodObject } from "zod";
2
- import { AddressProperties, AreaAnalyticsMetricKey, Avoidable, BBox, ChargingPark, ChargingParkWithAvailability, ChargingStation, ChargingStationsAccessType, ChargingStationsAvailability, ChargingStopProps, CommonPlaceProps, Connector, ConnectorType, CurrentType, EVChargingStationWithAvailabilityPlaceProps, EntryPoint, Fuel, GeographyType, GetPositionEntryPointOption, GlobalConfig, HasBBox, HasLngLat, MapcodeType, OpeningHours, OpeningHoursMode, POICategory, Place, PlaceType, Places, PlugType, PolygonFeature, PolygonFeatures, RevGeoAddressProps, RoadShieldReference, Route, RoutePlanningLocation, Routes, SearchPlaceProps, TimeZone, TomTomAPIHeaders, TomTomHeaders, TrafficAreaAnalytics, TrafficIncidentDetails, TrafficIncidentRequestCategory, TrafficIncidentTEC, TrafficIncidentTimeValidity, TravelMode, View, inputSectionTypes } from "@tomtom-org/maps-sdk/core";
2
+ import { AddressProperties, AreaAnalyticsMetricKey, Avoidable, ChargingPark, ChargingParkWithAvailability, ChargingStation, ChargingStationsAccessType, ChargingStationsAvailability, ChargingStopProps, CommonPlaceProps, Connector, ConnectorType, CurrentType, EVChargingStationWithAvailabilityPlaceProps, EntryPoint, Fuel, GeographyType, GetPositionEntryPointOption, GlobalConfig, HasBBox, HasLngLat, MapcodeType, OpeningHours, OpeningHoursMode, POICategory, Place, PlaceType, Places, PlugType, PolygonFeature, PolygonFeatures, RevGeoAddressProps, RoadShieldReference, Route, RoutePlanningLocation, Routes, SearchPlaceProps, TimeZone, TomTomAPIHeaders, TomTomHeaders, TrafficAreaAnalytics, TrafficIncidentDetails, TrafficIncidentRequestCategory, TrafficIncidentTEC, TrafficIncidentTimeValidity, TravelMode, View, inputSectionTypes } from "@tomtom-org/maps-sdk/core";
3
3
  //#region src/shared/types/apiResponseErrorTypes.d.ts
4
4
  /**
5
5
  * @ignore
@@ -425,6 +425,66 @@ export declare const buildResponseError: (error: unknown, serviceName: ServiceNa
425
425
  */
426
426
  export declare const buildValidationError: (error: ValidationError, serviceName: ServiceName) => SDKError;
427
427
  //#endregion
428
+ //#region src/shared/types/geoBias.d.ts
429
+ /**
430
+ * A point to search around, optionally bounded by a radius.
431
+ *
432
+ * @remarks
433
+ * Without `radiusMeters` the point biases the ranking without restricting results; with it, results
434
+ * are confined to that circle.
435
+ *
436
+ * @group Search
437
+ */
438
+ export type PointGeoBias = {
439
+ /**
440
+ * The point to search around, as `[longitude, latitude]` or any GeoJSON form carrying one.
441
+ */
442
+ position: HasLngLat;
443
+ /**
444
+ * Radius around `position`, in metres. Values of zero or less are ignored by the API.
445
+ */
446
+ radiusMeters?: number;
447
+ };
448
+ /**
449
+ * A rectangle to confine results to.
450
+ *
451
+ * @group Search
452
+ */
453
+ export type BoundingBoxGeoBias = {
454
+ /**
455
+ * The rectangle, as `[minLongitude, minLatitude, maxLongitude, maxLatitude]` or any GeoJSON
456
+ * value a bounding box can be derived from — a `bbox` property, a Feature, or a geometry.
457
+ */
458
+ boundingBox: HasBBox;
459
+ };
460
+ /**
461
+ * Where to look: a point with an optional radius, or a bounding box — one or the other.
462
+ *
463
+ * @remarks
464
+ * The two cannot be combined, which is why they are a union rather than separate options: an
465
+ * endpoint applies exactly one geographic bias per request.
466
+ *
467
+ * @example
468
+ * ```typescript
469
+ * // Around a point, ranking bias only
470
+ * const nearAmsterdam: GeoBias = { position: [4.9, 52.3] };
471
+ *
472
+ * // Around a point, confined to 2 km
473
+ * const within2km: GeoBias = { position: [4.9, 52.3], radiusMeters: 2000 };
474
+ *
475
+ * // Inside the visible map area
476
+ * const inViewport: GeoBias = { boundingBox: map.getBounds().toArray().flat() as BBox };
477
+ * ```
478
+ *
479
+ * @group Search
480
+ */
481
+ export type GeoBias = (PointGeoBias & {
482
+ boundingBox?: never;
483
+ }) | (BoundingBoxGeoBias & {
484
+ position?: never;
485
+ radiusMeters?: never;
486
+ });
487
+ //#endregion
428
488
  //#region src/shared/types/commonGeocodeAndFuzzySearchParams.d.ts
429
489
  /**
430
490
  * Common parameters shared between fuzzy search and geocoding services.
@@ -501,86 +561,19 @@ export type CommonGeocodeAndFuzzySearchParams = {
501
561
  */
502
562
  offset?: number;
503
563
  /**
504
- * Search radius in meters around the specified position.
505
- *
506
- * When used with `position`, constrains results to locations within
507
- * this distance from the position. Creates a circular search area.
508
- *
509
- * @remarks
510
- * **Behavior:**
511
- * - Must be used with `position` parameter
512
- * - Values ≤ 0 are ignored (parameter has no effect)
513
- * - Mutually exclusive with `boundingBox` (radius takes precedence)
514
- *
515
- * **Typical Values:**
516
- * - 500m: Immediate vicinity (walking distance)
517
- * - 2000m: Neighborhood area
518
- * - 5000m: City district
519
- * - 10000m: Greater city area
520
- *
521
- * @example
522
- * ```typescript
523
- * // Search within 1km radius
524
- * radiusMeters: 1000
525
- *
526
- * // Search within 5km radius
527
- * radiusMeters: 5000
528
- *
529
- * // Combined with position
530
- * position: [4.9, 52.3],
531
- * radiusMeters: 2000 // Within 2km of Amsterdam center
532
- * ```
533
- */
534
- radiusMeters?: number;
535
- /**
536
- * Bounding box to constrain search results to a rectangular area.
537
- *
538
- * Filters results to only include locations within the specified bounding box.
539
- * Accepts various GeoJSON formats that contain or can derive a bounding box.
564
+ * Where to look: a point with an optional radius, or a bounding box.
540
565
  *
541
566
  * @remarks
542
- * **Accepted Formats:**
543
- * - Direct BBox array: `[minLng, minLat, maxLng, maxLat]`
544
- * - GeoJSON Feature/FeatureCollection with bbox property
545
- * - Any GeoJSON geometry (bbox calculated automatically)
546
- *
547
- * **Important:**
548
- * - Mutually exclusive with Point-Radius parameters
549
- * - Point-Radius (`position` + `radiusMeters`) takes precedence if both provided
550
- * - Useful for map viewport filtering
551
- *
552
- * **Use Cases:**
553
- * - "Search in visible map area"
554
- * - City/region boundary filtering
555
- * - Custom geographic restrictions
567
+ * A point without `radiusMeters` biases the ranking; with one, or with a `boundingBox`, results
568
+ * are confined to that area. Leave it out to search without a geographic bias.
556
569
  *
557
570
  * @example
558
571
  * ```typescript
559
- * // Direct bounding box (Amsterdam area)
560
- * boundingBox: [4.8, 52.3, 5.0, 52.4]
561
- *
562
- * // From GeoJSON Feature
563
- * boundingBox: {
564
- * type: 'Feature',
565
- * bbox: [4.8, 52.3, 5.0, 52.4],
566
- * geometry: { ... },
567
- * properties: {}
568
- * }
569
- *
570
- * // From Polygon (bbox calculated)
571
- * boundingBox: {
572
- * type: 'Polygon',
573
- * coordinates: [[
574
- * [4.8, 52.3],
575
- * [5.0, 52.3],
576
- * [5.0, 52.4],
577
- * [4.8, 52.4],
578
- * [4.8, 52.3]
579
- * ]]
580
- * }
572
+ * geoBias: { position: [4.9, 52.3], radiusMeters: 2000 }
573
+ * geoBias: { boundingBox: [4.8, 52.3, 5.0, 52.4] }
581
574
  * ```
582
575
  */
583
- boundingBox?: HasBBox;
576
+ geoBias?: GeoBias;
584
577
  /**
585
578
  * Restrict search to specific countries.
586
579
  *
@@ -803,6 +796,10 @@ export type CommonPlacesParams<ApiRequest, ApiResponse> = CommonServiceParams<Ap
803
796
  * - `RU`: Russia's perspective
804
797
  * - `TR`: Turkey's perspective
805
798
  * - `CN`: China's perspective
799
+ * - `TW`: Taiwan's perspective
800
+ * - `RS`: Serbia's perspective
801
+ *
802
+ * `MA` is accepted by this type but is not supported by the current backend.
806
803
  *
807
804
  * **Affected Elements:**
808
805
  * - Border lines on maps
@@ -1888,9 +1885,11 @@ export type GenericVehicleParams = {
1888
1885
  * Model (static properties) of the vehicle with generic/unspecified engine type.
1889
1886
  *
1890
1887
  * @remarks
1891
- * Includes dimensions and other characteristics that don't change during travel.
1888
+ * Includes dimensions and other characteristics that don't change during travel. A predefined
1889
+ * `variantId` is not accepted here — only the charging-stops endpoint understands one, and that
1890
+ * endpoint is reached with an electric vehicle carrying charging preferences.
1892
1891
  */
1893
- model?: VehicleModel;
1892
+ model?: ExplicitVehicleModel<undefined>;
1894
1893
  /**
1895
1894
  * State of the vehicle with generic/unspecified engine type.
1896
1895
  *
@@ -1952,9 +1951,10 @@ export type CombustionVehicleParams = {
1952
1951
  * Model (static properties) specifically for combustion engine vehicles.
1953
1952
  *
1954
1953
  * @remarks
1955
- * Can include fuel consumption curves and efficiency parameters.
1954
+ * Can include fuel consumption curves and efficiency parameters. A predefined `variantId` is not
1955
+ * accepted here — only the charging-stops endpoint understands one.
1956
1956
  */
1957
- model?: VehicleModel<'combustion'>;
1957
+ model?: ExplicitVehicleModel<'combustion'>;
1958
1958
  /**
1959
1959
  * State specifically for combustion engine vehicles.
1960
1960
  *
@@ -2060,7 +2060,9 @@ export type ElectricVehicleParams = {
2060
2060
  * Model (static properties) specifically for electric vehicles.
2061
2061
  *
2062
2062
  * @remarks
2063
- * Should include battery capacity, charging curve, and consumption profiles.
2063
+ * Should include battery capacity, charging curve, and consumption profiles. A predefined
2064
+ * `variantId` is accepted here, but only `calculateRoute` with charging preferences understands
2065
+ * one — a range or a matrix has no charging stops to plan for.
2064
2066
  */
2065
2067
  model?: VehicleModel<'electric'>;
2066
2068
  /**
@@ -2160,6 +2162,23 @@ export type ElectricVehicleParams = {
2160
2162
  * @group Vehicle
2161
2163
  */
2162
2164
  export type VehicleParameters = (GenericVehicleParams | CombustionVehicleParams | ElectricVehicleParams) & VehicleRestrictions;
2165
+ /**
2166
+ * An electric vehicle that has asked for charging stops.
2167
+ *
2168
+ * @remarks
2169
+ * Charging preferences are what select the charging-stops endpoint, so `chargingStopsStrategy` —
2170
+ * which no other endpoint accepts — requires this shape rather than plain
2171
+ * {@link ElectricVehicleParams}.
2172
+ *
2173
+ * A predefined `model.variantId` is bound to the same endpoint, but the rule cannot ride on the
2174
+ * vehicle type: `calculateReachableRange` takes the same vehicle and accepts a variant on its own.
2175
+ * `calculateRoute` validates that pairing instead.
2176
+ *
2177
+ * @group Routing
2178
+ */
2179
+ export type ElectricVehicleParamsWithChargingStops = ElectricVehicleParams & {
2180
+ preferences: Required<ElectricVehiclePreferences>;
2181
+ } & VehicleRestrictions;
2163
2182
  //#endregion
2164
2183
  //#region src/shared/types/commonRoutingParams.d.ts
2165
2184
  /**
@@ -2965,7 +2984,7 @@ type GeoJsonTypes = GeoJSON["type"];
2965
2984
  * Bounding box
2966
2985
  * https://tools.ietf.org/html/rfc7946#section-5
2967
2986
  */
2968
- type BBox$1 = [number, number, number, number] | [number, number, number, number, number, number];
2987
+ type BBox = [number, number, number, number] | [number, number, number, number, number, number];
2969
2988
  /**
2970
2989
  * A Position is an array of coordinates.
2971
2990
  * https://tools.ietf.org/html/rfc7946#section-3.1.1
@@ -3032,7 +3051,7 @@ interface GeoJsonObject {
3032
3051
  * The axes order of a bbox follows the axes order of geometries.
3033
3052
  * https://tools.ietf.org/html/rfc7946#section-5
3034
3053
  */
3035
- bbox?: BBox$1 | undefined;
3054
+ bbox?: BBox | undefined;
3036
3055
  }
3037
3056
  /**
3038
3057
  * Union of GeoJSON objects.
@@ -3527,6 +3546,10 @@ type AlongRouteSearchResponseAPI = {
3527
3546
  * Controls how the returned POIs are ordered relative to the route.
3528
3547
  *
3529
3548
  * @remarks
3549
+ * Pass these to {@link search}, which selects the request variant from the params it is given:
3550
+ * a `route` property dispatches to along-route search, a `geometries` property to geometry search,
3551
+ * and neither to fuzzy search. {@link alongRouteSearch} is also exported directly.
3552
+ *
3530
3553
  * - `detourTime`: Sort by additional travel time required to visit the POI (default)
3531
3554
  * - `detourOffset`: Sort by how far along the route the detour point falls
3532
3555
  *
@@ -4028,28 +4051,19 @@ type AutocompleteSearchParams = CommonServiceParams<URL, AutocompleteSearchRespo
4028
4051
  */
4029
4052
  query: string;
4030
4053
  /**
4031
- * Position to bias results towards.
4032
- *
4033
- * Results closer to this location will be ranked higher in suggestions.
4054
+ * The point to bias suggestions towards, and how far around it to look.
4034
4055
  *
4035
4056
  * @remarks
4036
- * Can be provided as:
4037
- * - Object with `lon` and `lat` properties
4038
- * - Array `[longitude, latitude]`
4039
- *
4040
- * When used without `radiusMeters`, biases results but doesn't restrict them.
4041
- * When used with `radiusMeters`, constrains results to that area.
4057
+ * This endpoint biases by point only — it takes no bounding box. Without `radiusMeters` the
4058
+ * point ranks nearer suggestions higher without restricting them.
4042
4059
  *
4043
4060
  * @example
4044
4061
  * ```typescript
4045
- * // Object format
4046
- * position: { lon: 4.9041, lat: 52.3676 }
4047
- *
4048
- * // Array format
4049
- * position: [4.9041, 52.3676]
4062
+ * geoBias: { position: [4.9041, 52.3676] }
4063
+ * geoBias: { position: [4.9041, 52.3676], radiusMeters: 5000 }
4050
4064
  * ```
4051
4065
  */
4052
- position?: HasLngLat;
4066
+ geoBias?: PointGeoBias;
4053
4067
  /**
4054
4068
  * Maximum number of suggestions to return.
4055
4069
  *
@@ -4063,24 +4077,6 @@ type AutocompleteSearchParams = CommonServiceParams<URL, AutocompleteSearchRespo
4063
4077
  * ```
4064
4078
  */
4065
4079
  limit?: number;
4066
- /**
4067
- * Search radius in meters from the position.
4068
- *
4069
- * When combined with `position`, restricts results to within this radius.
4070
- * Without `position`, this parameter is ignored.
4071
- *
4072
- * @remarks
4073
- * Only results within this distance from `position` will be returned.
4074
- * Values ≤ 0 are ignored.
4075
- *
4076
- * @example
4077
- * ```typescript
4078
- * // Search within 5km of position
4079
- * position: [4.9, 52.3],
4080
- * radiusMeters: 5000
4081
- * ```
4082
- */
4083
- radiusMeters?: number;
4084
4080
  /**
4085
4081
  * Restrict results to specific countries.
4086
4082
  *
@@ -4490,31 +4486,6 @@ type GeocodingParams = Omit<CommonPlacesParams<URL, GeocodingResponseAPI> & Comm
4490
4486
  * ```
4491
4487
  */
4492
4488
  query: string;
4493
- /**
4494
- * Geographic position to bias geocoding results toward.
4495
- *
4496
- * When provided, results closer to this position are ranked higher.
4497
- * Useful for resolving ambiguous queries (e.g. "Main Street") to
4498
- * the right city or region.
4499
- *
4500
- * Accepts any {@link HasLngLat}-compatible value:
4501
- * - `[longitude, latitude]` coordinate pair
4502
- * - GeoJSON `Point` geometry
4503
- * - GeoJSON `Feature<Point>` — pass a {@link Place} directly
4504
- *
4505
- * @example
4506
- * ```typescript
4507
- * // Coordinate pair
4508
- * position: [4.9041, 52.3676]
4509
- *
4510
- * // Place result from a previous search (e.g. user's selected location)
4511
- * position: selectedPlace
4512
- *
4513
- * // GeoJSON Point
4514
- * position: { type: 'Point', coordinates: [4.9041, 52.3676] }
4515
- * ```
4516
- */
4517
- position?: HasLngLat;
4518
4489
  /**
4519
4490
  * Indexes for which extended postal codes should be included in the results.
4520
4491
  *
@@ -4853,6 +4824,10 @@ type GeometrySearchResponseAPI = {
4853
4824
  * like "restaurants in this neighborhood" or "hotels within these city boundaries".
4854
4825
  *
4855
4826
  * @remarks
4827
+ * Pass these to {@link search}, which selects the request variant from the params it is given:
4828
+ * a `route` property dispatches to along-route search, a `geometries` property to geometry search,
4829
+ * and neither to fuzzy search. There is no separate exported function for geometry search.
4830
+ *
4856
4831
  * **Key Features:**
4857
4832
  * - Search within multiple geometries simultaneously
4858
4833
  * - Supports polygons, multipolygons, and circles
@@ -5248,6 +5223,10 @@ type PlaceByIdOptionalParams = {
5248
5223
  * - `RU`: Russia
5249
5224
  * - `TR`: Turkey
5250
5225
  * - `CN`: China
5226
+ * - `TW`: Taiwan
5227
+ * - `RS`: Serbia
5228
+ *
5229
+ * `MA` is accepted by this type but is not supported by the current backend.
5251
5230
  *
5252
5231
  * @default 'Unified'
5253
5232
  *
@@ -5475,7 +5454,7 @@ type SummaryAPI = {
5475
5454
  arrivalDateTime: string;
5476
5455
  deviationDistanceInMeters?: number;
5477
5456
  deviationDurationInSeconds?: number;
5478
- deviationPoint?: Point;
5457
+ deviationPoint?: RoutePointAPI$1;
5479
5458
  originalWaypointIndexAtEndOfLeg?: number;
5480
5459
  historicTrafficTravelTimeInSeconds?: number;
5481
5460
  liveTrafficIncidentsTravelTimeInSeconds?: number;
@@ -5592,19 +5571,20 @@ type SectionsAPI = {
5592
5571
  importantRoadStretch?: ImportantRoadStretchSectionAPI[];
5593
5572
  };
5594
5573
  /**
5595
- * Lat/lon point used in guidance instructions (different from the GeoJSON used elsewhere).
5574
+ * Every point in a routing response — `deviationPoint`, a route-path point, an instruction's
5575
+ * `maneuverPoint` — is a two-dimensional GeoJSON `Point`, so its coordinates are already
5576
+ * `[longitude, latitude]` and the parser needs no narrowing of its own.
5596
5577
  * @ignore
5597
5578
  */
5598
- type LatLonPointAPI = {
5599
- latitude: number;
5600
- longitude: number;
5579
+ type RoutePointAPI$1 = Omit<Point, 'coordinates'> & {
5580
+ coordinates: [number, number];
5601
5581
  };
5602
5582
  /**
5603
5583
  * A point on the route path.
5604
5584
  * @ignore
5605
5585
  */
5606
5586
  type RoutePathPointAPI = {
5607
- point: LatLonPointAPI;
5587
+ point: RoutePointAPI$1;
5608
5588
  distanceFromRouteStartInMeters: number;
5609
5589
  travelTimeFromRouteStartInSeconds: number;
5610
5590
  };
@@ -5690,7 +5670,7 @@ type SignpostAPI = {
5690
5670
  type InstructionAPI = {
5691
5671
  routeOffsetInMeters: number;
5692
5672
  maneuver?: string;
5693
- maneuverPoint: LatLonPointAPI;
5673
+ maneuverPoint: RoutePointAPI$1;
5694
5674
  routePath?: RoutePathPointAPI[];
5695
5675
  nextRoadInformation?: InstructionRoadInformationAPI;
5696
5676
  previousRoadInformation?: InstructionRoadInformationAPI;
@@ -5889,18 +5869,23 @@ export type ReachableRangeCostModel = Omit<CostModel, 'avoid' | 'avoidAreas'> &
5889
5869
  * Vehicle parameters accepted by `calculateReachableRange`.
5890
5870
  *
5891
5871
  * @remarks
5892
- * {@link VehicleParameters} without `state.heading`, which this endpoint rejects with
5893
- * *"parameter [vehicleHeading] not supported"*. It stays available on `calculateRoute`, where the
5894
- * routing API takes it as `vehicleHeadingInDegrees`.
5872
+ * {@link VehicleParameters} without the two things this endpoint has no parameter for:
5873
+ *
5874
+ * - `state.heading`, which it rejects with *"parameter [vehicleHeading] not supported"*. The
5875
+ * routing API takes it as `vehicleHeadingInDegrees`.
5876
+ * - `preferences`, whose only member is `chargingPreferences`. Those belong to the charging-stops
5877
+ * endpoint, and a range has no stops to plan. A predefined `model.variantId` therefore needs
5878
+ * nothing beside it here, unlike on `calculateRoute`.
5895
5879
  *
5896
- * Everything else is unchanged, including the engine-specific `state` variants -- an electric
5897
- * vehicle still picks between the percentage and kWh forms.
5880
+ * Both stay available on `calculateRoute`. Everything else is unchanged, including the
5881
+ * engine-specific `state` variants -- an electric vehicle still picks between the percentage and
5882
+ * kWh forms.
5898
5883
  *
5899
5884
  * @group Reachable Range
5900
5885
  */
5901
- export type ReachableRangeVehicleParameters = (Omit<GenericVehicleParams, 'state'> | (Omit<CombustionVehicleParams, 'state'> & {
5886
+ export type ReachableRangeVehicleParameters = (Omit<GenericVehicleParams, 'state' | 'preferences'> | (Omit<CombustionVehicleParams, 'state' | 'preferences'> & {
5902
5887
  state?: CombustionVehicleState;
5903
- }) | (Omit<ElectricVehicleParams, 'state'> & {
5888
+ }) | (Omit<ElectricVehicleParams, 'state' | 'preferences'> & {
5904
5889
  state?: ElectricVehicleState;
5905
5890
  })) & VehicleRestrictions;
5906
5891
  /**
@@ -6269,6 +6254,8 @@ type ReverseGeocodingOptionalParams = {
6269
6254
  * - `TR` - Turkey
6270
6255
  * - `TW` - Taiwan
6271
6256
  *
6257
+ * `MA` is accepted by this type but is not supported by the current backend.
6258
+ *
6272
6259
  * @defaultValue `"Unified"`
6273
6260
  */
6274
6261
  view?: View;
@@ -6735,7 +6722,28 @@ type MaxNumberOfAlternatives = 0 | 1 | 2 | 3 | 4 | 5;
6735
6722
  *
6736
6723
  * @group Routing
6737
6724
  */
6738
- type CalculateRouteParams = CommonServiceParams<CalculateRouteRequestAPI, CalculateRouteResponseAPI> & CommonRoutingParams & {
6725
+ type CalculateRouteParams = ({
6726
+ chargingStopsStrategy?: never;
6727
+ } | {
6728
+ /**
6729
+ * How the service should plan charging stops on an electric route.
6730
+ *
6731
+ * Only the charging-stops endpoint understands it, and
6732
+ * `vehicle.preferences.chargingPreferences` is what selects that endpoint — hence the
6733
+ * vehicle this variant requires.
6734
+ *
6735
+ * @default 'automaticFastest' (the service's own default when unset)
6736
+ *
6737
+ * @example
6738
+ * ```typescript
6739
+ * // Plan the fastest journey, choosing charging stops along the way
6740
+ * chargingStopsStrategy: 'automaticFastest'
6741
+ * ```
6742
+ */
6743
+ chargingStopsStrategy: ChargingStopsStrategy;
6744
+ /** An electric vehicle whose charging preferences ask the service to plan stops. */
6745
+ vehicle: ElectricVehicleParamsWithChargingStops;
6746
+ }) & CommonServiceParams<CalculateRouteRequestAPI, CalculateRouteResponseAPI> & CommonRoutingParams & {
6739
6747
  /**
6740
6748
  * Ordered list of locations (waypoints) and/or path points for route calculation.
6741
6749
  *
@@ -6833,21 +6841,6 @@ type CalculateRouteParams = CommonServiceParams<CalculateRouteRequestAPI, Calcul
6833
6841
  * ```
6834
6842
  */
6835
6843
  computeTravelTimeFor?: ComputeTravelTimeFor;
6836
- /**
6837
- * How the service should plan charging stops on an electric route.
6838
- *
6839
- * Only applies to electric routes, so `vehicle.preferences.chargingPreferences` must be set
6840
- * too — validation says so before the request is sent.
6841
- *
6842
- * @default 'automaticFastest' (the service's own default when unset)
6843
- *
6844
- * @example
6845
- * ```typescript
6846
- * // Plan the fastest journey, choosing charging stops along the way
6847
- * chargingStopsStrategy: 'automaticFastest'
6848
- * ```
6849
- */
6850
- chargingStopsStrategy?: ChargingStopsStrategy;
6851
6844
  /**
6852
6845
  * Request extended progress information at route polyline points.
6853
6846
  *
@@ -7721,445 +7714,6 @@ export declare function getPlacesWithEVAvailability<P extends CommonPlaceProps =
7721
7714
  */
7722
7715
  export declare const hasChargingAvailability: (chargingPark: ChargingPark | ChargingParkWithAvailability | undefined) => chargingPark is ChargingParkWithAvailability;
7723
7716
  //#endregion
7724
- //#region src/exploration-search/types/areaTags.d.ts
7725
- /**
7726
- * Canonical area-tag vocabulary used by the places-api. Tokens are
7727
- * lowercase `snake_case` and describe the character of the municipality
7728
- * polygon a hit sits in (currently populated for `DE` / `NL` / `FR`).
7729
- *
7730
- * Two groups are exposed below:
7731
- *
7732
- * - **Populated tokens** — the 46 tokens the current pipeline run actually
7733
- * emits, grouped by classification axis (settlement scale, density,
7734
- * terrain, tourism, etc.). These are what every live `area_tags` value
7735
- * will be drawn from today.
7736
- * - **Reserved tokens** — vocabulary tokens that exist canonically but
7737
- * are not populated by the current pipeline run. They may appear in
7738
- * future runs without an API change, so callers should treat them as
7739
- * valid even though no hit returns them today.
7740
- *
7741
- * The schema doc warns the vocabulary may shift between pipeline
7742
- * iterations, so SDK consumers should code defensively. The
7743
- * {@link AreaTag} alias falls back to `string` to keep arbitrary
7744
- * (yet-to-be-added) tokens type-compatible without losing IDE
7745
- * autocompletion on the known set.
7746
- *
7747
- * @ignore
7748
- * @experimental
7749
- */
7750
- export declare const POPULATED_AREA_TAGS: readonly ["village", "small_town", "mid_town", "suburban", "rural", "semi_rural", "residential", "inland", "coastal", "atlantic_coast", "alpine", "mountain", "foothills", "forest", "plains", "farmland", "agricultural", "no_tourism", "low_tourism", "moderate_tourism", "tourism_economy", "eco_tourism", "heritage_tourism", "watersports", "hiking", "cycling", "industrial", "logistics_hub", "retail_hub", "shopping_district", "hospital_town", "dining_scene", "car_oriented", "walkable", "transit_connected", "transit_sparse", "highway_corridor", "commuter_town", "low_traffic", "moderate_traffic", "sparse_commercial", "western_europe", "central_europe", "southern_europe", "north_american", "iberian"];
7751
- /**
7752
- * Vocabulary tokens that exist canonically in the area-tag taxonomy but
7753
- * aren't emitted by the current pipeline run (per the schema doc's
7754
- * "tokens that exist… but are not populated" list). Filtering on these
7755
- * today returns zero hits, but a future pipeline run may activate them
7756
- * without a wire-protocol change.
7757
- *
7758
- * @ignore
7759
- * @experimental
7760
- */
7761
- export declare const RESERVED_AREA_TAGS: readonly ["lakefront", "riverine", "wetland", "marina", "harbor", "beach", "mediterranean", "ski_destination", "beach_destination", "wine_tourism", "vineyard", "university_town", "medieval_old_town", "unesco_site", "midwest_us", "rust_belt"];
7762
- /**
7763
- * Union of every populated area-tag token currently emitted by the
7764
- * places-api pipeline.
7765
- *
7766
- * @ignore
7767
- * @experimental
7768
- */
7769
- type PopulatedAreaTag = (typeof POPULATED_AREA_TAGS)[number];
7770
- /**
7771
- * Union of every canonical (populated + reserved) area-tag token. Reserved
7772
- * tokens may begin appearing as the pipeline evolves.
7773
- *
7774
- * @ignore
7775
- * @experimental
7776
- */
7777
- type CanonicalAreaTag = PopulatedAreaTag | (typeof RESERVED_AREA_TAGS)[number];
7778
- /**
7779
- * Area-tag token accepted by the places-api `area_tags` filter and
7780
- * returned on each hit's `areaTags` property.
7781
- *
7782
- * Resolves to the canonical {@link CanonicalAreaTag} union for editor
7783
- * autocompletion, but tolerates any other string so the SDK doesn't
7784
- * hard-error on tokens added in a future pipeline run. To strictly
7785
- * constrain inputs to the currently-known vocabulary, use
7786
- * {@link CanonicalAreaTag} (or {@link PopulatedAreaTag}) directly.
7787
- *
7788
- * @example
7789
- * ```typescript
7790
- * // Autocomplete on the canonical vocabulary, but new tokens still type-check.
7791
- * const tags: AreaTag[] = ['walkable', 'transit_connected'];
7792
- * ```
7793
- *
7794
- * @ignore
7795
- * @experimental
7796
- */
7797
- type AreaTag = CanonicalAreaTag | string;
7798
- //#endregion
7799
- //#region src/exploration-search/types/explorationSearchRequestAPI.d.ts
7800
- /**
7801
- * @ignore
7802
- */
7803
- type NearAPI = {
7804
- coordinates: Position;
7805
- radius_km: number;
7806
- };
7807
- /**
7808
- * @ignore
7809
- */
7810
- type ExplorationSearchPayloadAPI = {
7811
- q?: string;
7812
- country?: string;
7813
- municipalities?: string[];
7814
- brand?: string;
7815
- categories?: string[];
7816
- types?: ExplorationRecordType[];
7817
- area_id?: string;
7818
- area_tags?: AreaTag[];
7819
- near?: NearAPI;
7820
- bboxes?: BBox[];
7821
- geometries?: (Polygon | MultiPolygon)[];
7822
- from?: number;
7823
- size?: number;
7824
- };
7825
- /**
7826
- * Exploration search request type.
7827
- * @ignore
7828
- */
7829
- type ExplorationSearchRequestAPI = PostObject<ExplorationSearchPayloadAPI>;
7830
- //#endregion
7831
- //#region src/exploration-search/types/explorationSearchResponseAPI.d.ts
7832
- /**
7833
- * @ignore
7834
- */
7835
- type ExplorationClassificationAPI = {
7836
- code: string;
7837
- name: string;
7838
- };
7839
- /**
7840
- * @ignore
7841
- */
7842
- type ExplorationBrandAPI = {
7843
- id?: string;
7844
- name: string;
7845
- };
7846
- /**
7847
- * @ignore
7848
- * A single open interval inside {@link ExplorationOpeningHoursAPI.intervals}.
7849
- *
7850
- * - `days` — ISO day-of-week numbers `1` (Monday) through `7` (Sunday) the
7851
- * interval applies to.
7852
- * - `open` / `close` — `HH:MM` strings. `"24:00"` denotes end-of-day so that
7853
- * round-the-clock intervals can be expressed as `00:00` → `24:00`.
7854
- */
7855
- type ExplorationOpeningIntervalAPI = {
7856
- days: number[];
7857
- open: string;
7858
- close: string;
7859
- };
7860
- /**
7861
- * @ignore
7862
- * Opening-hours payload as returned by the places-api. The compact raw
7863
- * TomTom hours string is parsed upstream into structured `intervals`; the
7864
- * source string is not exposed in the API response.
7865
- */
7866
- type ExplorationOpeningHoursAPI = {
7867
- is24h?: boolean;
7868
- intervals?: ExplorationOpeningIntervalAPI[];
7869
- };
7870
- /**
7871
- * @ignore
7872
- */
7873
- type ExplorationChargingParkAPI = {
7874
- stationId?: string;
7875
- connectors?: {
7876
- id: string;
7877
- }[];
7878
- };
7879
- /**
7880
- * @ignore
7881
- * POI document fields nested under `poi` on each hit. The API strips
7882
- * per-language name maps (`names`, `alternativeNames`) and the street
7883
- * alternative-name map on the way out, so they are not modeled here.
7884
- */
7885
- type ExplorationPOIAPI = {
7886
- name?: string;
7887
- phone?: string;
7888
- url?: string;
7889
- brands?: ExplorationBrandAPI[];
7890
- categorySet?: string[];
7891
- classifications?: ExplorationClassificationAPI[];
7892
- preferredCategoryId?: string;
7893
- nearbyCategoryIds?: string[] | null;
7894
- feature?: string;
7895
- openingHours?: ExplorationOpeningHoursAPI;
7896
- accessType?: string | null;
7897
- outOfBusiness?: string | null;
7898
- heavyVehicleCategories?: string[];
7899
- timeZone?: TimeZone;
7900
- };
7901
- /**
7902
- * @ignore
7903
- * Envelope bounding box on Street records — two corner `[lon, lat]` positions.
7904
- */
7905
- type ExplorationViewportAPI = {
7906
- type: 'envelope';
7907
- coordinates: [Position, Position];
7908
- };
7909
- /**
7910
- * @ignore
7911
- * Hit shape shared across record types. API metadata (`id`, `score`,
7912
- * `distance_m`, `address`, `position`) sits at the top level; POI document
7913
- * fields are nested under `poi` on `type === 'POI'` hits. Positions are
7914
- * GeoJSON `[lon, lat]` arrays (the API normalizes OpenSearch's `{lat, lon}`
7915
- * storage form on the way out).
7916
- *
7917
- * Field presence by record type:
7918
- * - `poi` — POI records only
7919
- * - `viewport` — Street records only (envelope of the street extent)
7920
- * - `address.entryPoint` — PointAddress records only
7921
- */
7922
- type ExplorationSearchResultAPI = {
7923
- id: string;
7924
- score?: number;
7925
- distance_m?: number;
7926
- type?: ExplorationRecordType;
7927
- dataSource?: string;
7928
- sourceId?: string;
7929
- country_code?: string;
7930
- aliasIds?: string[];
7931
- address?: AddressProperties & {
7932
- entryPoint?: string;
7933
- };
7934
- position: Position;
7935
- viewport?: ExplorationViewportAPI;
7936
- vehicleTypes?: string[];
7937
- chargingPark?: ExplorationChargingParkAPI;
7938
- placeId?: string;
7939
- adminChainId?: string;
7940
- poi?: ExplorationPOIAPI;
7941
- /** Id of the municipality polygon the hit sits in. Populated for DE / NL / FR only. */
7942
- area_id?: string;
7943
- /** ISO2 country of the municipality polygon the hit sits in. Populated for DE / NL / FR only. */
7944
- area_country?: string;
7945
- /** Area-character tokens propagated from the hit's municipality polygon. Populated for DE / NL / FR only. */
7946
- area_tags?: string[];
7947
- };
7948
- /**
7949
- * @ignore
7950
- * Envelope response shape — `total` is capped at 10000 even when more records match.
7951
- */
7952
- type ExplorationSearchResponseAPI = {
7953
- total: number;
7954
- hits: ExplorationSearchResultAPI[];
7955
- };
7956
- //#endregion
7957
- //#region src/exploration-search/types/explorationSearchParams.d.ts
7958
- /**
7959
- * Record types the exploration search can return — POIs, standalone point
7960
- * addresses, and street records. Matches the API's `types` filter vocabulary.
7961
- *
7962
- * @ignore
7963
- * @experimental
7964
- */
7965
- type ExplorationRecordType = 'POI' | 'PointAddress' | 'Street';
7966
- /**
7967
- * Parameters for the exploration search service.
7968
- *
7969
- * Mirrors the input surface of the existing {@link search} service, with two
7970
- * extra filters exposed by the exploration places API (`municipalities` and
7971
- * `geometries`).
7972
- *
7973
- * @remarks
7974
- * **Mapping to the places API body:**
7975
- * - `query` → `q`
7976
- * - `countries[0]` → `country`
7977
- * - `poiBrands[0]` → `brand`
7978
- * - `poiCategories` → `categories` (mapped to TomTom numeric category ids)
7979
- * - `position` + `radiusMeters` → `near.coordinates` + `near.radius_km`
7980
- * - `boundingBox` / `boundingBoxes` → `bboxes`
7981
- * - `geometries` → `geometries` (Polygon/MultiPolygon passed through; Circle
7982
- * buffered to a Polygon; FeatureCollection flattened to its features)
7983
- * - `municipalities` → `municipalities`
7984
- * - `areaId` → `area_id`
7985
- * - `areaTags` → `area_tags`
7986
- * - `offset` → `from`
7987
- * - `limit` → `size`
7988
- *
7989
- * @ignore
7990
- * @experimental
7991
- */
7992
- type ExplorationSearchParams = CommonSearchParams<ExplorationSearchRequestAPI, ExplorationSearchResponseAPI> & CommonGeocodeAndFuzzySearchParams & {
7993
- /**
7994
- * Geographic position to restrict results around.
7995
- *
7996
- * Combined with {@link radiusMeters} this maps to the API's `near` filter.
7997
- * Accepts any {@link HasLngLat}-compatible value — a `[lon, lat]` tuple,
7998
- * a GeoJSON `Point`, or a `Feature<Point>`.
7999
- */
8000
- position?: HasLngLat;
8001
- /**
8002
- * Exact, case-sensitive municipality/city filters (e.g. `['Amsterdam', 'Utrecht']`).
8003
- */
8004
- municipalities?: string[];
8005
- /**
8006
- * Additional bounding boxes to restrict results to.
8007
- *
8008
- * Merged with {@link boundingBox} and sent as the API's `bboxes` array.
8009
- */
8010
- boundingBoxes?: HasBBox[];
8011
- /**
8012
- * Geometries to constrain results to. Accepts the same input shapes as
8013
- * {@link GeometrySearchParams.geometries} — `Polygon`, `MultiPolygon`,
8014
- * `Circle`, or `PolygonFeatures`. POIs whose position lies inside any
8015
- * provided shape are returned.
8016
- *
8017
- * Circles are buffered into polygons before being sent to the API.
8018
- */
8019
- geometries?: SearchGeometryInput[];
8020
- /**
8021
- * Restrict the response to specific record types. Defaults to all types.
8022
- *
8023
- * - `'POI'` — points of interest (businesses, landmarks, amenities)
8024
- * - `'PointAddress'` — standalone street addresses with building numbers
8025
- * - `'Street'` — street records (no building number)
8026
- *
8027
- * Example: `placeTypes: ['POI', 'PointAddress']` to exclude Street records.
8028
- */
8029
- placeTypes?: ExplorationRecordType[];
8030
- /**
8031
- * Exact id of a municipality polygon — restricts results to places that
8032
- * sit inside that municipality. Typically populated from the `areaId`
8033
- * of a previous hit ("what else is in this same area?"). Efficient
8034
- * terms-only lookup, no spatial query required.
8035
- */
8036
- areaId?: string;
8037
- /**
8038
- * Area-character tokens describing the surrounding municipality
8039
- * (`coastal`, `walkable`, `alpine`, `transit_connected`, …). Matches
8040
- * places in any municipality tagged with ANY of the supplied tokens
8041
- * (OR semantics). Populated for `DE` / `NL` / `FR` only — supplying
8042
- * tags in other countries will return zero hits.
8043
- *
8044
- * Typed against {@link AreaTag} — autocompletes on the canonical
8045
- * vocabulary but tolerates new tokens added in a future pipeline
8046
- * run without a wire-protocol change.
8047
- */
8048
- areaTags?: AreaTag[];
8049
- };
8050
- //#endregion
8051
- //#region src/exploration-search/types/explorationSearchResponse.d.ts
8052
- /**
8053
- * Additional properties exposed on each feature in an exploration search
8054
- * response. The places-api propagates "area" metadata from the municipality
8055
- * polygon each hit sits in (currently populated for `DE` / `NL` / `FR`); the
8056
- * SDK surfaces those fields alongside the standard {@link SearchPlaceProps}.
8057
- *
8058
- * The `address` is widened from the SDK's standard {@link AddressProperties}
8059
- * to also expose the optional `entryPoint` string the places-api emits on
8060
- * `PointAddress` records.
8061
- *
8062
- * @ignore
8063
- * @experimental
8064
- */
8065
- type ExplorationPlaceProps = Omit<SearchPlaceProps, 'address'> & {
8066
- address: AddressProperties & {
8067
- entryPoint?: string;
8068
- };
8069
- /**
8070
- * Id of the municipality polygon this hit sits inside. Round-trips into
8071
- * `areaId` on a subsequent request to fetch every other place in the
8072
- * same municipality.
8073
- */
8074
- areaId?: string;
8075
- /**
8076
- * ISO 3166-1 alpha-2 country code of the hit's municipality polygon.
8077
- */
8078
- areaCountry?: string;
8079
- /**
8080
- * Area-character tokens describing the surrounding municipality
8081
- * (e.g. `coastal`, `walkable`, `transit_connected`).
8082
- *
8083
- * Typed against {@link AreaTag} for editor autocompletion on the
8084
- * canonical vocabulary; arbitrary strings stay compatible to
8085
- * tolerate future pipeline-run additions.
8086
- */
8087
- areaTags?: AreaTag[];
8088
- };
8089
- /**
8090
- * Response from the exploration search service.
8091
- *
8092
- * Matches the shape produced by {@link search} — a `FeatureCollection` of
8093
- * place features with search-specific properties (`score`, `distance`) and a
8094
- * {@link SearchSummary} on the collection — extended with the
8095
- * exploration-specific `areaId` / `areaCountry` / `areaTags` fields on each
8096
- * feature.
8097
- *
8098
- * @ignore
8099
- * @experimental
8100
- */
8101
- type ExplorationSearchResponse = Places<ExplorationPlaceProps, SearchSummary>;
8102
- //#endregion
8103
- //#region src/exploration-search/explorationSearchTemplate.d.ts
8104
- /**
8105
- * Exploration search service template type.
8106
- * @ignore
8107
- */
8108
- type ExplorationSearchTemplate = ServiceTemplate<ExplorationSearchParams, ExplorationSearchRequestAPI, ExplorationSearchResponseAPI, ExplorationSearchResponse>;
8109
- //#endregion
8110
- //#region src/exploration-search/explorationSearch.d.ts
8111
- /**
8112
- * Search for places via the exploration places API.
8113
- *
8114
- * The exploration search service exposes the same input and output surface as
8115
- * the existing {@link search} service, but targets the exploration places API
8116
- * (POST `/places` with a JSON body) instead of the TomTom Search API.
8117
- *
8118
- * @remarks
8119
- * Key features:
8120
- * - **Fuzzy name match** via {@link ExplorationSearchParams.query}
8121
- * - **Near filter** via `position` + `radiusMeters` (mapped to `near.coordinates` + `near.radius_km`)
8122
- * - **Bounding box** via `boundingBox` (mapped to `bboxes`)
8123
- * - **Geometries** via {@link ExplorationSearchParams.geometries} (Polygon,
8124
- * MultiPolygon, Circle, or FeatureCollection — same shape as {@link geometrySearch})
8125
- * - **Brand / category / country / municipalities** filters
8126
- * - **Pagination** via `offset` / `limit` (mapped to `from` / `size`)
8127
- *
8128
- * @param params Exploration search parameters
8129
- * @param customTemplate Advanced customization for request/response handling
8130
- *
8131
- * @returns Promise resolving to a collection of matching places, with the same
8132
- * {@link SearchPlaceProps} shape used by the existing search service.
8133
- *
8134
- * @example
8135
- * ```typescript
8136
- * // Nearest restaurants to Dam Square
8137
- * const results = await explorationSearch({
8138
- * position: [4.9003, 52.3791],
8139
- * radiusMeters: 5000,
8140
- * poiCategories: ['RESTAURANT'],
8141
- * limit: 10,
8142
- * });
8143
- *
8144
- * // Inside a GeoJSON polygon
8145
- * const inArea = await explorationSearch({
8146
- * geometries: [{
8147
- * type: 'Polygon',
8148
- * coordinates: [[
8149
- * [4.878, 52.364], [4.922, 52.364],
8150
- * [4.922, 52.394], [4.878, 52.394],
8151
- * [4.878, 52.364],
8152
- * ]],
8153
- * }],
8154
- * poiCategories: ['RESTAURANT'],
8155
- * });
8156
- * ```
8157
- *
8158
- * @ignore
8159
- * @experimental
8160
- */
8161
- export declare const explorationSearch: (params: ExplorationSearchParams, customTemplate?: Partial<ExplorationSearchTemplate>) => Promise<ExplorationSearchResponse>;
8162
- //#endregion
8163
7717
  //#region src/geocode/geocoding.d.ts
8164
7718
  /**
8165
7719
  * Convert addresses into geographic coordinates (geocoding).
@@ -9048,6 +8602,10 @@ type NearbyIntentDetailsAPI = Omit<NearbyIntentDetails, 'position'> & {
9048
8602
  * It's designed to handle typos, abbreviations, and incomplete input gracefully.
9049
8603
  *
9050
8604
  * @remarks
8605
+ * Pass these to {@link search}, which selects the request variant from the params it is given:
8606
+ * a `route` property dispatches to along-route search, a `geometries` property to geometry search,
8607
+ * and neither to fuzzy search. There is no separate exported function for fuzzy search.
8608
+ *
9051
8609
  * **Key Features:**
9052
8610
  * - Tolerates typos and spelling mistakes
9053
8611
  * - Handles partial queries and abbreviations
@@ -9108,30 +8666,6 @@ type FuzzySearchParams = CommonSearchParams<URL, FuzzySearchResponseAPI> & Commo
9108
8666
  * minFuzzyLevel: 2 // Require at least moderate similarity
9109
8667
  * ```
9110
8668
  */
9111
- /**
9112
- * Geographic position to bias search results toward.
9113
- *
9114
- * When provided, results closer to this position are ranked higher.
9115
- * Does not filter results, only creates a soft bias.
9116
- *
9117
- * Accepts any {@link HasLngLat}-compatible value:
9118
- * - `[longitude, latitude]` coordinate pair
9119
- * - GeoJSON `Point` geometry
9120
- * - GeoJSON `Feature<Point>` — pass a {@link Place} directly
9121
- *
9122
- * @example
9123
- * ```typescript
9124
- * // Coordinate pair
9125
- * position: [4.9041, 52.3676]
9126
- *
9127
- * // Place result from a previous search
9128
- * position: searchResults.features[0]
9129
- *
9130
- * // GeoJSON Point
9131
- * position: { type: 'Point', coordinates: [4.9041, 52.3676] }
9132
- * ```
9133
- */
9134
- position?: HasLngLat;
9135
8669
  minFuzzyLevel?: number;
9136
8670
  /**
9137
8671
  * Maximum fuzziness level to be used.
@@ -9409,4 +8943,4 @@ export declare const trafficAreaAnalytics: (params: TrafficAreaAnalyticsParams,
9409
8943
  */
9410
8944
  export declare const trafficIncidentDetails: (params: TrafficIncidentDetailsParams, customTemplate?: Partial<TrafficIncidentDetailsTemplate>) => Promise<TrafficIncidentDetails>;
9411
8945
  //#endregion
9412
- export type { AdditionalDataAPI, AlongRouteSearchParams, AlongRouteSearchPayloadAPI, AlongRouteSearchRequestAPI, AlongRouteSearchResponse, AlongRouteSearchResponseAPI, AlongRouteSearchResultAPI, AlongRouteSortBy, AreaAnalyticsDateInput, AreaTag, ArrivalSide, AutocompleteGenericSearchSegment, AutocompleteSearchBrandSegment, AutocompleteSearchCategorySegment, AutocompleteSearchCategorySegmentAPI, AutocompleteSearchContext, AutocompleteSearchContextAPI, AutocompleteSearchMatch, AutocompleteSearchMatches, AutocompleteSearchParams, AutocompleteSearchPlaintextSegment, AutocompleteSearchResponse, AutocompleteSearchResponseAPI, AutocompleteSearchResult, AutocompleteSearchResultAPI, AutocompleteSearchResultGeoBias, AutocompleteSearchResultGeoBiasAPI, AutocompleteSearchSegment, AutocompleteSearchSegmentAPI, AutocompleteSearchSegmentType, BookmarkIntent, BookmarkIntentDetails, CalculateRouteParams, CanonicalAreaTag, ChargingStationsAvailabilityParams, ChargingStopsStrategy, Circle, CircleAPI, CommonServiceParamsWithZoom, ComputeTravelTimeFor, CoordinateIntent, CoordinateIntentAPI, CoordinateIntentDetails, CoordinateIntentDetailsAPI, ExplorationBrandAPI, ExplorationChargingParkAPI, ExplorationClassificationAPI, ExplorationOpeningHoursAPI, ExplorationOpeningIntervalAPI, ExplorationPOIAPI, ExplorationPlaceProps, ExplorationRecordType, ExplorationSearchParams, ExplorationSearchPayloadAPI, ExplorationSearchRequestAPI, ExplorationSearchResponse, ExplorationSearchResponseAPI, ExplorationSearchResultAPI, ExplorationViewportAPI, ExtendedRouteRepresentation, FunctionalRoadClass, FuzzySearchParams, FuzzySearchResponse, FuzzySearchResponseAPI, FuzzySearchResultAPI, GeocodingParams, GeocodingProps, GeocodingResponse, GeometriesInput, GeometryAPI, GeometryDataParams, GeometryDataResponseAPI, GeometryParams, GeometryPlaceParams, GeometrySearchFeatureCollectionProps, GeometrySearchParams, GeometrySearchPayloadAPI, GeometrySearchRequestAPI, GeometrySearchResponse, GeometrySearchResponseAPI, GeometrySearchResultAPI, GuidanceParams, InputSectionType, InputSectionTypes, LegCostModel, MaxNumberOfAlternatives, NearAPI, NearbyIntent, NearbyIntentAPI, NearbyIntentDetails, NearbyIntentDetailsAPI, POICategoriesParams, POICategoriesResponse, POICategoryResult, Phonetics, PlaceByIdMandatoryParams, PlaceByIdOptionalParams, PlaceByIdParams, PlaceByIdResponse, PlaceByIdResponseAPI, PlaceByIdResultAPI, PoiCategoriesResponseAPI, PoiCategoryAPI, PolygonAPI, PopulatedAreaTag, QueryIntent, QueryIntentAPI, ReverseGeocodingMandatoryParams, ReverseGeocodingOptionalParams, ReverseGeocodingParams, RoutePointAPI, RouteStopOptions, SearchGeometryInput, TrafficAreaAnalyticsDateRange, TrafficAreaAnalyticsDays, TrafficAreaAnalyticsParams, TrafficIncidentDetailsByBBoxParams, TrafficIncidentDetailsByIdsParams, TrafficIncidentDetailsParams, W3WIntent, W3WIntentDetails, arrivalSides, chargingStopsStrategies, functionalRoadClasses, metricKeyToApiDataType };
8946
+ export type { AdditionalDataAPI, AlongRouteSearchParams, AlongRouteSearchPayloadAPI, AlongRouteSearchRequestAPI, AlongRouteSearchResponse, AlongRouteSearchResponseAPI, AlongRouteSearchResultAPI, AlongRouteSortBy, AreaAnalyticsDateInput, ArrivalSide, AutocompleteGenericSearchSegment, AutocompleteSearchBrandSegment, AutocompleteSearchCategorySegment, AutocompleteSearchCategorySegmentAPI, AutocompleteSearchContext, AutocompleteSearchContextAPI, AutocompleteSearchMatch, AutocompleteSearchMatches, AutocompleteSearchParams, AutocompleteSearchPlaintextSegment, AutocompleteSearchResponse, AutocompleteSearchResponseAPI, AutocompleteSearchResult, AutocompleteSearchResultAPI, AutocompleteSearchResultGeoBias, AutocompleteSearchResultGeoBiasAPI, AutocompleteSearchSegment, AutocompleteSearchSegmentAPI, AutocompleteSearchSegmentType, BookmarkIntent, BookmarkIntentDetails, CalculateRouteParams, ChargingStationsAvailabilityParams, ChargingStopsStrategy, Circle, CircleAPI, CommonServiceParamsWithZoom, ComputeTravelTimeFor, CoordinateIntent, CoordinateIntentAPI, CoordinateIntentDetails, CoordinateIntentDetailsAPI, ExtendedRouteRepresentation, FunctionalRoadClass, FuzzySearchParams, FuzzySearchResponse, FuzzySearchResponseAPI, FuzzySearchResultAPI, GeocodingParams, GeocodingProps, GeocodingResponse, GeometriesInput, GeometryAPI, GeometryDataParams, GeometryDataResponseAPI, GeometryParams, GeometryPlaceParams, GeometrySearchFeatureCollectionProps, GeometrySearchParams, GeometrySearchPayloadAPI, GeometrySearchRequestAPI, GeometrySearchResponse, GeometrySearchResponseAPI, GeometrySearchResultAPI, GuidanceParams, InputSectionType, InputSectionTypes, LegCostModel, MaxNumberOfAlternatives, NearbyIntent, NearbyIntentAPI, NearbyIntentDetails, NearbyIntentDetailsAPI, POICategoriesParams, POICategoriesResponse, POICategoryResult, Phonetics, PlaceByIdMandatoryParams, PlaceByIdOptionalParams, PlaceByIdParams, PlaceByIdResponse, PlaceByIdResponseAPI, PlaceByIdResultAPI, PoiCategoriesResponseAPI, PoiCategoryAPI, PolygonAPI, QueryIntent, QueryIntentAPI, ReverseGeocodingMandatoryParams, ReverseGeocodingOptionalParams, ReverseGeocodingParams, RoutePointAPI, RouteStopOptions, SearchGeometryInput, TrafficAreaAnalyticsDateRange, TrafficAreaAnalyticsDays, TrafficAreaAnalyticsParams, TrafficIncidentDetailsByBBoxParams, TrafficIncidentDetailsByIdsParams, TrafficIncidentDetailsParams, W3WIntent, W3WIntentDetails, arrivalSides, chargingStopsStrategies, functionalRoadClasses, metricKeyToApiDataType };