@tomtom-org/maps-sdk 0.51.5 → 0.53.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.
@@ -543,7 +543,7 @@ type Language = (typeof languages)[number];
543
543
  /**
544
544
  * @group Place
545
545
  */
546
- declare const connectorTypes: readonly ["StandardHouseholdCountrySpecific", "IEC62196Type1", "IEC62196Type1CCS", "IEC62196Type2CableAttached", "IEC62196Type2Outlet", "IEC62196Type2CCS", "IEC62196Type3", "Chademo", "GBT20234Part2", "GBT20234Part3", "IEC60309AC3PhaseRed", "IEC60309AC1PhaseBlue", "IEC60309DCWhite", "Tesla"];
546
+ export declare const connectorTypes: readonly ["StandardHouseholdCountrySpecific", "IEC62196Type1", "IEC62196Type1CCS", "IEC62196Type2CableAttached", "IEC62196Type2Outlet", "IEC62196Type2CCS", "IEC62196Type3", "Chademo", "GBT20234Part2", "GBT20234Part3", "IEC60309AC3PhaseRed", "IEC60309AC1PhaseBlue", "IEC60309DCWhite", "Tesla"];
547
547
  /**
548
548
  * Electric vehicle charging connector type.
549
549
  *
@@ -567,11 +567,11 @@ declare const connectorTypes: readonly ["StandardHouseholdCountrySpecific", "IEC
567
567
  *
568
568
  * @group Place
569
569
  */
570
- type ConnectorType = (typeof connectorTypes)[number];
570
+ export type ConnectorType = (typeof connectorTypes)[number];
571
571
  /**
572
572
  * @group Place
573
573
  */
574
- declare const currentTypes: readonly ["AC1", "AC3", "DC"];
574
+ export declare const currentTypes: readonly ["AC1", "AC3", "DC"];
575
575
  /**
576
576
  * Current type for electric vehicle charging.
577
577
  *
@@ -589,7 +589,7 @@ declare const currentTypes: readonly ["AC1", "AC3", "DC"];
589
589
  *
590
590
  * @group Place
591
591
  */
592
- type CurrentType = (typeof currentTypes)[number];
592
+ export type CurrentType = (typeof currentTypes)[number];
593
593
  /**
594
594
  * The charging speed classification of this charging connection.
595
595
  *
@@ -599,7 +599,7 @@ type CurrentType = (typeof currentTypes)[number];
599
599
  * - `fast`: Typically between 50 kW and 150 kW (DC fast charging)
600
600
  * - `ultra-fast`: Typically above 150 kW (High-power DC fast charging)
601
601
  */
602
- type ChargingSpeed = 'slow' | 'regular' | 'fast' | 'ultra-fast';
602
+ export type ChargingSpeed = 'slow' | 'regular' | 'fast' | 'ultra-fast';
603
603
  /**
604
604
  * Electric vehicle charging connector with specifications.
605
605
  *
@@ -620,7 +620,7 @@ type ChargingSpeed = 'slow' | 'regular' | 'fast' | 'ultra-fast';
620
620
  *
621
621
  * @group Place
622
622
  */
623
- type Connector = {
623
+ export type Connector = {
624
624
  /**
625
625
  * Unique identifier for this connector.
626
626
  */
@@ -674,7 +674,7 @@ type Connector = {
674
674
  /**
675
675
  * @group Place
676
676
  */
677
- declare const chargingStationAccessTypes: readonly ["Public", "Authorized", "Restricted", "Private", "Unknown"];
677
+ export declare const chargingStationAccessTypes: readonly ["Public", "Authorized", "Restricted", "Private", "Unknown"];
678
678
  /**
679
679
  * Access type for EV charging stations.
680
680
  *
@@ -694,11 +694,11 @@ declare const chargingStationAccessTypes: readonly ["Public", "Authorized", "Res
694
694
  *
695
695
  * @group Place
696
696
  */
697
- type ChargingStationsAccessType = (typeof chargingStationAccessTypes)[number];
697
+ export type ChargingStationsAccessType = (typeof chargingStationAccessTypes)[number];
698
698
  /**
699
699
  * @group Place
700
700
  */
701
- declare const chargingPointStatus: readonly ["Available", "Reserved", "Occupied", "OutOfService", "Unknown"];
701
+ export declare const chargingPointStatus: readonly ["Available", "Reserved", "Occupied", "OutOfService", "Unknown"];
702
702
  /**
703
703
  * Real-time operational status of a charging point.
704
704
  *
@@ -716,12 +716,12 @@ declare const chargingPointStatus: readonly ["Available", "Reserved", "Occupied"
716
716
  *
717
717
  * @group Place
718
718
  */
719
- type ChargingPointStatus = (typeof chargingPointStatus)[number];
719
+ export type ChargingPointStatus = (typeof chargingPointStatus)[number];
720
720
  /**
721
721
  * Possible capabilities for a charging point.
722
722
  * @group Place
723
723
  */
724
- declare const chargingPointCapabilities: readonly ["ChargingProfileCapable", "ChargingPreferencesCapable", "ChipCardSupport", "ContactlessCardSupport", "CreditCardPayable", "DebitCardPayable", "PedTerminal", "RemoteStartStopCapable", "Reservable", "RfidReader", "StartSessionConnectorRequired", "TokenGroupCapable", "UnlockCapable", "PlugAndCharge", "Unknown"];
724
+ export declare const chargingPointCapabilities: readonly ["ChargingProfileCapable", "ChargingPreferencesCapable", "ChipCardSupport", "ContactlessCardSupport", "CreditCardPayable", "DebitCardPayable", "PedTerminal", "RemoteStartStopCapable", "Reservable", "RfidReader", "StartSessionConnectorRequired", "TokenGroupCapable", "UnlockCapable", "PlugAndCharge", "Unknown"];
725
725
  /**
726
726
  * Capability of a charging point.
727
727
  *
@@ -756,11 +756,11 @@ declare const chargingPointCapabilities: readonly ["ChargingProfileCapable", "Ch
756
756
  *
757
757
  * @group Place
758
758
  */
759
- type ChargingPointCapability = (typeof chargingPointCapabilities)[number];
759
+ export type ChargingPointCapability = (typeof chargingPointCapabilities)[number];
760
760
  /**
761
761
  * @group Place
762
762
  */
763
- declare const chargingPointRestrictions: readonly ["EvOnly", "Plugged", "Disabled", "Customers", "Motorcycles"];
763
+ export declare const chargingPointRestrictions: readonly ["EvOnly", "Plugged", "Disabled", "Customers", "Motorcycles"];
764
764
  /**
765
765
  * Parking or usage restrictions for a charging point.
766
766
  *
@@ -780,7 +780,7 @@ declare const chargingPointRestrictions: readonly ["EvOnly", "Plugged", "Disable
780
780
  *
781
781
  * @group Place
782
782
  */
783
- type ChargingPointRestriction = (typeof chargingPointRestrictions)[number];
783
+ export type ChargingPointRestriction = (typeof chargingPointRestrictions)[number];
784
784
  /**
785
785
  * Individual charging point (EVSE - Electric Vehicle Supply Equipment).
786
786
  *
@@ -806,7 +806,7 @@ type ChargingPointRestriction = (typeof chargingPointRestrictions)[number];
806
806
  *
807
807
  * @group Place
808
808
  */
809
- type ChargingPoint = {
809
+ export type ChargingPoint = {
810
810
  /**
811
811
  * Unique identifier for this charging point (EVSE ID).
812
812
  *
@@ -857,7 +857,7 @@ type ChargingPoint = {
857
857
  *
858
858
  * @group Place
859
859
  */
860
- type ChargingStation = {
860
+ export type ChargingStation = {
861
861
  /**
862
862
  * Unique identifier for the charging station.
863
863
  */
@@ -1223,7 +1223,7 @@ type ChargingStationsAvailability = {
1223
1223
  /**
1224
1224
  * @group Place
1225
1225
  */
1226
- declare const geographyTypes: readonly ["Country", "CountrySubdivision", "CountrySecondarySubdivision", "CountryTertiarySubdivision", "Municipality", "MunicipalitySubdivision", "Neighbourhood", "PostalCodeArea"];
1226
+ export declare const geographyTypes: readonly ["Country", "CountrySubdivision", "CountrySecondarySubdivision", "CountryTertiarySubdivision", "Municipality", "MunicipalitySubdivision", "MunicipalitySecondarySubdivision", "Neighbourhood", "PostalCodeArea"];
1227
1227
  /**
1228
1228
  * Type of geographic administrative entity.
1229
1229
  *
@@ -1247,7 +1247,7 @@ declare const geographyTypes: readonly ["Country", "CountrySubdivision", "Countr
1247
1247
  *
1248
1248
  * @group Place
1249
1249
  */
1250
- type GeographyType = (typeof geographyTypes)[number];
1250
+ export type GeographyType = (typeof geographyTypes)[number];
1251
1251
  /**
1252
1252
  * Type of mapcode.
1253
1253
  *
@@ -1262,7 +1262,7 @@ type GeographyType = (typeof geographyTypes)[number];
1262
1262
  *
1263
1263
  * @group Place
1264
1264
  */
1265
- type MapcodeType = 'Local' | 'International' | 'Alternative';
1265
+ export type MapcodeType = 'Local' | 'International' | 'Alternative';
1266
1266
  /**
1267
1267
  * Mapcode representation of a location.
1268
1268
  *
@@ -1289,11 +1289,14 @@ type MapcodeType = 'Local' | 'International' | 'Alternative';
1289
1289
  *
1290
1290
  * @group Place
1291
1291
  */
1292
- type Mapcode = {
1292
+ export type Mapcode = {
1293
1293
  /**
1294
- * The type of mapcode (Local, International, or Alternative).
1294
+ * The mapcode without territory.
1295
+ *
1296
+ * Two groups of letters/digits separated by a dot (e.g., "4J.P2").
1297
+ * Uses the response language/alphabet. Not present for International mapcodes.
1295
1298
  */
1296
- type: MapcodeType;
1299
+ code?: string;
1297
1300
  /**
1298
1301
  * Complete mapcode including territory if applicable.
1299
1302
  *
@@ -1308,12 +1311,9 @@ type Mapcode = {
1308
1311
  */
1309
1312
  territory?: string;
1310
1313
  /**
1311
- * The mapcode without territory.
1312
- *
1313
- * Two groups of letters/digits separated by a dot (e.g., "4J.P2").
1314
- * Uses the response language/alphabet. Not present for International mapcodes.
1314
+ * The type of mapcode (Local, International, or Alternative).
1315
1315
  */
1316
- code?: string;
1316
+ type: MapcodeType;
1317
1317
  };
1318
1318
  /**
1319
1319
  * Address range information for a street segment.
@@ -1323,7 +1323,11 @@ type Mapcode = {
1323
1323
  *
1324
1324
  * @group Place
1325
1325
  */
1326
- type AddressRanges = {
1326
+ export type AddressRanges = {
1327
+ /**
1328
+ * Starting coordinates of the street segment [longitude, latitude].
1329
+ */
1330
+ from: Position;
1327
1331
  /**
1328
1332
  * Address range on the left side of the street.
1329
1333
  *
@@ -1336,10 +1340,6 @@ type AddressRanges = {
1336
1340
  * Looking from the 'from' point toward the 'to' point.
1337
1341
  */
1338
1342
  rangeRight: string;
1339
- /**
1340
- * Starting coordinates of the street segment [longitude, latitude].
1341
- */
1342
- from: Position;
1343
1343
  /**
1344
1344
  * Ending coordinates of the street segment [longitude, latitude].
1345
1345
  */
@@ -1354,7 +1354,7 @@ type AddressRanges = {
1354
1354
  *
1355
1355
  * @group Place
1356
1356
  */
1357
- type EntryPointType = 'main' | 'minor';
1357
+ export type EntryPointType = 'main' | 'minor';
1358
1358
  /**
1359
1359
  * Entry point (entrance) for a place.
1360
1360
  *
@@ -1372,11 +1372,7 @@ type EntryPointType = 'main' | 'minor';
1372
1372
  *
1373
1373
  * @group Place
1374
1374
  */
1375
- type EntryPoint = {
1376
- /**
1377
- * Type of entry point (main or minor).
1378
- */
1379
- type: EntryPointType;
1375
+ export type EntryPoint = {
1380
1376
  /**
1381
1377
  * Functional description of the entry point.
1382
1378
  *
@@ -1387,11 +1383,15 @@ type EntryPoint = {
1387
1383
  * Geographic coordinates of the entry point [longitude, latitude].
1388
1384
  */
1389
1385
  position: Position;
1386
+ /**
1387
+ * Type of entry point (main or minor).
1388
+ */
1389
+ type: EntryPointType;
1390
1390
  };
1391
1391
  /**
1392
1392
  * @group Place
1393
1393
  */
1394
- declare const placeTypes: readonly ["POI", "Street", "Geography", "Point Address", "Address Range", "Cross Street"];
1394
+ export declare const placeTypes: readonly ["POI", "Street", "Geography", "Point Address", "Address Range", "Cross Street"];
1395
1395
  /**
1396
1396
  * Type of place result.
1397
1397
  *
@@ -1412,7 +1412,7 @@ declare const placeTypes: readonly ["POI", "Street", "Geography", "Point Address
1412
1412
  *
1413
1413
  * @group Place
1414
1414
  */
1415
- type PlaceType = (typeof placeTypes)[number];
1415
+ export type PlaceType = (typeof placeTypes)[number];
1416
1416
  /**
1417
1417
  * Structured address components for a place.
1418
1418
  *
@@ -1437,77 +1437,61 @@ type PlaceType = (typeof placeTypes)[number];
1437
1437
  *
1438
1438
  * @group Place
1439
1439
  */
1440
- type AddressProperties = {
1440
+ export type AddressProperties = {
1441
1441
  /**
1442
- * Complete formatted address string.
1443
- *
1444
- * Follows the formatting conventions of the result's country of origin.
1445
- * For countries, this is the full country name.
1446
- */
1447
- freeformAddress: string;
1448
- /**
1449
- * Building or house number on the street.
1450
- */
1451
- streetNumber?: string;
1452
- /**
1453
- * Street name without the building number.
1442
+ * Full country name.
1454
1443
  */
1455
- streetName?: string;
1444
+ country?: string;
1456
1445
  /**
1457
- * Subdivision of a municipality (sub-city or super-city area).
1446
+ * Two-letter ISO 3166-1 alpha-2 country code.
1447
+ *
1448
+ * Examples: 'US', 'GB', 'NL', 'DE'
1458
1449
  */
1459
- municipalitySubdivision?: string;
1450
+ countryCode?: string;
1460
1451
  /**
1461
- * City or town name.
1452
+ * Three-letter ISO 3166-1 alpha-3 country code.
1453
+ *
1454
+ * Examples: 'USA', 'GBR', 'NLD', 'DEU'
1455
+ *
1456
+ * @see [ISO 3166-1 alpha-3 codes](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3)
1462
1457
  */
1463
- municipality?: string;
1458
+ countryCodeISO3?: string;
1464
1459
  /**
1465
1460
  * County or second-level administrative subdivision.
1466
1461
  */
1467
1462
  countrySecondarySubdivision?: string;
1468
- /**
1469
- * Named area or third-level administrative subdivision.
1470
- */
1471
- countryTertiarySubdivision?: string;
1472
1463
  /**
1473
1464
  * State or province (first-level administrative subdivision).
1474
1465
  */
1475
1466
  countrySubdivision?: string;
1476
1467
  /**
1477
- * Postal code or ZIP code.
1468
+ * ISO code of the first-level administrative subdivision (e.g. "US-CA").
1478
1469
  */
1479
- postalCode?: string;
1480
- /**
1481
- * Extended postal code.
1482
- *
1483
- * Availability depends on region. More precise than standard postal code.
1484
- */
1485
- extendedPostalCode?: string;
1470
+ countrySubdivisionCodeIso?: string;
1486
1471
  /**
1487
- * Two-letter ISO 3166-1 alpha-2 country code.
1472
+ * Full name of the first-level administrative subdivision.
1488
1473
  *
1489
- * Examples: 'US', 'GB', 'NL', 'DE'
1474
+ * Present when countrySubdivision is abbreviated. Supported for USA, Canada, and Great Britain.
1475
+ * Example: "California" when countrySubdivision is "CA"
1490
1476
  */
1491
- countryCode?: string;
1477
+ countrySubdivisionName?: string;
1492
1478
  /**
1493
- * Full country name.
1479
+ * Named area or third-level administrative subdivision.
1494
1480
  */
1495
- country?: string;
1481
+ countryTertiarySubdivision?: string;
1496
1482
  /**
1497
- * Three-letter ISO 3166-1 alpha-3 country code.
1498
- *
1499
- * Examples: 'USA', 'GBR', 'NLD', 'DEU'
1483
+ * Extended postal code.
1500
1484
  *
1501
- * @see [ISO 3166-1 alpha-3 codes](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3)
1485
+ * Availability depends on region. More precise than standard postal code.
1502
1486
  */
1503
- countryCodeISO3?: string;
1487
+ extendedPostalCode?: string;
1504
1488
  /**
1505
- * Full name of the first-level administrative subdivision.
1489
+ * Complete formatted address string.
1506
1490
  *
1507
- * Present when countrySubdivision is abbreviated. Supported for USA, Canada, and Great Britain.
1508
- * Example: "California" when countrySubdivision is "CA"
1491
+ * Follows the formatting conventions of the result's country of origin.
1492
+ * For countries, this is the full country name.
1509
1493
  */
1510
- countrySubdivisionName?: string;
1494
+ freeformAddress: string;
1511
1495
  /**
1512
1496
  * Local area or locality name.
1513
1497
  *
@@ -1515,6 +1499,44 @@ type AddressProperties = {
1515
1499
  * without being an official administrative unit.
1516
1500
  */
1517
1501
  localName?: string;
1502
+ /**
1503
+ * City or town name.
1504
+ */
1505
+ municipality?: string;
1506
+ /**
1507
+ * District within a municipality subdivision (third-level city administrative division).
1508
+ */
1509
+ municipalitySecondarySubdivision?: string;
1510
+ /**
1511
+ * Formal administrative subdivision of a municipality (sub-city or super-city area).
1512
+ * Has official boundaries, unlike a neighborhood.
1513
+ */
1514
+ municipalitySubdivision?: string;
1515
+ /**
1516
+ * Informally-named area within a city, with no official boundaries.
1517
+ * Distinct from municipalitySubdivision, which is a formal administrative division.
1518
+ */
1519
+ neighborhood?: string;
1520
+ /**
1521
+ * Postal code or ZIP code.
1522
+ */
1523
+ postalCode?: string;
1524
+ /**
1525
+ * Name of the postal code area, when the result is a postal code area itself.
1526
+ */
1527
+ postalName?: string;
1528
+ /**
1529
+ * Route/road numbers associated with the address (e.g. highway numbers).
1530
+ */
1531
+ routeNumbers?: string[];
1532
+ /**
1533
+ * Street name without the building number.
1534
+ */
1535
+ streetName?: string;
1536
+ /**
1537
+ * Building or house number on the street.
1538
+ */
1539
+ streetNumber?: string;
1518
1540
  };
1519
1541
  /**
1520
1542
  * Common properties shared by all place types.
@@ -1524,28 +1546,30 @@ type AddressProperties = {
1524
1546
  *
1525
1547
  * @group Place
1526
1548
  */
1527
- type CommonPlaceProps = {
1528
- /**
1529
- * Type classification of this place.
1530
- */
1531
- type: PlaceType;
1549
+ export type CommonPlaceProps = {
1532
1550
  /**
1533
1551
  * Structured address components.
1534
1552
  */
1535
1553
  address: AddressProperties;
1536
1554
  /**
1537
- * Geographic entity type(s).
1555
+ * Address ranges along a street segment.
1538
1556
  *
1539
- * Present only when type === 'Geography'.
1540
- * Array can contain multiple types for areas with multiple administrative roles.
1557
+ * Present only when type === 'Address Range'.
1541
1558
  */
1542
- geographyType?: GeographyType[];
1559
+ addressRanges?: AddressRanges;
1543
1560
  /**
1544
- * Mapcode representations of this location.
1561
+ * EV charging infrastructure information.
1545
1562
  *
1546
- * Alternative location codes that can be used instead of coordinates.
1563
+ * Present only for Electric Vehicle charging station POIs.
1547
1564
  */
1548
- mapcodes?: Mapcode[];
1565
+ chargingPark?: ChargingPark;
1566
+ /**
1567
+ * References to additional data sources.
1568
+ *
1569
+ * IDs for fetching more detailed information from other services
1570
+ * (geometry, availability, POI details).
1571
+ */
1572
+ dataSources?: PlaceDataSources;
1549
1573
  /**
1550
1574
  * Physical entry points (entrances) to the place.
1551
1575
  *
@@ -1553,11 +1577,18 @@ type CommonPlaceProps = {
1553
1577
  */
1554
1578
  entryPoints?: EntryPoint[];
1555
1579
  /**
1556
- * Address ranges along a street segment.
1580
+ * Geographic entity type(s).
1557
1581
  *
1558
- * Present only when type === 'Address Range'.
1582
+ * Present only when type === 'Geography'.
1583
+ * Array can contain multiple types for areas with multiple administrative roles.
1559
1584
  */
1560
- addressRanges?: AddressRanges;
1585
+ geographyType?: GeographyType[];
1586
+ /**
1587
+ * Mapcode representations of this location.
1588
+ *
1589
+ * Alternative location codes that can be used instead of coordinates.
1590
+ */
1591
+ mapcodes?: Mapcode[];
1561
1592
  /**
1562
1593
  * Point of Interest information.
1563
1594
  *
@@ -1571,29 +1602,10 @@ type CommonPlaceProps = {
1571
1602
  */
1572
1603
  relatedPois?: RelatedPOI[];
1573
1604
  /**
1574
- * EV charging infrastructure information.
1575
- *
1576
- * Present only for Electric Vehicle charging station POIs.
1577
- */
1578
- chargingPark?: ChargingPark;
1579
- /**
1580
- * References to additional data sources.
1581
- *
1582
- * IDs for fetching more detailed information from other services
1583
- * (geometry, availability, POI details).
1605
+ * Type classification of this place.
1584
1606
  */
1585
- dataSources?: PlaceDataSources;
1607
+ type: PlaceType;
1586
1608
  };
1587
- /**
1588
- * Side of the street indicator.
1589
- *
1590
- * @remarks
1591
- * - `L`: Left side
1592
- * - `R`: Right side
1593
- *
1594
- * @group Place
1595
- */
1596
- type SideOfStreet = 'L' | 'R';
1597
1609
  /**
1598
1610
  * Properties for reverse geocoded places.
1599
1611
  *
@@ -1602,24 +1614,15 @@ type SideOfStreet = 'L' | 'R';
1602
1614
  *
1603
1615
  * @group Place
1604
1616
  */
1605
- type RevGeoAddressProps = CommonPlaceProps & {
1617
+ export type RevGeoAddressProps = CommonPlaceProps & {
1606
1618
  /**
1607
- * Original coordinates used in the reverse geocoding query [longitude, latitude].
1619
+ * Physical access points (e.g. driveway entrances) for the address, when available.
1608
1620
  */
1609
- originalPosition: Position;
1621
+ accessPoints?: Position[];
1610
1622
  /**
1611
- * Offset position coordinates for address interpolation.
1612
- *
1613
- * Present when a street number was specified in the query.
1614
- * Represents the interpolated position of the specific address number.
1615
- */
1616
- offsetPosition?: Position;
1617
- /**
1618
- * Which side of the street the address is located on.
1619
- *
1620
- * Present only when a street number was specified in the query.
1623
+ * Original coordinates used in the reverse geocoding query [longitude, latitude].
1621
1624
  */
1622
- sideOfStreet?: SideOfStreet;
1625
+ originalPosition: Position;
1623
1626
  };
1624
1627
  /**
1625
1628
  * Properties for search result places.
@@ -1629,7 +1632,13 @@ type RevGeoAddressProps = CommonPlaceProps & {
1629
1632
  *
1630
1633
  * @group Place
1631
1634
  */
1632
- type SearchPlaceProps = CommonPlaceProps & {
1635
+ export type SearchPlaceProps = CommonPlaceProps & {
1636
+ /**
1637
+ * Distance in meters to this result from the bias position.
1638
+ *
1639
+ * Present only when geoBias (position bias) was provided in the search.
1640
+ */
1641
+ distance?: number;
1633
1642
  /**
1634
1643
  * Information about the original data source.
1635
1644
  *
@@ -1643,12 +1652,6 @@ type SearchPlaceProps = CommonPlaceProps & {
1643
1652
  * Used for ranking search results.
1644
1653
  */
1645
1654
  score?: number;
1646
- /**
1647
- * Distance in meters to this result from the bias position.
1648
- *
1649
- * Present only when geoBias (position bias) was provided in the search.
1650
- */
1651
- distance?: number;
1652
1655
  };
1653
1656
  /**
1654
1657
  * GeoJSON Feature representing a place.
@@ -1675,19 +1678,19 @@ type SearchPlaceProps = CommonPlaceProps & {
1675
1678
  *
1676
1679
  * @group Place
1677
1680
  */
1678
- type Place<P extends CommonPlaceProps = CommonPlaceProps> = Omit<Feature<Point, P>, 'id' | 'bbox'> & {
1679
- /**
1680
- * Unique identifier for this place.
1681
- *
1682
- * Required string ID (stricter than GeoJSON Feature's optional id).
1683
- */
1684
- id: string;
1681
+ export type Place<P extends CommonPlaceProps = CommonPlaceProps> = Omit<Feature<Point, P>, 'id' | 'bbox'> & {
1685
1682
  /**
1686
1683
  * Bounding box that contains the place.
1687
1684
  *
1688
1685
  * * Typically significant for places covering wider areas.
1689
1686
  */
1690
1687
  bbox?: BBox;
1688
+ /**
1689
+ * Unique identifier for this place.
1690
+ *
1691
+ * Required string ID (stricter than GeoJSON Feature's optional id).
1692
+ */
1693
+ id: string;
1691
1694
  };
1692
1695
  /**
1693
1696
  * GeoJSON FeatureCollection containing multiple places.
@@ -1710,17 +1713,17 @@ type Place<P extends CommonPlaceProps = CommonPlaceProps> = Omit<Feature<Point,
1710
1713
  *
1711
1714
  * @group Place
1712
1715
  */
1713
- type Places<P extends CommonPlaceProps = CommonPlaceProps, FeatureCollectionProps = unknown> = Omit<FeatureCollectionWithProperties<Point, P, FeatureCollectionProps>, 'features' | 'bbox'> & {
1714
- /**
1715
- * Array of place features.
1716
- * * Each place has a required string ID.
1717
- */
1718
- features: Place<P>[];
1716
+ export type Places<P extends CommonPlaceProps = CommonPlaceProps, FeatureCollectionProps = unknown> = Omit<FeatureCollectionWithProperties<Point, P, FeatureCollectionProps>, 'features' | 'bbox'> & {
1719
1717
  /**
1720
1718
  * Bounding box that contains all the places, including their bounding boxes.
1721
1719
  * * Only included if any places are present.
1722
1720
  */
1723
1721
  bbox?: BBox;
1722
+ /**
1723
+ * Array of place features.
1724
+ * * Each place has a required string ID.
1725
+ */
1726
+ features: Place<P>[];
1724
1727
  };
1725
1728
  //#endregion
1726
1729
  //#region src/types/place/ev/evPlaceProps.d.ts
@@ -1960,11 +1963,11 @@ type PoiDetailsDataSource = {
1960
1963
  /**
1961
1964
  * @group Place
1962
1965
  */
1963
- declare const poiCategories: readonly ["ACCESS_GATEWAY", "ADVENTURE_SPORTS_FACILITY", "ADVENTURE_VEHICLE_TRAIL", "ADVERTISING_COMPANY", "AFGHAN_RESTAURANT", "AFRICAN_RESTAURANT", "AGRICULTURAL_SUPPLIES", "AGRICULTURAL_TECHNOLOGY", "AGRICULTURE", "AIRFIELD", "AIRLINE_ACCESS", "AIRLINE_COMPANY", "AIRPORT", "AMBULANCE_UNIT", "AMERICAN_RESTAURANT", "AMPHITHEATER", "AMUSEMENT_PARK", "AMUSEMENT_PLACE", "ANIMAL_SERVICES", "ANIMAL_SHELTER", "ANTIQUE_ART_SHOP", "APARTMENT_RENTAL", "AQUATIC_ZOO", "ARABIAN_RESTAURANT", "ARBORETA_BOTANICAL_GARDENS", "ARCH", "ARMENIAN_RESTAURANT", "ART_SCHOOL", "ASIAN_RESTAURANT", "ATHLETICS_TRACK", "ATM", "ATV_DEALER", "AUSTRALIAN_RESTAURANT", "AUSTRIAN_RESTAURANT", "AUTOMOBILE_COMPANY", "AUTOMOBILE_MANUFACTURING", "AUTOMOTIVE_DEALER", "BAGS_LEATHERWEAR", "BAKERY", "BANK", "BANQUET_ROOMS", "BAR", "BARBECUE_RESTAURANT", "BASEBALL_PARK", "BASKETBALL_ARENA", "BASQUE_RESTAURANT", "BATTLEFIELD", "BAY", "BEACH", "BEACH_CLUB", "BEAUTY_SALON", "BEAUTY_SUPPLIES", "BELGIAN_RESTAURANT", "BETTING_STATION", "BISTRO", "BLOOD_BANK", "BOATING_EQUIPMENT_ACCESSORIES", "BOAT_DEALER", "BOAT_LAUNCHING_RAMP", "BODYSHOP", "BOLIVIAN_RESTAURANT", "BOOK_SHOP", "BOWLING_CENTER", "BRAZILIAN_RESTAURANT", "BRIDGE", "BRITISH_RESTAURANT", "BUFFET_RESTAURANT", "BUILDING", "BULGARIAN_RESTAURANT", "BUNGALOW_RENTAL", "BURMESE_RESTAURANT", "BUSINESS_PARK", "BUSINESS_SERVICES", "BUS_CHARTER_COMPANY", "BUS_DEALER", "BUS_LINES", "BUS_STOP", "BUTCHER", "B_B_GUEST_HOUSE", "CABARET_THEATER", "CABINS_LODGES", "CABLE_TELEPHONE_COMPANY", "CAFE", "CAFETERIA", "CAFE_PUB", "CALIFORNIAN_RESTAURANT", "CAMBODIAN_RESTAURANT", "CAMERAS_PHOTOGRAPHY", "CAMPING_GROUND", "CANADIAN_RESTAURANT", "CAPE", "CARAVAN_SITE", "CARIBBEAN_RESTAURANT", "CARPET_FLOOR_COVERINGS", "CAR_DEALER", "CAR_GLASS_REPLACEMENT_SHOP", "CAR_REPAIR_AND_SERVICE", "CAR_WASH", "CASINO", "CATERING_SERVICES", "CAVE", "CEMETERY", "CHALET_RENTAL", "CHEMICAL_COMPANY", "CHICKEN_RESTAURANT", "CHILDRENS_CLOTHES", "CHILD_CARE_FACILITY", "CHINESE_RESTAURANT", "CHRISTMAS_HOLIDAY_SHOP", "CHURCH", "CINEMA", "CLEANING_SERVICES", "CLOTHING_SHOP", "CLUB_ASSOCIATION", "COCKTAIL_BAR", "COFFEE_SHOP", "COLLEGE_OR_UNIVERSITY", "COLLEGE_UNIVERSITY", "COLOMBIAN_RESTAURANT", "COMEDY_CLUB", "COMMERCIAL_BUILDING", "COMMUNITY_CENTER", "COMPANY", "COMPUTER_COMPUTER_SUPPLIES", "COMPUTER_DATA_SERVICES", "CONCERT_HALL", "CONSTRUCTION_COMPANY", "CONSTRUCTION_MATERIAL_EQUIPMENT", "CONSUMER_ELECTRONICS", "CONVENIENCE_STORE", "CORSICAN_RESTAURANT", "COTTAGE_RENTAL", "COURIER_DROP_BOX", "COURTHOUSE", "COVE", "CREOLE_RESTAURANT", "CREPERIE", "CRICKET_GROUND", "CUBAN_RESTAURANT", "CULTURAL_CENTER", "CURRENCY_EXCHANGE", "CURTAINS_TEXTILES", "CZECH_RESTAURANT", "C_DS_DVD_VIDEOS", "DAM", "DANCE_STUDIO_SCHOOL", "DANISH_RESTAURANT", "DELICATESSEN", "DELIVERY_SERVICE", "DENTIST", "DEPARTMENT_STORE", "DINNER_THEATER", "DISCO_CLUB", "DIVERSIFIED_FINANCIALS", "DOCTOR", "DONGBEI_RESTAURANT", "DOUGHNUT_RESTAURANT", "DO_IT_YOURSELF_CENTERS", "DRIVE_IN_MOVIES", "DRIVE_THROUGH_BOTTLE_SHOP", "DRIVING_SCHOOL", "DRUG_STORE", "DRY_CLEANER", "DUNE", "DUTCH_RESTAURANT", "EGYPTIAN_RESTAURANT", "ELECTRICAL_APPLIANCES_SHOP", "ELECTRIC_VEHICLE_STATION", "ELECTRONICS_COMPANY", "EMBASSY", "EMERGENCY_MEDICAL_SERVICE", "EMERGENCY_ROOM", "ENGLISH_RESTAURANT", "ENTERTAINMENT", "EQUIPMENT_RENTAL", "ETHIOPIAN_RESTAURANT", "EXCHANGE", "EXHIBITION_CONVENTION_CENTER", "FACTORY_OUTLET", "FAIRGROUND", "FARM", "FARMERS_MARKET", "FAST_FOOD", "FERRY_TERMINAL", "FINNISH_RESTAURANT", "FIRE_STATION_BRIGADE", "FISHING_HUNTING_AREA", "FISHMONGER", "FITNESS_CLUB_CENTER", "FLATS_APARTMENT_COMPLEX", "FLORISTS", "FONDUE_RESTAURANT", "FOOD_MARKET", "FOOTBALL_STADIUM", "FOOTWEAR_SHOE_REPAIRS", "FOREST_AREA", "FRENCH_RESTAURANT", "FRONTIER_CROSSING", "FUNERAL_SERVICE_MORTUARIES", "FURNITURE_HOME_FURNISHINGS", "FUSION_RESTAURANT", "GARDEN_CENTERS_SERVICES", "GAS_STATION", "GENERAL_HOSPITAL_AND_POLYCLINIC", "GENERAL_PRACTITIONER", "GEOGRAPHIC_FEATURE", "GERMAN_RESTAURANT", "GIFTS_CARDS_NOVELTIES_SOUVENIRS", "GLASSWARE_CERAMIC_SHOP", "GLASS_WINDOWS_STORE", "GOLD_EXCHANGE", "GOLF_COURSE", "GOVERNMENT_OFFICE", "GREEK_RESTAURANT", "GREENGROCER", "GRILL_RESTAURANT", "GROCERY_STORE", "GURUDWARA", "HAIRDRESSER", "HAMBURGER_RESTAURANT", "HARBOR", "HARDWARE_STORE", "HAWAIIAN_RESTAURANT", "HEALTH_CARE_SERVICE", "HELIPAD_HELICOPTER_LANDING", "HIGH_SCHOOL", "HIKING_TRAIL", "HILL", "HISTORICAL_PARK", "HISTORIC_SITE", "HOBBY_SHOP", "HOCKEY_CLUB", "HOLIDAY_RENTAL", "HOME_APPLIANCE_REPAIR", "HORSE_RACING_TRACK", "HORSE_RIDING_CENTER", "HORSE_RIDING_TRAIL", "HORTICULTURE", "HOSPITAL", "HOSPITAL_FOR_WOMEN_AND_CHILDREN", "HOSPITAL_OF_CHINESE_MEDICINE", "HOSTEL", "HOTEL", "HOTEL_MOTEL", "HOT_POT_RESTAURANT", "HOUSE_GARDEN_FURNITURE_FITTINGS", "HUNAN_RESTAURANT", "HUNGARIAN_RESTAURANT", "ICE_CREAM_PARLOR", "ICE_HOCKEY_ARENA", "ICE_SKATING_RINK", "IMPORT_EXPORT_AND_DISTRIBUTION", "INDIAN_RESTAURANT", "INDONESIAN_RESTAURANT", "INDUSTRIAL_BUILDING", "INFORMAL_MARKET", "INSURANCE_COMPANY", "INTERNATIONAL_RAILROAD_STATION", "INTERNATIONAL_RESTAURANT", "INTERNET_CAFE", "INVESTMENT_ADVISOR", "IRANIAN_RESTAURANT", "IRISH_RESTAURANT", "ISLAND", "ISRAELI_RESTAURANT", "ITALIAN_RESTAURANT", "JAMAICAN_RESTAURANT", "JAPANESE_RESTAURANT", "JAZZ_CLUB", "JEWELRY_CLOCKS_WATCHES", "JEWISH_RESTAURANT", "JUNIOR_COLLEGE_COMMUNITY_COLLEGE", "KARAOKE_CLUB", "KITCHENS_BATHROOMS", "KOREAN_RESTAURANT", "KOSHER_RESTAURANT", "LANGUAGE_SCHOOL", "LATIN_AMERICAN_RESTAURANT", "LAUNDRY", "LEBANESE_RESTAURANT", "LEGAL_SERVICES", "LEISURE_CENTER", "LEISURE_SPORTS_CENTER", "LIBRARY", "LIGHTING_SHOPS", "LOCALE", "LOCAL_SPECIALITIES_SHOP", "LOTTERY_SHOP", "MANUFACTURING_COMPANY", "MANUFACTURING_FACILITY", "MARIJUANA_DISPENSARY", "MARINA", "MARKET", "MARSH", "MAUSOLEUM_GRAVE", "MECHANICAL_ENGINEERING", "MEDIA_FACILITY", "MEDICAL_SUPPLIES_EQUIPMENT", "MEDICINAL_MARIJUANA_DISPENSARY", "MEDITERRANEAN_RESTAURANT", "MEMORIAL", "MENS_CLOTHING", "MEXICAN_RESTAURANT", "MICROBREWERY", "MIDDLE_EASTERN_RESTAURANT", "MIDDLE_SCHOOL", "MILITARY_AIRPORT", "MINERAL_HOT_SPRINGS", "MINING_COMPANY", "MOBILE_PHONE_SHOP", "MONGOLIAN_RESTAURANT", "MONUMENT", "MOROCCAN_RESTAURANT", "MOSQUE", "MOTEL", "MOTORCYCLE_DEALER", "MOTORCYCLE_REPAIR", "MOTORING_ORGANIZATION_OFFICE", "MOTOR_RACING_STADIUM", "MOUNTAIN_BIKE_TRAIL", "MOUNTAIN_PASS", "MOUNTAIN_PEAK", "MOVIE_THEATER", "MOVING_STORAGE_COMPANY", "MULTI_PURPOSE_STADIUM", "MUSEUM", "MUSIC_CENTER", "MUSIC_INSTRUMENTS_STORE", "NAIL_SALON", "NATIONAL_RAILROAD_STATION", "NATIVE_RESERVATION", "NATURAL_TOURIST_ATTRACTION", "NEPALESE_RESTAURANT", "NETBALL_STADIUM", "NEWSAGENTS_TOBACCONISTS", "NIGHTLIFE", "NON_GOVERNMENTAL_ORGANIZATION", "NORWEGIAN_RESTAURANT", "OASIS", "OBSERVATORY", "OFFICE_EQUIPMENT", "OIL_NATURAL_GAS", "OPEN_CAR_PARKING_AREA", "OPEN_PARKING_AREA", "OPERA_HOUSE", "OPTICIAN", "ORGANIC_FOOD_RESTAURANT", "ORIENTAL_RESTAURANT", "OTHER_FOOD_SHOPS", "OTHER_WINTER_SPORT", "PAGODA", "PAINTING_DECORATING", "PAKISTANI_RESTAURANT", "PARK", "PARKING_GARAGE", "PARKWAY", "PARK_RECREATION_AREA", "PASSENGER_TRANSPORT_TICKET_OFFICE", "PAWN_SHOP", "PERSONAL_CARE_FACILITY", "PERSONAL_SERVICE", "PERFORMING_ARTS_THEATER", "PERUVIAN_RESTAURANT", "PET_SUPPLIES", "PHARMACEUTICAL_COMPANY", "PHARMACY", "PHILIPPINE_RESTAURANT", "PHOTOCOPY_SHOP", "PHOTO_LAB_DEVELOPMENT", "PICNIC_AREA", "PIZZERIA", "PLACE_OF_WORSHIP", "PLAIN_FLAT", "PLANETARIUM", "PLATEAU", "POLICE_STATION", "POLISH_RESTAURANT", "POLYNESIAN_RESTAURANT", "PORTUGUESE_RESTAURANT", "PORT_WAREHOUSE_FACILITY", "POST_OFFICE", "PRE_SCHOOL", "PRIMARY_PRODUCER", "PRIMARY_RESOURCE_UTILITY", "PRIMARY_SCHOOL", "PRISON_CORRECTIONAL_FACILITY", "PRIVATE_AIRPORT", "PROTECTED_AREA", "PUB", "PUBLIC_AIRPORT", "PUBLIC_AMENITY", "PUBLIC_CALL_BOX", "PUBLIC_MARKET", "PUBLIC_TOILET", "PUBLIC_TRANSPORT_STOP", "PUBLISHING_TECHNOLOGIES", "PUB_FOOD", "QUARRY", "RACE_TRACK", "RAILWAY_STATION", "RAPIDS", "REAL_ESTATE_AGENT", "REAL_ESTATE_COMPANY", "RECREATIONAL_CAMPING_GROUND", "RECREATIONAL_MARIJUANA_DISPENSARY", "RECREATIONAL_VEHICLE_DEALER", "RECREATION_AREA", "RECYCLING_SHOP", "REEF", "RENT_A_CAR_FACILITY", "RENT_A_CAR_PARKING", "REPAIR_FACILITY", "RESEARCH_FACILITY", "RESERVOIR", "RESIDENTIAL_ACCOMMODATION", "RESORT", "RESTAURANT", "RESTAURANT_AREA", "REST_AREA", "REST_CAMP", "RETAIL_OUTLET", "RETIREMENT_COMMUNITY", "RIDGE", "RIVER_CROSSING", "ROAD_RESCUE", "ROAD_TRAFFIC_CONTROL_CENTER", "ROCKS", "ROCK_CLIMBING_TRAIL", "RUGBY_GROUND", "RUSSIAN_RESTAURANT", "SALAD_BAR", "SANDWICH_RESTAURANT", "SAUNA_SOLARIUM_MASSAGE", "SCANDINAVIAN_RESTAURANT", "SCENIC_PANORAMIC_VIEW", "SCHOOL", "SCHOOL_BUS_COMPANY", "SEAFOOD", "SECURED_ENTRANCE", "SECURITY_PRODUCTS", "SENIOR_HIGH_SCHOOL", "SERVICE_COMPANY", "SHANDONG_RESTAURANT", "SHOP", "SHOPPING_CENTER", "SHOPPING_SERVICE", "SICHUAN_RESTAURANT", "SKI_RESORT", "SNACKS_RESTAURANT", "SNOOKER_POOL_BILLIARD", "SOCCER_STADIUM", "SOFTWARE_COMPANY", "SOUL_FOOD", "SOUP_RESTAURANT", "SPANISH_RESTAURANT", "SPECIALIST", "SPECIALTY_CLOTHING_SHOP", "SPECIALTY_FOODS", "SPECIAL_HOSPITAL", "SPORTS_CENTER", "SPORTS_EQUIPMENT_CLOTHING", "SQUASH_COURT", "STADIUM", "STATION_ACCESS", "STATUE", "STEAK_HOUSE", "STOCK_EXCHANGE", "STREETCAR_STOP", "SUBWAY_STATION", "SUPERMARKETS_HYPERMARKETS", "SUSHI_RESTAURANT", "SWEDISH_RESTAURANT", "SWIMMING_POOL", "SWISS_RESTAURANT", "SYNAGOG", "SYRIAN_RESTAURANT", "TAILOR_SHOP", "TAIWANESE_RESTAURANT", "TAKEOUT_FOOD", "TAPAS_RESTAURANT", "TAXI_LIMOUSINE_SHUTTLE_SERVICE", "TAXI_STAND", "TAX_SERVICES", "TEA_HOUSE", "TELECOMMUNICATIONS", "TEMPLE", "TENNIS_COURT", "TEPPANYAKI_RESTAURANT", "THAI_RESTAURANT", "THEATER", "THEMATIC_SPORT_CENTER", "TIBETAN_RESTAURANT", "TIRE_SERVICE", "TOLL_GATE", "TOURIST_ATTRACTION", "TOURIST_INFORMATION_OFFICE", "TOWER", "TOYS_GAMES_SHOP", "TRAFFIC_CONTROL_DEPARTMENT", "TRAIL_SYSTEM", "TRANSPORT_AUTHORITY_VEHICLE_REGISTRATION", "TRANSPORT_COMPANY", "TRAVEL_AGENT", "TRUCK_DEALER", "TRUCK_REPAIR_AND_SERVICE", "TRUCK_STOP", "TUNISIAN_RESTAURANT", "TUNNEL", "TURKISH_RESTAURANT", "URBAN_STATION", "VALLEY", "VAN_DEALER", "VARIETY_STORE", "VEGETARIAN_RESTAURANT", "VENEZUELAN_RESTAURANT", "VETERINARIAN", "VIDEO_RENTAL_SHOP", "VIETNAMESE_RESTAURANT", "VILLA_RENTAL", "VOCATIONAL_SCHOOL", "WATER_HOLE", "WATER_SPORT", "WEDDING_SERVICES", "WEIGH_STATION", "WELFARE_ORGANIZATION", "WELL", "WESTERN_RESTAURANT", "WHOLESALE_CLUB", "WILDERNESS_AREA", "WILDLIFE_PARK", "WINERY", "WINE_SPIRITS", "WOMENS_CLOTHING", "YACHT_BASIN", "YOGURT_JUICE_BAR", "ZOO", "ZOOS_ARBORETA_BOTANICAL_GARDEN"];
1966
+ export declare const poiCategories: readonly ["ACCESS_GATEWAY", "ADVENTURE_SPORTS_FACILITY", "ADVENTURE_VEHICLE_TRAIL", "ADVERTISING_COMPANY", "AFGHAN_RESTAURANT", "AFRICAN_RESTAURANT", "AGRICULTURAL_SUPPLIES", "AGRICULTURAL_TECHNOLOGY", "AGRICULTURE", "AIRFIELD", "AIRLINE_ACCESS", "AIRLINE_COMPANY", "AIRPORT", "AMBULANCE_UNIT", "AMERICAN_RESTAURANT", "AMPHITHEATER", "AMUSEMENT_PARK", "AMUSEMENT_PLACE", "ANIMAL_SERVICES", "ANIMAL_SHELTER", "ANTIQUE_ART_SHOP", "APARTMENT_RENTAL", "AQUATIC_ZOO", "ARABIAN_RESTAURANT", "ARBORETA_BOTANICAL_GARDENS", "ARCH", "ARMENIAN_RESTAURANT", "ART_SCHOOL", "ASIAN_RESTAURANT", "ATHLETICS_TRACK", "ATM", "ATV_DEALER", "AUSTRALIAN_RESTAURANT", "AUSTRIAN_RESTAURANT", "AUTOMOBILE_COMPANY", "AUTOMOBILE_MANUFACTURING", "AUTOMOTIVE_DEALER", "BAGS_LEATHERWEAR", "BAKERY", "BANK", "BANQUET_ROOMS", "BAR", "BARBECUE_RESTAURANT", "BASEBALL_PARK", "BASKETBALL_ARENA", "BASQUE_RESTAURANT", "BATTLEFIELD", "BAY", "BEACH", "BEACH_CLUB", "BEAUTY_SALON", "BEAUTY_SUPPLIES", "BELGIAN_RESTAURANT", "BETTING_STATION", "BISTRO", "BLOOD_BANK", "BOATING_EQUIPMENT_ACCESSORIES", "BOAT_DEALER", "BOAT_LAUNCHING_RAMP", "BODYSHOP", "BOLIVIAN_RESTAURANT", "BOOK_SHOP", "BOWLING_CENTER", "BRAZILIAN_RESTAURANT", "BRIDGE", "BRITISH_RESTAURANT", "BUFFET_RESTAURANT", "BUILDING", "BULGARIAN_RESTAURANT", "BUNGALOW_RENTAL", "BURMESE_RESTAURANT", "BUSINESS_PARK", "BUSINESS_SERVICES", "BUS_CHARTER_COMPANY", "BUS_DEALER", "BUS_LINES", "BUS_STOP", "BUTCHER", "B_B_GUEST_HOUSE", "CABARET_THEATER", "CABINS_LODGES", "CABLE_TELEPHONE_COMPANY", "CAFE", "CAFETERIA", "CAFE_PUB", "CALIFORNIAN_RESTAURANT", "CAMBODIAN_RESTAURANT", "CAMERAS_PHOTOGRAPHY", "CAMPING_GROUND", "CANADIAN_RESTAURANT", "CAPE", "CARAVAN_SITE", "CARIBBEAN_RESTAURANT", "CARPET_FLOOR_COVERINGS", "CAR_DEALER", "CAR_GLASS_REPLACEMENT_SHOP", "CAR_REPAIR_AND_SERVICE", "CAR_WASH", "CASINO", "CATERING_SERVICES", "CAVE", "CEMETERY", "CHALET_RENTAL", "CHEMICAL_COMPANY", "CHICKEN_RESTAURANT", "CHILDRENS_CLOTHES", "CHILD_CARE_FACILITY", "CHINESE_RESTAURANT", "CHRISTMAS_HOLIDAY_SHOP", "CHURCH", "CINEMA", "CLEANING_SERVICES", "CLOTHING_SHOP", "CLUB_ASSOCIATION", "COCKTAIL_BAR", "COFFEE_SHOP", "COLLEGE_OR_UNIVERSITY", "COLLEGE_UNIVERSITY", "COLOMBIAN_RESTAURANT", "COMEDY_CLUB", "COMMERCIAL_BUILDING", "COMMUNITY_CENTER", "COMPANY", "COMPUTER_COMPUTER_SUPPLIES", "COMPUTER_DATA_SERVICES", "CONCERT_HALL", "CONSTRUCTION_COMPANY", "CONSTRUCTION_MATERIAL_EQUIPMENT", "CONSUMER_ELECTRONICS", "CONVENIENCE_STORE", "CORSICAN_RESTAURANT", "COTTAGE_RENTAL", "COURIER_DROP_BOX", "COURTHOUSE", "COVE", "CREOLE_RESTAURANT", "CREPERIE", "CRICKET_GROUND", "CUBAN_RESTAURANT", "CULTURAL_CENTER", "CURRENCY_EXCHANGE", "CURTAINS_TEXTILES", "CZECH_RESTAURANT", "C_DS_DVD_VIDEOS", "DAM", "DANCE_STUDIO_SCHOOL", "DANISH_RESTAURANT", "DELICATESSEN", "DELIVERY_SERVICE", "DENTIST", "DEPARTMENT_STORE", "DINNER_THEATER", "DISCO_CLUB", "DIVERSIFIED_FINANCIALS", "DOCTOR", "DONGBEI_RESTAURANT", "DOUGHNUT_RESTAURANT", "DO_IT_YOURSELF_CENTERS", "DRIVE_IN_MOVIES", "DRIVE_THROUGH_BOTTLE_SHOP", "DRIVING_SCHOOL", "DRUG_STORE", "DRY_CLEANER", "DUNE", "DUTCH_RESTAURANT", "EGYPTIAN_RESTAURANT", "ELECTRICAL_APPLIANCES_SHOP", "ELECTRIC_VEHICLE_STATION", "ELECTRONICS_COMPANY", "EMBASSY", "EMERGENCY_MEDICAL_SERVICE", "EMERGENCY_ROOM", "ENGLISH_RESTAURANT", "ENTERTAINMENT", "EQUIPMENT_RENTAL", "ETHIOPIAN_RESTAURANT", "EXCHANGE", "EXHIBITION_CONVENTION_CENTER", "FACTORY_OUTLET", "FAIRGROUND", "FARM", "FARMERS_MARKET", "FAST_FOOD", "FERRY_TERMINAL", "FINNISH_RESTAURANT", "FIRE_STATION_BRIGADE", "FISHING_HUNTING_AREA", "FISHMONGER", "FITNESS_CLUB_CENTER", "FLATS_APARTMENT_COMPLEX", "FLORISTS", "FONDUE_RESTAURANT", "FOOD_MARKET", "FOOTBALL_STADIUM", "FOOTWEAR_SHOE_REPAIRS", "FOREST_AREA", "FRENCH_RESTAURANT", "FRONTIER_CROSSING", "FUNERAL_SERVICE_MORTUARIES", "FURNITURE_HOME_FURNISHINGS", "FUSION_RESTAURANT", "GARDEN_CENTERS_SERVICES", "GAS_STATION", "GENERAL_HOSPITAL_AND_POLYCLINIC", "GENERAL_PRACTITIONER", "GEOGRAPHIC_FEATURE", "GERMAN_RESTAURANT", "GIFTS_CARDS_NOVELTIES_SOUVENIRS", "GLASSWARE_CERAMIC_SHOP", "GLASS_WINDOWS_STORE", "GOLD_EXCHANGE", "GOLF_COURSE", "GOVERNMENT_OFFICE", "GREEK_RESTAURANT", "GREENGROCER", "GRILL_RESTAURANT", "GROCERY_STORE", "GURUDWARA", "HAIRDRESSER", "HAMBURGER_RESTAURANT", "HARBOR", "HARDWARE_STORE", "HAWAIIAN_RESTAURANT", "HEALTH_CARE_SERVICE", "HELIPAD_HELICOPTER_LANDING", "HIGH_SCHOOL", "HIKING_TRAIL", "HILL", "HISTORICAL_PARK", "HISTORIC_SITE", "HOBBY_SHOP", "HOCKEY_CLUB", "HOLIDAY_RENTAL", "HOME_APPLIANCE_REPAIR", "HORSE_RACING_TRACK", "HORSE_RIDING_CENTER", "HORSE_RIDING_TRAIL", "HORTICULTURE", "HOSPITAL", "HOSPITAL_FOR_WOMEN_AND_CHILDREN", "HOSPITAL_OF_CHINESE_MEDICINE", "HOSTEL", "HOTEL", "HOTEL_MOTEL", "HOT_POT_RESTAURANT", "HOUSE_GARDEN_FURNITURE_FITTINGS", "HUNAN_RESTAURANT", "HUNGARIAN_RESTAURANT", "ICE_CREAM_PARLOR", "ICE_HOCKEY_ARENA", "ICE_SKATING_RINK", "IMPORT_EXPORT_AND_DISTRIBUTION", "INDIAN_RESTAURANT", "INDONESIAN_RESTAURANT", "INDUSTRIAL_BUILDING", "INFORMAL_MARKET", "INSURANCE_COMPANY", "INTERNATIONAL_RAILROAD_STATION", "INTERNATIONAL_RESTAURANT", "INTERNET_CAFE", "INVESTMENT_ADVISOR", "IRANIAN_RESTAURANT", "IRISH_RESTAURANT", "ISLAND", "ISRAELI_RESTAURANT", "ITALIAN_RESTAURANT", "JAMAICAN_RESTAURANT", "JAPANESE_RESTAURANT", "JAZZ_CLUB", "JEWELRY_CLOCKS_WATCHES", "JEWISH_RESTAURANT", "JUNIOR_COLLEGE_COMMUNITY_COLLEGE", "KARAOKE_CLUB", "KITCHENS_BATHROOMS", "KOREAN_RESTAURANT", "KOSHER_RESTAURANT", "LANGUAGE_SCHOOL", "LATIN_AMERICAN_RESTAURANT", "LAUNDRY", "LEBANESE_RESTAURANT", "LEGAL_SERVICES", "LEISURE_CENTER", "LEISURE_SPORTS_CENTER", "LIBRARY", "LIGHTING_SHOPS", "LOCALE", "LOCAL_SPECIALITIES_SHOP", "LOTTERY_SHOP", "MANUFACTURING_COMPANY", "MANUFACTURING_FACILITY", "MARIJUANA_DISPENSARY", "MARINA", "MARKET", "MARSH", "MAUSOLEUM_GRAVE", "MECHANICAL_ENGINEERING", "MEDIA_FACILITY", "MEDICAL_SUPPLIES_EQUIPMENT", "MEDICINAL_MARIJUANA_DISPENSARY", "MEDITERRANEAN_RESTAURANT", "MEMORIAL", "MENS_CLOTHING", "MEXICAN_RESTAURANT", "MICROBREWERY", "MIDDLE_EASTERN_RESTAURANT", "MIDDLE_SCHOOL", "MILITARY_AIRPORT", "MINERAL_HOT_SPRINGS", "MINING_COMPANY", "MOBILE_PHONE_SHOP", "MONGOLIAN_RESTAURANT", "MONUMENT", "MOROCCAN_RESTAURANT", "MOSQUE", "MOTEL", "MOTORCYCLE_DEALER", "MOTORCYCLE_REPAIR", "MOTORING_ORGANIZATION_OFFICE", "MOTOR_RACING_STADIUM", "MOUNTAIN_BIKE_TRAIL", "MOUNTAIN_PASS", "MOUNTAIN_PEAK", "MOVIE_THEATER", "MOVING_STORAGE_COMPANY", "MULTI_PURPOSE_STADIUM", "MUSEUM", "MUSIC_CENTER", "MUSIC_INSTRUMENTS_STORE", "NAIL_SALON", "NATIONAL_RAILROAD_STATION", "NATIVE_RESERVATION", "NATURAL_TOURIST_ATTRACTION", "NEPALESE_RESTAURANT", "NETBALL_STADIUM", "NEWSAGENTS_TOBACCONISTS", "NIGHTLIFE", "NON_GOVERNMENTAL_ORGANIZATION", "NORWEGIAN_RESTAURANT", "OASIS", "OBSERVATORY", "OFFICE_EQUIPMENT", "OIL_NATURAL_GAS", "OPEN_CAR_PARKING_AREA", "OPEN_PARKING_AREA", "OPERA_HOUSE", "OPTICIAN", "ORGANIC_FOOD_RESTAURANT", "ORIENTAL_RESTAURANT", "OTHER_FOOD_SHOPS", "OTHER_WINTER_SPORT", "PAGODA", "PAINTING_DECORATING", "PAKISTANI_RESTAURANT", "PARK", "PARKING_GARAGE", "PARKWAY", "PARK_RECREATION_AREA", "PASSENGER_TRANSPORT_TICKET_OFFICE", "PAWN_SHOP", "PERSONAL_CARE_FACILITY", "PERSONAL_SERVICE", "PERFORMING_ARTS_THEATER", "PERUVIAN_RESTAURANT", "PET_SUPPLIES", "PHARMACEUTICAL_COMPANY", "PHARMACY", "PHILIPPINE_RESTAURANT", "PHOTOCOPY_SHOP", "PHOTO_LAB_DEVELOPMENT", "PICNIC_AREA", "PIZZERIA", "PLACE_OF_WORSHIP", "PLAIN_FLAT", "PLANETARIUM", "PLATEAU", "POLICE_STATION", "POLISH_RESTAURANT", "POLYNESIAN_RESTAURANT", "PORTUGUESE_RESTAURANT", "PORT_WAREHOUSE_FACILITY", "POST_OFFICE", "PRE_SCHOOL", "PRIMARY_PRODUCER", "PRIMARY_RESOURCE_UTILITY", "PRIMARY_SCHOOL", "PRISON_CORRECTIONAL_FACILITY", "PRIVATE_AIRPORT", "PROTECTED_AREA", "PUB", "PUBLIC_AIRPORT", "PUBLIC_AMENITY", "PUBLIC_CALL_BOX", "PUBLIC_MARKET", "PUBLIC_TOILET", "PUBLIC_TRANSPORT_STOP", "PUBLISHING_TECHNOLOGIES", "PUB_FOOD", "QUARRY", "RACE_TRACK", "RAILWAY_STATION", "RAPIDS", "REAL_ESTATE_AGENT", "REAL_ESTATE_COMPANY", "RECREATIONAL_CAMPING_GROUND", "RECREATIONAL_MARIJUANA_DISPENSARY", "RECREATIONAL_VEHICLE_DEALER", "RECREATION_AREA", "RECYCLING_SHOP", "REEF", "RENT_A_CAR_FACILITY", "RENT_A_CAR_PARKING", "REPAIR_FACILITY", "RESEARCH_FACILITY", "RESERVOIR", "RESIDENTIAL_ACCOMMODATION", "RESORT", "RESTAURANT", "RESTAURANT_AREA", "REST_AREA", "REST_CAMP", "RETAIL_OUTLET", "RETIREMENT_COMMUNITY", "RIDGE", "RIVER_CROSSING", "ROAD_RESCUE", "ROAD_TRAFFIC_CONTROL_CENTER", "ROCKS", "ROCK_CLIMBING_TRAIL", "RUGBY_GROUND", "RUSSIAN_RESTAURANT", "SALAD_BAR", "SANDWICH_RESTAURANT", "SAUNA_SOLARIUM_MASSAGE", "SCANDINAVIAN_RESTAURANT", "SCENIC_PANORAMIC_VIEW", "SCHOOL", "SCHOOL_BUS_COMPANY", "SEAFOOD", "SECURED_ENTRANCE", "SECURITY_PRODUCTS", "SENIOR_HIGH_SCHOOL", "SERVICE_COMPANY", "SHANDONG_RESTAURANT", "SHOP", "SHOPPING_CENTER", "SHOPPING_SERVICE", "SICHUAN_RESTAURANT", "SKI_RESORT", "SNACKS_RESTAURANT", "SNOOKER_POOL_BILLIARD", "SOCCER_STADIUM", "SOFTWARE_COMPANY", "SOUL_FOOD", "SOUP_RESTAURANT", "SPANISH_RESTAURANT", "SPECIALIST", "SPECIALTY_CLOTHING_SHOP", "SPECIALTY_FOODS", "SPECIAL_HOSPITAL", "SPORTS_CENTER", "SPORTS_EQUIPMENT_CLOTHING", "SQUASH_COURT", "STADIUM", "STATION_ACCESS", "STATUE", "STEAK_HOUSE", "STOCK_EXCHANGE", "STREETCAR_STOP", "SUBWAY_STATION", "SUPERMARKETS_HYPERMARKETS", "SUSHI_RESTAURANT", "SWEDISH_RESTAURANT", "SWIMMING_POOL", "SWISS_RESTAURANT", "SYNAGOG", "SYRIAN_RESTAURANT", "TAILOR_SHOP", "TAIWANESE_RESTAURANT", "TAKEOUT_FOOD", "TAPAS_RESTAURANT", "TAXI_LIMOUSINE_SHUTTLE_SERVICE", "TAXI_STAND", "TAX_SERVICES", "TEA_HOUSE", "TELECOMMUNICATIONS", "TEMPLE", "TENNIS_COURT", "TEPPANYAKI_RESTAURANT", "THAI_RESTAURANT", "THEATER", "THEMATIC_SPORT_CENTER", "TIBETAN_RESTAURANT", "TIRE_SERVICE", "TOLL_GATE", "TOURIST_ATTRACTION", "TOURIST_INFORMATION_OFFICE", "TOWER", "TOYS_GAMES_SHOP", "TRAFFIC_CONTROL_DEPARTMENT", "TRAIL_SYSTEM", "TRANSPORT_AUTHORITY_VEHICLE_REGISTRATION", "TRANSPORT_COMPANY", "TRAVEL_AGENT", "TRUCK_DEALER", "TRUCK_REPAIR_AND_SERVICE", "TRUCK_STOP", "TUNISIAN_RESTAURANT", "TUNNEL", "TURKISH_RESTAURANT", "URBAN_STATION", "VALLEY", "VAN_DEALER", "VARIETY_STORE", "VEGETARIAN_RESTAURANT", "VENEZUELAN_RESTAURANT", "VETERINARIAN", "VIDEO_RENTAL_SHOP", "VIETNAMESE_RESTAURANT", "VILLA_RENTAL", "VOCATIONAL_SCHOOL", "WATER_HOLE", "WATER_SPORT", "WEDDING_SERVICES", "WEIGH_STATION", "WELFARE_ORGANIZATION", "WELL", "WESTERN_RESTAURANT", "WHOLESALE_CLUB", "WILDERNESS_AREA", "WILDLIFE_PARK", "WINERY", "WINE_SPIRITS", "WOMENS_CLOTHING", "YACHT_BASIN", "YOGURT_JUICE_BAR", "ZOO", "ZOOS_ARBORETA_BOTANICAL_GARDEN"];
1964
1967
  /**
1965
1968
  * @group Place
1966
1969
  */
1967
- type POICategory = (typeof poiCategories)[number];
1970
+ export type POICategory = (typeof poiCategories)[number];
1968
1971
  //#endregion
1969
1972
  //#region src/types/place/poi/fuel.d.ts
1970
1973
  /**
@@ -2141,7 +2144,7 @@ type RelatedPOI = {
2141
2144
  * Available plug types for EV charging.
2142
2145
  * @group Route
2143
2146
  */
2144
- declare const plugTypes: readonly ["Small_Paddle_Inductive", "Large_Paddle_Inductive", "IEC_60309_1_Phase", "IEC_60309_3_Phase", "IEC_62196_Type_1_Outlet", "IEC_62196_Type_2_Outlet", "IEC_62196_Type_3_Outlet", "IEC_62196_Type_1_Connector_Cable_Attached", "IEC_62196_Type_2_Connector_Cable_Attached", "IEC_62196_Type_3_Connector_Cable_Attached", "Combo_to_IEC_62196_Type_1_Base", "Combo_to_IEC_62196_Type_2_Base", "Type_E_French_Standard_CEE_7_5", "Type_F_Schuko_CEE_7_4", "Type_G_British_Standard_BS_1363", "Type_J_Swiss_Standard_SEV_1011", "China_GB_Part_2", "China_GB_Part_3", "IEC_309_DC_Plug", "AVCON_Connector", "Tesla_Connector", "NEMA_5_20", "CHAdeMO", "SAE_J1772", "TEPCO", "Better_Place_Socket", "Marechal_Socket", "Standard_Household_Country_Specific"];
2147
+ export declare const plugTypes: readonly ["Small_Paddle_Inductive", "Large_Paddle_Inductive", "IEC_60309_1_Phase", "IEC_60309_3_Phase", "IEC_62196_Type_1_Outlet", "IEC_62196_Type_2_Outlet", "IEC_62196_Type_3_Outlet", "IEC_62196_Type_1_Connector_Cable_Attached", "IEC_62196_Type_2_Connector_Cable_Attached", "IEC_62196_Type_3_Connector_Cable_Attached", "Combo_to_IEC_62196_Type_1_Base", "Combo_to_IEC_62196_Type_2_Base", "Type_E_French_Standard_CEE_7_5", "Type_F_Schuko_CEE_7_4", "Type_G_British_Standard_BS_1363", "Type_J_Swiss_Standard_SEV_1011", "China_GB_Part_2", "China_GB_Part_3", "IEC_309_DC_Plug", "AVCON_Connector", "Tesla_Connector", "NEMA_5_20", "CHAdeMO", "SAE_J1772", "TEPCO", "Better_Place_Socket", "Marechal_Socket", "Standard_Household_Country_Specific"];
2145
2148
  /**
2146
2149
  * Standard plug/connector type for electric vehicle charging.
2147
2150
  *
@@ -2172,7 +2175,7 @@ declare const plugTypes: readonly ["Small_Paddle_Inductive", "Large_Paddle_Induc
2172
2175
  *
2173
2176
  * @group Route
2174
2177
  */
2175
- type PlugType = (typeof plugTypes)[number];
2178
+ export type PlugType = (typeof plugTypes)[number];
2176
2179
  /**
2177
2180
  * Information about a specific charging connection at a charging point.
2178
2181
  *
@@ -2181,7 +2184,7 @@ type PlugType = (typeof plugTypes)[number];
2181
2184
  *
2182
2185
  * @group Route
2183
2186
  */
2184
- type ChargingConnectionInfo = {
2187
+ export type ChargingConnectionInfo = {
2185
2188
  /**
2186
2189
  * The plug type for this charging connection.
2187
2190
  *
@@ -2239,7 +2242,7 @@ type ChargingConnectionInfo = {
2239
2242
  *
2240
2243
  * @group Route
2241
2244
  */
2242
- declare const paymentMethods: readonly ["No_Payment", "Subscription", "Direct"];
2245
+ export declare const paymentMethods: readonly ["No_Payment", "Subscription", "Direct"];
2243
2246
  /**
2244
2247
  * Payment method type for electric vehicle charging stations.
2245
2248
  *
@@ -2252,7 +2255,7 @@ declare const paymentMethods: readonly ["No_Payment", "Subscription", "Direct"];
2252
2255
  *
2253
2256
  * @group Route
2254
2257
  */
2255
- type PaymentMethod = (typeof paymentMethods)[number];
2258
+ export type PaymentMethod = (typeof paymentMethods)[number];
2256
2259
  /**
2257
2260
  * Payment option configuration for a charging station.
2258
2261
  *
@@ -2280,7 +2283,7 @@ type PaymentMethod = (typeof paymentMethods)[number];
2280
2283
  *
2281
2284
  * @group Route
2282
2285
  */
2283
- type ChargingPaymentOption = {
2286
+ export type ChargingPaymentOption = {
2284
2287
  /**
2285
2288
  * The payment method type accepted at this charging station.
2286
2289
  */
@@ -2301,7 +2304,7 @@ type ChargingPaymentOption = {
2301
2304
  *
2302
2305
  * @group Route
2303
2306
  */
2304
- type ChargingStopProps = CommonPlaceProps & {
2307
+ export type ChargingStopProps = CommonPlaceProps & {
2305
2308
  /**
2306
2309
  * Unique identifier for the charging park.
2307
2310
  */
@@ -2519,7 +2522,7 @@ type ChargingStopProps = CommonPlaceProps & {
2519
2522
  *
2520
2523
  * @group Route
2521
2524
  */
2522
- type ChargingStop = Place<ChargingStopProps>;
2525
+ export type ChargingStop = Place<ChargingStopProps>;
2523
2526
  //#endregion
2524
2527
  //#region src/types/route/guidance.d.ts
2525
2528
  /**
@@ -2923,7 +2926,7 @@ type Guidance = {
2923
2926
  *
2924
2927
  * @group Route
2925
2928
  */
2926
- declare const avoidableTypes: readonly ["tollRoads", "motorways", "ferries", "unpavedRoads", "carpools", "alreadyUsedRoads", "borderCrossings", "tunnels", "carTrains", "lowEmissionZones"];
2929
+ export declare const avoidableTypes: readonly ["tollRoads", "motorways", "ferries", "unpavedRoads", "carpools", "alreadyUsedRoads", "borderCrossings", "tunnels", "carTrains", "lowEmissionZones"];
2927
2930
  /**
2928
2931
  * Route features that the routing engine will attempt to avoid when calculating routes.
2929
2932
  *
@@ -2954,7 +2957,7 @@ declare const avoidableTypes: readonly ["tollRoads", "motorways", "ferries", "un
2954
2957
  *
2955
2958
  * @group Route
2956
2959
  */
2957
- type Avoidable = (typeof avoidableTypes)[number];
2960
+ export type Avoidable = (typeof avoidableTypes)[number];
2958
2961
  /**
2959
2962
  * Primary mode of transportation for route calculation.
2960
2963
  *
@@ -2971,7 +2974,7 @@ type Avoidable = (typeof avoidableTypes)[number];
2971
2974
  *
2972
2975
  * @group Route
2973
2976
  */
2974
- type TravelMode = 'car';
2977
+ export type TravelMode = 'car';
2975
2978
  /**
2976
2979
  * Cumulative distance and time measurements at a position along the route.
2977
2980
  *
@@ -2981,7 +2984,7 @@ type TravelMode = 'car';
2981
2984
  *
2982
2985
  * @group Route
2983
2986
  */
2984
- type RouteProgress = {
2987
+ export type RouteProgress = {
2985
2988
  /**
2986
2989
  * Cumulative travel time in seconds from the route start.
2987
2990
  */
@@ -3012,7 +3015,7 @@ type RouteProgress = {
3012
3015
  *
3013
3016
  * @group Route
3014
3017
  */
3015
- type RouteProgressPoint = RouteProgress & {
3018
+ export type RouteProgressPoint = RouteProgress & {
3016
3019
  /**
3017
3020
  * Zero-based index of this point in the route's coordinate array.
3018
3021
  */
@@ -3026,13 +3029,13 @@ type RouteProgressPoint = RouteProgress & {
3026
3029
  *
3027
3030
  * @group Route
3028
3031
  */
3029
- type RouteProgressAtPoint = Required<RouteProgress>;
3032
+ export type RouteProgressAtPoint = Required<RouteProgress>;
3030
3033
  /**
3031
3034
  * Progress measurements for a segment between two arbitrary points on the route path.
3032
3035
  *
3033
3036
  * @group Route
3034
3037
  */
3035
- type RouteSegmentProgress = {
3038
+ export type RouteSegmentProgress = {
3036
3039
  /** Progress at the start point. */
3037
3040
  start: RouteProgressAtPoint;
3038
3041
  /** Progress at the end point. */
@@ -3048,7 +3051,7 @@ type RouteSegmentProgress = {
3048
3051
  *
3049
3052
  * @group Route
3050
3053
  */
3051
- type RouteProps = {
3054
+ export type RouteProps = {
3052
3055
  /**
3053
3056
  * Summary statistics for the entire route.
3054
3057
  *
@@ -3114,7 +3117,7 @@ type RouteProps = {
3114
3117
  *
3115
3118
  * @group Route
3116
3119
  */
3117
- type Route<P extends RouteProps = RouteProps> = Omit<Feature<LineString, P>, 'id' | 'bbox'> & {
3120
+ export type Route<P extends RouteProps = RouteProps> = Omit<Feature<LineString, P>, 'id' | 'bbox'> & {
3118
3121
  /**
3119
3122
  * Unique identifier for this route.
3120
3123
  *
@@ -3152,7 +3155,7 @@ type Route<P extends RouteProps = RouteProps> = Omit<Feature<LineString, P>, 'id
3152
3155
  *
3153
3156
  * @group Route
3154
3157
  */
3155
- type Routes<P extends RouteProps = RouteProps, FeatureCollectionProps = unknown> = Omit<FeatureCollectionWithProperties<LineString, P, FeatureCollectionProps>, 'features' | 'bbox'> & {
3158
+ export type Routes<P extends RouteProps = RouteProps, FeatureCollectionProps = unknown> = Omit<FeatureCollectionWithProperties<LineString, P, FeatureCollectionProps>, 'features' | 'bbox'> & {
3156
3159
  /**
3157
3160
  * Array of route features.
3158
3161
  */
@@ -3171,30 +3174,22 @@ type Routes<P extends RouteProps = RouteProps, FeatureCollectionProps = unknown>
3171
3174
  */
3172
3175
  type WaypointProps = {
3173
3176
  /**
3174
- * Radius in meters defining a circle (soft) waypoint.
3177
+ * How long the vehicle waits at this stop, in seconds.
3175
3178
  *
3176
- * When specified, the waypoint becomes a circle waypoint that shapes the route without
3177
- * generating explicit navigation instructions or creating an additional route leg.
3179
+ * When specified, the routing service adds the wait to the leg arriving at this waypoint, and
3180
+ * the map shows it on the stop's pin.
3178
3181
  *
3179
3182
  * @remarks
3180
- * - Circle waypoints influence the route path while providing flexibility to the routing engine
3181
- * - Larger radius values give more freedom for route optimization
3182
- * - Smaller radius values force the route to pass closer to the specified point
3183
- * - Unlike regular waypoints, circle waypoints don't create legs or generate "arrive at waypoint" instructions
3184
- * - Useful for shaping routes through general areas rather than specific points
3185
- *
3186
- * Must be a positive integer with a maximum value of 135000.
3183
+ * - The wait counts towards the route's `travelTimeInSeconds`, not only its arrival time
3184
+ * - Not supported on the destination: the routing service requires the last leg's wait to be 0
3187
3185
  *
3188
3186
  * @example
3189
3187
  * ```typescript
3190
- * // Circle waypoint with 1km radius - route will pass somewhere within this area
3191
- * { radiusMeters: 1000 }
3192
- *
3193
- * // Small radius - route will pass very close to this point
3194
- * { radiusMeters: 50 }
3188
+ * // Wait 30 minutes at this stop
3189
+ * { pauseDurationSeconds: 30 * 60 }
3195
3190
  * ```
3196
3191
  */
3197
- radiusMeters?: number;
3192
+ pauseDurationSeconds?: number;
3198
3193
  };
3199
3194
  /**
3200
3195
  * GeoJSON Feature representing a route waypoint.
@@ -3205,8 +3200,7 @@ type WaypointProps = {
3205
3200
  * @typeParam T - Additional custom properties beyond the standard waypoint properties
3206
3201
  *
3207
3202
  * @remarks
3208
- * - Regular waypoints (without radius) create route legs and generate arrival instructions
3209
- * - Circle waypoints (with radiusMeters) shape the route without creating legs
3203
+ * Every waypoint creates a route leg and an arrival instruction.
3210
3204
  *
3211
3205
  * @example
3212
3206
  * ```typescript
@@ -3217,11 +3211,11 @@ type WaypointProps = {
3217
3211
  * properties: {}
3218
3212
  * };
3219
3213
  *
3220
- * // Circle waypoint with custom properties
3221
- * const circleWaypoint: Waypoint<{ name: string }> = {
3214
+ * // Waypoint with custom properties
3215
+ * const namedWaypoint: Waypoint<{ name: string }> = {
3222
3216
  * type: 'Feature',
3223
3217
  * geometry: { type: 'Point', coordinates: [4.9041, 52.3676] },
3224
- * properties: { radiusMeters: 1000, name: 'Via Amsterdam' }
3218
+ * properties: { name: 'Amsterdam' }
3225
3219
  * };
3226
3220
  * ```
3227
3221
  *
@@ -3253,12 +3247,12 @@ type Waypoints<T extends Anything = Anything> = FeatureCollection<Point, Waypoin
3253
3247
  * Flexible input type for specifying a waypoint location.
3254
3248
  *
3255
3249
  * Accepts various formats for convenience:
3256
- * - Full `Waypoint` Feature (for circle waypoints or waypoints with custom properties)
3250
+ * - Full `Waypoint` Feature (for waypoints carrying custom properties)
3257
3251
  * - Any object with coordinates (Position array, Point geometry, or Feature)
3258
3252
  *
3259
3253
  * @remarks
3260
- * Waypoints are single points by default. To create a circle (soft) waypoint,
3261
- * use the full Waypoint Feature format with a radiusMeters property.
3254
+ * Waypoints are single points by default. Use the full Waypoint Feature format to carry
3255
+ * properties of your own alongside the position.
3262
3256
  *
3263
3257
  * @example
3264
3258
  * ```typescript
@@ -3268,11 +3262,11 @@ type Waypoints<T extends Anything = Anything> = FeatureCollection<Point, Waypoin
3268
3262
  * // As Point geometry
3269
3263
  * const wp2: WaypointLike = { type: 'Point', coordinates: [4.9041, 52.3676] };
3270
3264
  *
3271
- * // As full Waypoint Feature with radius
3265
+ * // As full Waypoint Feature carrying custom properties
3272
3266
  * const wp3: WaypointLike = {
3273
3267
  * type: 'Feature',
3274
3268
  * geometry: { type: 'Point', coordinates: [4.9041, 52.3676] },
3275
- * properties: { radiusMeters: 500 }
3269
+ * properties: { name: 'Amsterdam' }
3276
3270
  * };
3277
3271
  * ```
3278
3272
  *
@@ -3314,14 +3308,15 @@ type PathLike = Position[] | Route;
3314
3308
  * @remarks
3315
3309
  * - Use waypoints for origin, destination, and intermediate stops
3316
3310
  * - Use paths for route reconstruction or to force the route along specific roads
3311
+ * - A path's own endpoints are sent as waypoints, so a path between two points adds two of them
3317
3312
  *
3318
3313
  * @example
3319
3314
  * ```typescript
3320
3315
  * const locations: RoutePlanningLocation[] = [
3321
- * [4.9, 52.3], // Start waypoint
3322
- * { radiusMeters: 1000, ... }, // Circle waypoint
3323
- * existingPathCoordinates, // Path to follow
3324
- * [5.0, 52.4] // End waypoint
3316
+ * [4.9, 52.3], // Start waypoint
3317
+ * [4.95, 52.35], // Intermediate stop
3318
+ * existingPathCoordinates, // Path to follow
3319
+ * [5.0, 52.4] // End waypoint
3325
3320
  * ];
3326
3321
  * ```
3327
3322
  *
@@ -3354,7 +3349,7 @@ type RoutePlanningLocationType = 'waypoint' | 'path';
3354
3349
  *
3355
3350
  * @group Traffic
3356
3351
  */
3357
- type DelayMagnitude = 'unknown' | 'minor' | 'moderate' | 'major' | 'indefinite';
3352
+ export type DelayMagnitude = 'unknown' | 'minor' | 'moderate' | 'major' | 'indefinite';
3358
3353
  /**
3359
3354
  * Traffic incident categories accepted as `categoryFilter` inputs by the Incident
3360
3355
  * Details API.
@@ -3370,7 +3365,7 @@ type DelayMagnitude = 'unknown' | 'minor' | 'moderate' | 'major' | 'indefinite';
3370
3365
  * @see https://docs.tomtom.com/traffic-api/documentation/tomtom-orbis-maps/traffic-incidents/incident-details
3371
3366
  * @group Traffic
3372
3367
  */
3373
- declare const trafficIncidentRequestCategories: readonly ["accident", "broken-down-vehicle", "danger", "flooding", "fog", "frost", "jam", "lane-closed", "other", "rain", "road-closed", "roadworks", "wind"];
3368
+ export declare const trafficIncidentRequestCategories: readonly ["accident", "broken-down-vehicle", "danger", "flooding", "fog", "frost", "jam", "lane-closed", "other", "rain", "road-closed", "roadworks", "wind"];
3374
3369
  /**
3375
3370
  * All possible traffic incident categories.
3376
3371
  *
@@ -3385,7 +3380,7 @@ declare const trafficIncidentRequestCategories: readonly ["accident", "broken-do
3385
3380
  *
3386
3381
  * @group Traffic
3387
3382
  */
3388
- declare const fullTrafficIncidentCategories: readonly ["accident", "broken-down-vehicle", "danger", "flooding", "fog", "frost", "jam", "lane-closed", "other", "rain", "road-closed", "roadworks", "wind", "animals-on-road", "narrow-lanes"];
3383
+ export declare const fullTrafficIncidentCategories: readonly ["accident", "broken-down-vehicle", "danger", "flooding", "fog", "frost", "jam", "lane-closed", "other", "rain", "road-closed", "roadworks", "wind", "animals-on-road", "narrow-lanes"];
3389
3384
  /**
3390
3385
  * Simple category classification for traffic incidents.
3391
3386
  *
@@ -3408,7 +3403,7 @@ declare const fullTrafficIncidentCategories: readonly ["accident", "broken-down-
3408
3403
  *
3409
3404
  * @group Traffic
3410
3405
  */
3411
- type TrafficIncidentCategory = (typeof fullTrafficIncidentCategories)[number];
3406
+ export type TrafficIncidentCategory = (typeof fullTrafficIncidentCategories)[number];
3412
3407
  /**
3413
3408
  * Categories accepted as `categoryFilter` input to the Incident Details API.
3414
3409
  *
@@ -3418,7 +3413,7 @@ type TrafficIncidentCategory = (typeof fullTrafficIncidentCategories)[number];
3418
3413
  *
3419
3414
  * @group Traffic
3420
3415
  */
3421
- type TrafficIncidentRequestCategory = (typeof trafficIncidentRequestCategories)[number];
3416
+ export type TrafficIncidentRequestCategory = (typeof trafficIncidentRequestCategories)[number];
3422
3417
  /**
3423
3418
  * Likelihood that an incident will actually occur.
3424
3419
  *
@@ -3430,7 +3425,7 @@ type TrafficIncidentRequestCategory = (typeof trafficIncidentRequestCategories)[
3430
3425
  *
3431
3426
  * @group Traffic
3432
3427
  */
3433
- type TrafficIncidentProbability = 'certain' | 'probable' | 'risk_of' | 'improbable';
3428
+ export type TrafficIncidentProbability = 'certain' | 'probable' | 'risk_of' | 'improbable';
3434
3429
  /**
3435
3430
  * Whether a traffic incident is currently active or anticipated in the future.
3436
3431
  *
@@ -3440,13 +3435,13 @@ type TrafficIncidentProbability = 'certain' | 'probable' | 'risk_of' | 'improbab
3440
3435
  *
3441
3436
  * @group Traffic
3442
3437
  */
3443
- type TrafficIncidentTimeValidity = 'present' | 'future';
3438
+ export type TrafficIncidentTimeValidity = 'present' | 'future';
3444
3439
  /**
3445
3440
  * A single TMC (Traffic Message Channel) location point.
3446
3441
  *
3447
3442
  * @group Traffic
3448
3443
  */
3449
- type TrafficIncidentTMCPoint = {
3444
+ export type TrafficIncidentTMCPoint = {
3450
3445
  /**
3451
3446
  * TMC location code.
3452
3447
  */
@@ -3464,7 +3459,7 @@ type TrafficIncidentTMCPoint = {
3464
3459
  *
3465
3460
  * @group Traffic
3466
3461
  */
3467
- type TrafficIncidentTMC = {
3462
+ export type TrafficIncidentTMC = {
3468
3463
  /**
3469
3464
  * ISO 3166-1 alpha-2 country code.
3470
3465
  */
@@ -3493,7 +3488,7 @@ type TrafficIncidentTMC = {
3493
3488
  *
3494
3489
  * @group Traffic
3495
3490
  */
3496
- type TrafficIncidentEvent = {
3491
+ export type TrafficIncidentEvent = {
3497
3492
  /**
3498
3493
  * Human-readable description of the event.
3499
3494
  */
@@ -3515,7 +3510,7 @@ type TrafficIncidentEvent = {
3515
3510
  *
3516
3511
  * @group Traffic
3517
3512
  */
3518
- type TrafficIncidentBaseProperties = {
3513
+ export type TrafficIncidentBaseProperties = {
3519
3514
  /**
3520
3515
  * Unique identifier of the incident.
3521
3516
  */
@@ -3561,7 +3556,7 @@ type TrafficIncidentBaseProperties = {
3561
3556
  *
3562
3557
  * @group Traffic
3563
3558
  */
3564
- type TrafficIncidentProperties = TrafficIncidentBaseProperties & {
3559
+ export type TrafficIncidentProperties = TrafficIncidentBaseProperties & {
3565
3560
  /**
3566
3561
  * One or more events describing the incident in detail.
3567
3562
  */
@@ -3599,7 +3594,7 @@ type TrafficIncidentProperties = TrafficIncidentBaseProperties & {
3599
3594
  *
3600
3595
  * @group Traffic
3601
3596
  */
3602
- type TrafficIncident = Feature<Point | LineString, TrafficIncidentProperties>;
3597
+ export type TrafficIncident = Feature<Point | LineString, TrafficIncidentProperties>;
3603
3598
  /**
3604
3599
  * Response from the Incident Details service.
3605
3600
  *
@@ -3608,7 +3603,7 @@ type TrafficIncident = Feature<Point | LineString, TrafficIncidentProperties>;
3608
3603
  *
3609
3604
  * @group Traffic
3610
3605
  */
3611
- type TrafficIncidentDetails = FeatureCollection<Point | LineString, TrafficIncidentProperties>;
3606
+ export type TrafficIncidentDetails = FeatureCollection<Point | LineString, TrafficIncidentProperties>;
3612
3607
  //#endregion
3613
3608
  //#region src/types/route/summary.d.ts
3614
3609
  /**
@@ -3831,11 +3826,39 @@ type RouteSummary = SummaryWithConsumption & {
3831
3826
  * @remarks
3832
3827
  * - An A→B route has 1 leg
3833
3828
  * - An A→B→C route has 2 legs (A→B, B→C)
3834
- * - Circle waypoints don't create new legs
3829
+ * - An EV route can hold more legs than the stops asked for, one per charging stop the service adds
3835
3830
  *
3836
3831
  * @group Route
3837
3832
  */
3838
3833
  type LegSummary = SummaryWithConsumption & {
3834
+ /**
3835
+ * Time in seconds the vehicle stands still at the stop this leg arrives at.
3836
+ *
3837
+ * @remarks
3838
+ * One number for the whole stop, whatever it is spent on — a
3839
+ * {@link WaypointProps.pauseDurationSeconds} the caller asked for, charging the routing service
3840
+ * planned on an EV route, or both at one stop. It is what the service actually planned rather
3841
+ * than an echo of the request: the gap between this leg's `arrivalTime` and the next leg's
3842
+ * `departureTime`.
3843
+ *
3844
+ * For the breakdown, {@link LegSummary.chargingInformationAtEndOfLeg} carries the charging part;
3845
+ * whatever is left is waiting.
3846
+ *
3847
+ * - Absent when the vehicle does not stop at the end of this leg
3848
+ * - Absent on the last leg, which has no following departure — and the routing service does not
3849
+ * accept a wait at the destination anyway
3850
+ * - This leg's own `travelTimeInSeconds` is driving only and *excludes* the stop, while the
3851
+ * route's total *includes* every stop. So driving time is the sum of the legs, and the time
3852
+ * spent standing still is the difference.
3853
+ *
3854
+ * @example
3855
+ * ```typescript
3856
+ * // Half an hour at this stop, twenty minutes of it charging
3857
+ * stopTimeInSeconds: 1800
3858
+ * chargingInformationAtEndOfLeg: { properties: { chargingTimeInSeconds: 1200 } }
3859
+ * ```
3860
+ */
3861
+ stopTimeInSeconds?: number;
3839
3862
  /**
3840
3863
  * Charging information at the end of this leg.
3841
3864
  *
@@ -3870,7 +3893,7 @@ type LegSummary = SummaryWithConsumption & {
3870
3893
  *
3871
3894
  * @group Route
3872
3895
  */
3873
- type SectionProps = {
3896
+ export type SectionProps = {
3874
3897
  /**
3875
3898
  * Unique identifier for this section.
3876
3899
  *
@@ -3910,7 +3933,7 @@ type SectionProps = {
3910
3933
  *
3911
3934
  * @group Route
3912
3935
  */
3913
- type CountrySectionProps = SectionProps & {
3936
+ export type CountrySectionProps = SectionProps & {
3914
3937
  /**
3915
3938
  * Three-letter ISO 3166-1 alpha-3 country code.
3916
3939
  *
@@ -3927,7 +3950,7 @@ type CountrySectionProps = SectionProps & {
3927
3950
  *
3928
3951
  * @group Route
3929
3952
  */
3930
- type ImportantRoadStretchProps = SectionProps & {
3953
+ export type ImportantRoadStretchProps = SectionProps & {
3931
3954
  /**
3932
3955
  * The integer value of importance. The index starts from 0, and a lower value means higher importance. The index is needed for two reasons:
3933
3956
  * * To understand which stretch is the most important (for example, if it is necessary to display a smaller number of stretches).
@@ -3956,7 +3979,7 @@ type ImportantRoadStretchProps = SectionProps & {
3956
3979
  *
3957
3980
  * @group Route
3958
3981
  */
3959
- type CauseTEC = {
3982
+ export type CauseTEC = {
3960
3983
  /**
3961
3984
  * Main cause code from TPEG2-TEC standard.
3962
3985
  *
@@ -3977,7 +4000,7 @@ type CauseTEC = {
3977
4000
  *
3978
4001
  * @group Route
3979
4002
  */
3980
- type TrafficIncidentTEC = {
4003
+ export type TrafficIncidentTEC = {
3981
4004
  /**
3982
4005
  * Effect code describing impact on traffic flow.
3983
4006
  *
@@ -4014,7 +4037,7 @@ type TrafficIncidentTEC = {
4014
4037
  *
4015
4038
  * @group Route
4016
4039
  */
4017
- type TrafficSectionProps = SectionProps & {
4040
+ export type TrafficSectionProps = SectionProps & {
4018
4041
  /**
4019
4042
  * Categories of the incident. Based on the 'tec' cause codes.
4020
4043
  */
@@ -4045,14 +4068,14 @@ type TrafficSectionProps = SectionProps & {
4045
4068
  /**
4046
4069
  * Route section representing a leg between waypoints.
4047
4070
  *
4048
- * A leg is the portion of route between two consecutive non-circle waypoints.
4071
+ * A leg is the portion of route between two consecutive waypoints.
4049
4072
  * This is a top-level section that encompasses the entire journey segment.
4050
4073
  *
4051
4074
  * @remarks
4052
4075
  * Leg examples:
4053
4076
  * - A→B route: 1 leg (A to B)
4054
4077
  * - A→B→C route: 2 legs (A to B, then B to C)
4055
- * - A→B→(circle)→C route: 2 legs (A to B, then B to C) - circle waypoint doesn't create a leg
4078
+ * - An EV route: one leg per charging stop the service adds, on top of the stops that were asked for
4056
4079
  *
4057
4080
  * @example
4058
4081
  * ```typescript
@@ -4072,7 +4095,7 @@ type TrafficSectionProps = SectionProps & {
4072
4095
  *
4073
4096
  * @group Route
4074
4097
  */
4075
- type LegSectionProps = Omit<SectionProps, 'startPointIndex' | 'endPointIndex'> & {
4098
+ export type LegSectionProps = Omit<SectionProps, 'startPointIndex' | 'endPointIndex'> & {
4076
4099
  /**
4077
4100
  * Index where this leg starts in the route coordinates.
4078
4101
  *
@@ -4100,7 +4123,7 @@ type LegSectionProps = Omit<SectionProps, 'startPointIndex' | 'endPointIndex'> &
4100
4123
  *
4101
4124
  * @group Route
4102
4125
  */
4103
- type PossibleLaneDirection = 'STRAIGHT' | 'SLIGHT_RIGHT' | 'RIGHT' | 'SHARP_RIGHT' | 'RIGHT_U_TURN' | 'SLIGHT_LEFT' | 'LEFT' | 'SHARP_LEFT' | 'LEFT_U_TURN';
4126
+ export type PossibleLaneDirection = 'STRAIGHT' | 'SLIGHT_RIGHT' | 'RIGHT' | 'SHARP_RIGHT' | 'RIGHT_U_TURN' | 'SLIGHT_LEFT' | 'LEFT' | 'SHARP_LEFT' | 'LEFT_U_TURN';
4104
4127
  /**
4105
4128
  * Lane guidance information.
4106
4129
  *
@@ -4118,7 +4141,7 @@ type PossibleLaneDirection = 'STRAIGHT' | 'SLIGHT_RIGHT' | 'RIGHT' | 'SHARP_RIGH
4118
4141
  *
4119
4142
  * @group Route
4120
4143
  */
4121
- type LaneDirection = {
4144
+ export type LaneDirection = {
4122
4145
  /**
4123
4146
  * All possible directions this lane leads to.
4124
4147
  *
@@ -4136,12 +4159,12 @@ type LaneDirection = {
4136
4159
  * All the possible lane separators.
4137
4160
  * @group Route
4138
4161
  */
4139
- type PossibleLaneSeparator = 'UNKNOWN' | 'NO_MARKING' | 'LONG_DASHED' | 'DOUBLE_SOLID' | 'SINGLE_SOLID' | 'SOLID_DASHED' | 'DASHED_SOLID' | 'SHORT_DASHED' | 'SHADED_AREA_MARKING' | 'DASHED_BLOCKS' | 'DOUBLE_DASHED' | 'CROSSING_ALERT' | 'PHYSICAL_DIVIDER' | 'PHYSICAL_DIVIDER_LESS_THAN_3M' | 'PHYSICAL_DIVIDER_GUARDRAIL' | 'CURB';
4162
+ export type PossibleLaneSeparator = 'UNKNOWN' | 'NO_MARKING' | 'LONG_DASHED' | 'DOUBLE_SOLID' | 'SINGLE_SOLID' | 'SOLID_DASHED' | 'DASHED_SOLID' | 'SHORT_DASHED' | 'SHADED_AREA_MARKING' | 'DASHED_BLOCKS' | 'DOUBLE_DASHED' | 'CROSSING_ALERT' | 'PHYSICAL_DIVIDER' | 'PHYSICAL_DIVIDER_LESS_THAN_3M' | 'PHYSICAL_DIVIDER_GUARDRAIL' | 'CURB';
4140
4163
  /**
4141
4164
  * Section representing a lane configuration.
4142
4165
  * @group Route
4143
4166
  */
4144
- type LaneSectionProps = SectionProps & {
4167
+ export type LaneSectionProps = SectionProps & {
4145
4168
  /**
4146
4169
  * The lane directions for this lane section.
4147
4170
  */
@@ -4164,7 +4187,7 @@ type LaneSectionProps = SectionProps & {
4164
4187
  * Section representing a speed limit.
4165
4188
  * @group Route
4166
4189
  */
4167
- type SpeedLimitSectionProps = SectionProps & {
4190
+ export type SpeedLimitSectionProps = SectionProps & {
4168
4191
  /**
4169
4192
  * The speed limit in km/h for this section.
4170
4193
  */
@@ -4174,7 +4197,7 @@ type SpeedLimitSectionProps = SectionProps & {
4174
4197
  * Section representing a road shield.
4175
4198
  * @group Route
4176
4199
  */
4177
- type RoadShieldSectionProps = SectionProps & {
4200
+ export type RoadShieldSectionProps = SectionProps & {
4178
4201
  /**
4179
4202
  * The road shield code for this section.
4180
4203
  */
@@ -4186,7 +4209,7 @@ type RoadShieldSectionProps = SectionProps & {
4186
4209
  * Using sections, you can show users where these things lie on a planned route.
4187
4210
  * @group Route
4188
4211
  */
4189
- type SectionsProps = {
4212
+ export type SectionsProps = {
4190
4213
  carpool?: SectionProps[];
4191
4214
  carTrain?: SectionProps[];
4192
4215
  country?: CountrySectionProps[];
@@ -4211,21 +4234,21 @@ type SectionsProps = {
4211
4234
  /**
4212
4235
  * @group Route
4213
4236
  */
4214
- type SectionType = keyof SectionsProps;
4237
+ export type SectionType = keyof SectionsProps;
4215
4238
  /**
4216
4239
  * Route calculation request section types so they can be included in response.
4217
4240
  * @group Route
4218
4241
  */
4219
- declare const inputSectionTypes: SectionType[];
4242
+ export declare const inputSectionTypes: SectionType[];
4220
4243
  /**
4221
4244
  * Route calculation request section types, including guidance-related ones, so they can be included in response.
4222
4245
  * @group Route
4223
4246
  */
4224
- declare const inputSectionTypesWithGuidance: SectionType[];
4247
+ export declare const inputSectionTypesWithGuidance: SectionType[];
4225
4248
  /**
4226
4249
  * @group Route
4227
4250
  */
4228
- declare const sectionTypes: SectionType[];
4251
+ export declare const sectionTypes: SectionType[];
4229
4252
  //#endregion
4230
4253
  //#region src/types/traffic/areaAnalytics.d.ts
4231
4254
  /**
@@ -4233,7 +4256,7 @@ declare const sectionTypes: SectionType[];
4233
4256
  *
4234
4257
  * @group Traffic
4235
4258
  */
4236
- type AreaAnalyticsMetricRange = {
4259
+ export type AreaAnalyticsMetricRange = {
4237
4260
  min: number;
4238
4261
  max: number;
4239
4262
  };
@@ -4242,13 +4265,13 @@ type AreaAnalyticsMetricRange = {
4242
4265
  *
4243
4266
  * @group Traffic
4244
4267
  */
4245
- declare const areaAnalyticsMetricKeys: readonly ["speed", "freeFlowSpeed", "congestionLevel", "travelTime", "networkLength"];
4268
+ export declare const areaAnalyticsMetricKeys: readonly ["speed", "freeFlowSpeed", "congestionLevel", "travelTime", "networkLength"];
4246
4269
  /**
4247
4270
  * Identifies a single traffic metric — a key of {@link AreaAnalyticsMetrics}.
4248
4271
  *
4249
4272
  * @group Traffic
4250
4273
  */
4251
- type AreaAnalyticsMetricKey = (typeof areaAnalyticsMetricKeys)[number];
4274
+ export type AreaAnalyticsMetricKey = (typeof areaAnalyticsMetricKeys)[number];
4252
4275
  /**
4253
4276
  * Traffic metric values for an area or time period.
4254
4277
  *
@@ -4257,7 +4280,7 @@ type AreaAnalyticsMetricKey = (typeof areaAnalyticsMetricKeys)[number];
4257
4280
  *
4258
4281
  * @group Traffic
4259
4282
  */
4260
- type AreaAnalyticsMetrics = {
4283
+ export type AreaAnalyticsMetrics = {
4261
4284
  /**
4262
4285
  * Average speed on the road network (km/h).
4263
4286
  */
@@ -4295,7 +4318,7 @@ type AreaAnalyticsMetrics = {
4295
4318
  *
4296
4319
  * @group Traffic
4297
4320
  */
4298
- type AreaAnalyticsTimedEntry = AreaAnalyticsMetrics & {
4321
+ export type AreaAnalyticsTimedEntry = AreaAnalyticsMetrics & {
4299
4322
  /**
4300
4323
  * Date for daily and hourly entries.
4301
4324
  */
@@ -4326,7 +4349,7 @@ type AreaAnalyticsTimedEntry = AreaAnalyticsMetrics & {
4326
4349
  *
4327
4350
  * @group Traffic
4328
4351
  */
4329
- type AreaAnalyticsTimedData = {
4352
+ export type AreaAnalyticsTimedData = {
4330
4353
  /**
4331
4354
  * Yearly aggregated data.
4332
4355
  */
@@ -4362,7 +4385,7 @@ type AreaAnalyticsTimedData = {
4362
4385
  *
4363
4386
  * @group Traffic
4364
4387
  */
4365
- type AreaAnalyticsTileEntry = AreaAnalyticsMetrics & {
4388
+ export type AreaAnalyticsTileEntry = AreaAnalyticsMetrics & {
4366
4389
  /**
4367
4390
  * Centre of the tile as a GeoJSON position `[longitude, latitude]`.
4368
4391
  */
@@ -4373,7 +4396,7 @@ type AreaAnalyticsTileEntry = AreaAnalyticsMetrics & {
4373
4396
  *
4374
4397
  * @group Traffic
4375
4398
  */
4376
- type AreaAnalyticsAnomaly = {
4399
+ export type AreaAnalyticsAnomaly = {
4377
4400
  /**
4378
4401
  * Start of the anomaly period.
4379
4402
  */
@@ -4392,7 +4415,7 @@ type AreaAnalyticsAnomaly = {
4392
4415
  *
4393
4416
  * @group Traffic
4394
4417
  */
4395
- type AreaAnalyticsFeatureProperties = {
4418
+ export type AreaAnalyticsFeatureProperties = {
4396
4419
  /**
4397
4420
  * Name of the analysis region.
4398
4421
  */
@@ -4429,7 +4452,7 @@ type AreaAnalyticsFeatureProperties = {
4429
4452
  *
4430
4453
  * @group Traffic
4431
4454
  */
4432
- type AreaAnalyticsFeature = Omit<Feature<Polygon, AreaAnalyticsFeatureProperties>, 'id' | 'bbox'> & {
4455
+ export type AreaAnalyticsFeature = Omit<Feature<Polygon, AreaAnalyticsFeatureProperties>, 'id' | 'bbox'> & {
4433
4456
  /**
4434
4457
  * Unique identifier for this feature.
4435
4458
  */
@@ -4444,7 +4467,7 @@ type AreaAnalyticsFeature = Omit<Feature<Polygon, AreaAnalyticsFeatureProperties
4444
4467
  *
4445
4468
  * @group Traffic Analytics
4446
4469
  */
4447
- type AreaAnalyticsCollectionProperties = {
4470
+ export type AreaAnalyticsCollectionProperties = {
4448
4471
  /**
4449
4472
  * Start of the analysis period.
4450
4473
  */
@@ -4502,7 +4525,7 @@ type AreaAnalyticsCollectionProperties = {
4502
4525
  *
4503
4526
  * @group Traffic
4504
4527
  */
4505
- type TrafficAreaAnalytics = {
4528
+ export type TrafficAreaAnalytics = {
4506
4529
  type: 'FeatureCollection';
4507
4530
  /**
4508
4531
  * Collection-level metadata for the analysis.
@@ -4519,7 +4542,7 @@ type TrafficAreaAnalytics = {
4519
4542
  * List of available views for geopolitical context.
4520
4543
  * @group Shared
4521
4544
  */
4522
- declare const views: readonly ["Unified", "AR", "IN", "PK", "IL", "MA", "RU", "TR", "CN"];
4545
+ export declare const views: readonly ["Unified", "AR", "IN", "PK", "IL", "MA", "RU", "TR", "CN", "TW", "RS"];
4523
4546
  /**
4524
4547
  * Geopolitical view context for map display and data.
4525
4548
  *
@@ -4544,7 +4567,7 @@ declare const views: readonly ["Unified", "AR", "IN", "PK", "IL", "MA", "RU", "T
4544
4567
  *
4545
4568
  * @group Shared
4546
4569
  */
4547
- type View = (typeof views)[number];
4570
+ export type View = (typeof views)[number];
4548
4571
  //#endregion
4549
4572
  //#region src/util/bbox.d.ts
4550
4573
  /**
@@ -4552,13 +4575,13 @@ type View = (typeof views)[number];
4552
4575
  * @ignore
4553
4576
  * @param bbox The BBox to verify. If undefined, false is returned.
4554
4577
  */
4555
- declare const isBBoxWithArea: (bbox: OptionalBBox) => boolean;
4578
+ export declare const isBBoxWithArea: (bbox: OptionalBBox) => boolean;
4556
4579
  /**
4557
4580
  * Returns the given bbox if it has area, or undefined otherwise.
4558
4581
  * @ignore
4559
4582
  * @param bbox The BBox to verify. If undefined, undefined is returned.
4560
4583
  */
4561
- declare const bboxOnlyIfWithArea: (bbox: OptionalBBox) => OptionalBBox;
4584
+ export declare const bboxOnlyIfWithArea: (bbox: OptionalBBox) => OptionalBBox;
4562
4585
  /**
4563
4586
  * Expands the given bounding box with the given position.
4564
4587
  * * If the given bounding box is undefined, the given position is considered alone.
@@ -4567,19 +4590,19 @@ declare const bboxOnlyIfWithArea: (bbox: OptionalBBox) => OptionalBBox;
4567
4590
  * @param positionToContain
4568
4591
  * @param bboxToExpand
4569
4592
  */
4570
- declare const bboxExpandedWithPosition: (positionToContain: Position, bboxToExpand?: BBox) => OptionalBBox;
4593
+ export declare const bboxExpandedWithPosition: (positionToContain: Position, bboxToExpand?: BBox) => OptionalBBox;
4571
4594
  /**
4572
4595
  * @ignore
4573
4596
  * @param bboxToContain
4574
4597
  * @param bboxToExpand
4575
4598
  */
4576
- declare const bboxExpandedWithBBox: (bboxToContain: OptionalBBox, bboxToExpand?: BBox) => OptionalBBox;
4599
+ export declare const bboxExpandedWithBBox: (bboxToContain: OptionalBBox, bboxToExpand?: BBox) => OptionalBBox;
4577
4600
  /**
4578
4601
  * Calculates the bounding box which contains all the given bounding boxes.
4579
4602
  * @ignore
4580
4603
  * @param bboxes
4581
4604
  */
4582
- declare const bboxFromBBoxes: (bboxes: OptionalBBox[]) => OptionalBBox;
4605
+ export declare const bboxFromBBoxes: (bboxes: OptionalBBox[]) => OptionalBBox;
4583
4606
  /**
4584
4607
  * Calculates a bounding box from an array of coordinates.
4585
4608
  * * If the array is beyond a certain size, it doesn't scan it fully,
@@ -4588,7 +4611,7 @@ declare const bboxFromBBoxes: (bboxes: OptionalBBox[]) => OptionalBBox;
4588
4611
  * @ignore
4589
4612
  * @param coordinates Should always be passed, but undefined is also supported, resulting in undefined bbox.
4590
4613
  */
4591
- declare const bboxFromCoordsArray: (coordinates: Position[] | undefined) => OptionalBBox;
4614
+ export declare const bboxFromCoordsArray: (coordinates: Position[] | undefined) => OptionalBBox;
4592
4615
  /**
4593
4616
  * Extracts or calculates a bounding box from GeoJSON objects.
4594
4617
  *
@@ -4647,7 +4670,7 @@ declare const bboxFromCoordsArray: (coordinates: Position[] | undefined) => Opti
4647
4670
  *
4648
4671
  * @group Utils
4649
4672
  */
4650
- declare const bboxFromGeoJSON: (hasBBox: HasBBox) => OptionalBBox;
4673
+ export declare const bboxFromGeoJSON: (hasBBox: HasBBox) => OptionalBBox;
4651
4674
  /**
4652
4675
  * Expands the given bounding box with the given GeoJSON.
4653
4676
  * * If the feature has also a bounding box, the latter is considered instead.
@@ -4657,39 +4680,39 @@ declare const bboxFromGeoJSON: (hasBBox: HasBBox) => OptionalBBox;
4657
4680
  * @param geoJson
4658
4681
  * @param bboxToExpand
4659
4682
  */
4660
- declare const bboxExpandedWithGeoJSON: (geoJson: GeoJSON, bboxToExpand?: BBox) => OptionalBBox;
4683
+ export declare const bboxExpandedWithGeoJSON: (geoJson: GeoJSON, bboxToExpand?: BBox) => OptionalBBox;
4661
4684
  /**
4662
4685
  * Calculate the center of bbox
4663
4686
  * @ignore
4664
4687
  * @param bbox
4665
4688
  * */
4666
- declare const bboxCenter: (bbox: BBox) => Position;
4689
+ export declare const bboxCenter: (bbox: BBox) => Position;
4667
4690
  /**
4668
4691
  * Creates a GeoJSON Polygon Feature representing the area of the given bounding box.
4669
4692
  * @param bbox The bounding box defined as [west, south, east, north]
4670
4693
  */
4671
- declare const polygonFromBBox: (bbox: BBox) => Feature<Polygon>;
4694
+ export declare const polygonFromBBox: (bbox: BBox) => Feature<Polygon>;
4672
4695
  //#endregion
4673
4696
  //#region src/util/generateId.d.ts
4674
4697
  /**
4675
4698
  * Generate random id for map features
4676
4699
  * @ignore
4677
4700
  */
4678
- declare const generateId: () => string;
4701
+ export declare const generateId: () => string;
4679
4702
  //#endregion
4680
4703
  //#region src/util/headers.d.ts
4681
4704
  /**
4682
4705
  * SDK name used TomTom custom header tomtom-user-agent
4683
4706
  * @ignore
4684
4707
  */
4685
- declare const TOMTOM_USER_AGENT_SDK_NAME = "MapsSDKJS";
4708
+ export declare const TOMTOM_USER_AGENT_SDK_NAME = "MapsSDKJS";
4686
4709
  /**
4687
4710
  * Generates an object with TomTom custom header values for the given common parameters.
4688
4711
  *
4689
4712
  * @ignore
4690
4713
  * @param params Global SDK configuration
4691
4714
  */
4692
- declare const generateTomTomHeaders: (params: Partial<GlobalConfig>) => TomTomHeaders;
4715
+ export declare const generateTomTomHeaders: (params: Partial<GlobalConfig>) => TomTomHeaders;
4693
4716
  //#endregion
4694
4717
  //#region src/util/lngLat.d.ts
4695
4718
  /**
@@ -4742,7 +4765,7 @@ declare const generateTomTomHeaders: (params: Partial<GlobalConfig>) => TomTomHe
4742
4765
  *
4743
4766
  * @group Utils
4744
4767
  */
4745
- declare const getPosition: (hasLngLat: HasLngLat | undefined, options?: GetPositionOptions) => Position | null;
4768
+ export declare const getPosition: (hasLngLat: HasLngLat | undefined, options?: GetPositionOptions) => Position | null;
4746
4769
  /**
4747
4770
  * Extracts the lng-lat position from various input formats (strict version).
4748
4771
  *
@@ -4779,15 +4802,15 @@ declare const getPosition: (hasLngLat: HasLngLat | undefined, options?: GetPosit
4779
4802
  *
4780
4803
  * @ignore
4781
4804
  */
4782
- declare const getPositionStrict: (hasLngLat: HasLngLat, options?: GetPositionOptions) => Position;
4805
+ export declare const getPositionStrict: (hasLngLat: HasLngLat, options?: GetPositionOptions) => Position;
4783
4806
  /**
4784
4807
  * @ignore
4785
4808
  */
4786
- declare const toPointGeometry: (coordinates: Position) => Point;
4809
+ export declare const toPointGeometry: (coordinates: Position) => Point;
4787
4810
  /**
4788
4811
  * @ignore
4789
4812
  */
4790
- declare const toPointFeature: (coordinates: Position) => Feature<Point>;
4813
+ export declare const toPointFeature: (coordinates: Position) => Feature<Point>;
4791
4814
  //#endregion
4792
4815
  //#region src/util/poiCategoriesToID.d.ts
4793
4816
  /**
@@ -4798,19 +4821,19 @@ declare const toPointFeature: (coordinates: Position) => Feature<Point>;
4798
4821
  *
4799
4822
  * @ignore
4800
4823
  */
4801
- declare const poiCategoriesToIDs: Record<POICategory$1, number[]>;
4824
+ export declare const poiCategoriesToIDs: Record<POICategory$1, number[]>;
4802
4825
  /**
4803
4826
  * Derived mapping: POICategory names to their primary numeric ID (first/smallest in the array).
4804
4827
  *
4805
4828
  * @ignore
4806
4829
  */
4807
- declare const poiCategoriesToID: Record<POICategory$1, number>;
4830
+ export declare const poiCategoriesToID: Record<POICategory$1, number>;
4808
4831
  /**
4809
4832
  * Derived mapping: all TomTom POI category numeric IDs to their POICategory name.
4810
4833
  *
4811
4834
  * @ignore
4812
4835
  */
4813
- declare const poiIDsToCategories: Record<number, POICategory$1>;
4836
+ export declare const poiIDsToCategories: Record<number, POICategory$1>;
4814
4837
  //#endregion
4815
4838
  //#region src/util/route.d.ts
4816
4839
  /**
@@ -4866,7 +4889,7 @@ declare const poiIDsToCategories: Record<number, POICategory$1>;
4866
4889
  *
4867
4890
  * @group Utils
4868
4891
  */
4869
- declare const findBestWaypointInsertionIndex: (route: Route, existingWaypoints: WaypointLike[], newWaypoint: WaypointLike) => number;
4892
+ export declare const findBestWaypointInsertionIndex: (route: Route, existingWaypoints: WaypointLike[], newWaypoint: WaypointLike) => number;
4870
4893
  /**
4871
4894
  * Multi-waypoint variant of {@link findBestWaypointInsertionIndex}.
4872
4895
  *
@@ -4893,7 +4916,7 @@ declare const findBestWaypointInsertionIndex: (route: Route, existingWaypoints:
4893
4916
  *
4894
4917
  * @group Utils
4895
4918
  */
4896
- declare const findBestWaypointInsertionIndices: (route: Route, existingWaypoints: WaypointLike[], newWaypoints: WaypointLike[]) => number[];
4919
+ export declare const findBestWaypointInsertionIndices: (route: Route, existingWaypoints: WaypointLike[], newWaypoints: WaypointLike[]) => number[];
4897
4920
  /**
4898
4921
  * Returns a new array of waypoints with the new waypoint inserted at the optimal position.
4899
4922
  *
@@ -4937,7 +4960,7 @@ declare const findBestWaypointInsertionIndices: (route: Route, existingWaypoints
4937
4960
  *
4938
4961
  * @group Utils
4939
4962
  */
4940
- declare const withInsertedWaypoint: (route: Route, existingWaypoints: WaypointLike[], newWaypoint: WaypointLike) => WaypointLike[];
4963
+ export declare const withInsertedWaypoint: (route: Route, existingWaypoints: WaypointLike[], newWaypoint: WaypointLike) => WaypointLike[];
4941
4964
  /**
4942
4965
  * Returns a new array of waypoints with each new waypoint inserted at its optimal position.
4943
4966
  *
@@ -4976,7 +4999,7 @@ declare const withInsertedWaypoint: (route: Route, existingWaypoints: WaypointLi
4976
4999
  *
4977
5000
  * @group Utils
4978
5001
  */
4979
- declare const withInsertedWaypoints: (route: Route, existingWaypoints: WaypointLike[], newWaypoints: WaypointLike[]) => WaypointLike[];
5002
+ export declare const withInsertedWaypoints: (route: Route, existingWaypoints: WaypointLike[], newWaypoints: WaypointLike[]) => WaypointLike[];
4980
5003
  /**
4981
5004
  * Interpolates the cumulative traveled distance and time at an arbitrary point on the route path.
4982
5005
  *
@@ -5008,7 +5031,7 @@ declare const withInsertedWaypoints: (route: Route, existingWaypoints: WaypointL
5008
5031
  *
5009
5032
  * @group Utils
5010
5033
  */
5011
- declare const calculateProgressAtRoutePoint: (route: Route, pathIndex: number) => RouteProgressAtPoint | undefined;
5034
+ export declare const calculateProgressAtRoutePoint: (route: Route, pathIndex: number) => RouteProgressAtPoint | undefined;
5012
5035
  /**
5013
5036
  * Calculates progress measurements for a segment between two arbitrary points on the route path.
5014
5037
  *
@@ -5034,7 +5057,7 @@ declare const calculateProgressAtRoutePoint: (route: Route, pathIndex: number) =
5034
5057
  *
5035
5058
  * @group Utils
5036
5059
  */
5037
- declare const getRouteProgressBetween: (route: Route, startPathIndex: number, endPathIndex: number) => RouteSegmentProgress | undefined;
5060
+ export declare const getRouteProgressBetween: (route: Route, startPathIndex: number, endPathIndex: number) => RouteSegmentProgress | undefined;
5038
5061
  /**
5039
5062
  * Calculates progress measurements for a route section.
5040
5063
  *
@@ -5060,7 +5083,7 @@ declare const getRouteProgressBetween: (route: Route, startPathIndex: number, en
5060
5083
  *
5061
5084
  * @group Utils
5062
5085
  */
5063
- declare const getRouteProgressForSection: (route: Route, section: SectionProps) => RouteSegmentProgress | undefined;
5086
+ export declare const getRouteProgressForSection: (route: Route, section: SectionProps) => RouteSegmentProgress | undefined;
5064
5087
  /**
5065
5088
  * Calculates the bounding box for a route section.
5066
5089
  *
@@ -5089,13 +5112,13 @@ declare const getRouteProgressForSection: (route: Route, section: SectionProps)
5089
5112
  *
5090
5113
  * @group Utils
5091
5114
  */
5092
- declare const getSectionBBox: (route: Route, section: SectionProps) => OptionalBBox;
5115
+ export declare const getSectionBBox: (route: Route, section: SectionProps) => OptionalBBox;
5093
5116
  /**
5094
5117
  * Geographic coordinate and cumulative progress values at a specific point along a route.
5095
5118
  *
5096
5119
  * @group Utils
5097
5120
  */
5098
- type RouteCoordinateAtProgress = {
5121
+ export type RouteCoordinateAtProgress = {
5099
5122
  /** Geographic position as a GeoJSON `[longitude, latitude]` coordinate. */
5100
5123
  position: Position;
5101
5124
  /** Cumulative travel time in seconds from the route start. */
@@ -5109,7 +5132,7 @@ type RouteCoordinateAtProgress = {
5109
5132
  *
5110
5133
  * @group Utils
5111
5134
  */
5112
- type RouteProgressQuery = {
5135
+ export type RouteProgressQuery = {
5113
5136
  traveledTimeInSeconds: number;
5114
5137
  } | {
5115
5138
  traveledDistanceInMeters: number;
@@ -5144,7 +5167,7 @@ type RouteProgressQuery = {
5144
5167
  *
5145
5168
  * @group Utils
5146
5169
  */
5147
- declare const getCoordinateAtRouteProgress: (route: Route, query: RouteProgressQuery) => RouteCoordinateAtProgress | undefined;
5170
+ export declare const getCoordinateAtRouteProgress: (route: Route, query: RouteProgressQuery) => RouteCoordinateAtProgress | undefined;
5148
5171
  /**
5149
5172
  * Returns the geographic coordinate and cumulative progress values at the point on a route
5150
5173
  * nearest to the given location.
@@ -5171,55 +5194,9 @@ declare const getCoordinateAtRouteProgress: (route: Route, query: RouteProgressQ
5171
5194
  *
5172
5195
  * @group Utils
5173
5196
  */
5174
- declare const getProgressAtNearestRoutePoint: (route: Route, point: HasLngLat) => RouteCoordinateAtProgress | undefined;
5197
+ export declare const getProgressAtNearestRoutePoint: (route: Route, point: HasLngLat) => RouteCoordinateAtProgress | undefined;
5175
5198
  //#endregion
5176
5199
  //#region src/util/routePlanningLocations.d.ts
5177
- /**
5178
- * Creates a soft waypoint with a flexible radius for route calculation.
5179
- *
5180
- * A soft waypoint allows the routing algorithm to find the optimal path within
5181
- * a specified radius of the target location, rather than forcing the route to
5182
- * pass through the exact point. This is useful for:
5183
- * - Allowing the router to stay on major roads instead of detouring
5184
- * - Creating more efficient routes when exact location isn't critical
5185
- * - Simulating "pass near" behavior in route planning
5186
- *
5187
- * The resulting waypoint is a GeoJSON Point Feature with a `radiusMeters` property
5188
- * that the routing service uses to optimize the path.
5189
- *
5190
- * @param hasLngLat The location to extract coordinates from. Can be a coordinate array,
5191
- * Point geometry, or Point Feature.
5192
- * @param radiusMeters The radius in meters within which the route can pass.
5193
- * The routing service will find the optimal point within this radius.
5194
- * @returns A waypoint Feature with the radiusMeters property set.
5195
- *
5196
- * @example
5197
- * ```typescript
5198
- * // Create a soft waypoint from coordinates
5199
- * // Route can pass anywhere within 500m of this point
5200
- * const softWaypoint = asSoftWaypoint([4.9, 52.3], 500);
5201
- *
5202
- * // Use in route calculation
5203
- * const route = await calculateRoute({
5204
- * key: 'your-api-key',
5205
- * locations: [
5206
- * [4.9, 52.3], // Hard waypoint (exact location)
5207
- * asSoftWaypoint([5.1, 52.5], 1000), // Soft waypoint (within 1km)
5208
- * [5.3, 52.7] // Hard waypoint (exact location)
5209
- * ]
5210
- * });
5211
- *
5212
- * // Create soft waypoint from a Place Feature
5213
- * const place = await geocode({ key: 'your-api-key', query: 'Amsterdam' });
5214
- * const softPlace = asSoftWaypoint(place, 2000);
5215
- * // Route will pass within 2km of Amsterdam center
5216
- * ```
5217
- *
5218
- * @see [Locations Guide](https://docs.tomtom.com/maps-sdk-js/guides/services/routing/locations)
5219
- *
5220
- * @group Route
5221
- */
5222
- declare const asSoftWaypoint: (hasLngLat: HasLngLat, radiusMeters: number) => Waypoint;
5223
5200
  /**
5224
5201
  * Determines the type of geographic input (waypoint or path).
5225
5202
  *
@@ -5232,13 +5209,13 @@ declare const asSoftWaypoint: (hasLngLat: HasLngLat, radiusMeters: number) => Wa
5232
5209
  *
5233
5210
  * @ignore
5234
5211
  */
5235
- declare const getRoutePlanningLocationType: (routePlanningLocation: RoutePlanningLocation) => RoutePlanningLocationType;
5212
+ export declare const getRoutePlanningLocationType: (routePlanningLocation: RoutePlanningLocation) => RoutePlanningLocationType;
5236
5213
  //#endregion
5237
5214
  //#region src/util/traffic.d.ts
5238
5215
  /**
5239
5216
  * @ignore
5240
5217
  */
5241
- declare const indexedMagnitudes: DelayMagnitude[];
5218
+ export declare const indexedMagnitudes: DelayMagnitude[];
5242
5219
  /**
5243
5220
  * Maps an `iconCategory` integer from the Incident Details API to a {@link TrafficIncidentCategory}.
5244
5221
  * Integer values that do not correspond to a known category are mapped to `'other'`.
@@ -5248,7 +5225,7 @@ declare const indexedMagnitudes: DelayMagnitude[];
5248
5225
  *
5249
5226
  * @ignore
5250
5227
  */
5251
- declare const iconToTrafficIncidentCategory: (iconCategory: number) => TrafficIncidentCategory;
5228
+ export declare const iconToTrafficIncidentCategory: (iconCategory: number) => TrafficIncidentCategory;
5252
5229
  /**
5253
5230
  * Maps a {@link TrafficIncidentCategory} string to the `iconCategory` integer used by the API.
5254
5231
  * `'other'` and any unrecognised values map to `0`.
@@ -5258,7 +5235,7 @@ declare const iconToTrafficIncidentCategory: (iconCategory: number) => TrafficIn
5258
5235
  *
5259
5236
  * @ignore
5260
5237
  */
5261
- declare const trafficIncidentToIconCategory: (category: TrafficIncidentCategory) => number;
5238
+ export declare const trafficIncidentToIconCategory: (category: TrafficIncidentCategory) => number;
5262
5239
  //#endregion
5263
5240
  //#region src/util/unitFormatters.d.ts
5264
5241
  /**
@@ -5314,7 +5291,7 @@ declare const trafficIncidentToIconCategory: (category: TrafficIncidentCategory)
5314
5291
  *
5315
5292
  * @group Utils
5316
5293
  */
5317
- declare const formatDuration: (seconds: number | undefined, options?: TimeDisplayUnits) => string | undefined;
5294
+ export declare const formatDuration: (seconds: number | undefined, options?: TimeDisplayUnits) => string | undefined;
5318
5295
  /**
5319
5296
  * Distance unit system types supported by the SDK formatters.
5320
5297
  *
@@ -5355,7 +5332,7 @@ declare const formatDuration: (seconds: number | undefined, options?: TimeDispla
5355
5332
  *
5356
5333
  * @group Utils
5357
5334
  */
5358
- type DistanceUnitsType = 'metric' | 'imperial_us' | 'imperial_uk';
5335
+ export type DistanceUnitsType = 'metric' | 'imperial_us' | 'imperial_uk';
5359
5336
  /**
5360
5337
  * Formatting is based on the number of meters passed and unit type. Less meters more precision.
5361
5338
  * @example
@@ -5385,7 +5362,7 @@ type DistanceUnitsType = 'metric' | 'imperial_us' | 'imperial_uk';
5385
5362
  * @param options Options for the display units, including their type and custom ways to display them.
5386
5363
  * @group Utils
5387
5364
  */
5388
- declare const formatDistance: (meters: number, options?: DistanceDisplayUnits) => string;
5365
+ export declare const formatDistance: (meters: number, options?: DistanceDisplayUnits) => string;
5389
5366
  //#endregion
5390
5367
  //#region src/config/globalConfig.d.ts
5391
5368
  /**
@@ -5396,7 +5373,7 @@ declare const formatDistance: (meters: number, options?: DistanceDisplayUnits) =
5396
5373
  *
5397
5374
  * @group Configuration
5398
5375
  */
5399
- type DistanceDisplayUnits = {
5376
+ export type DistanceDisplayUnits = {
5400
5377
  /**
5401
5378
  * Type of distance unit system.
5402
5379
  *
@@ -5443,7 +5420,7 @@ type DistanceDisplayUnits = {
5443
5420
  *
5444
5421
  * @group Configuration
5445
5422
  */
5446
- type TimeDisplayUnits = {
5423
+ export type TimeDisplayUnits = {
5447
5424
  /**
5448
5425
  * Custom label for hour units.
5449
5426
  *
@@ -5465,7 +5442,7 @@ type TimeDisplayUnits = {
5465
5442
  *
5466
5443
  * @group Configuration
5467
5444
  */
5468
- type DisplayUnits = {
5445
+ export type DisplayUnits = {
5469
5446
  /**
5470
5447
  * Distance unit configuration.
5471
5448
  *
@@ -5499,7 +5476,7 @@ type DisplayUnits = {
5499
5476
  *
5500
5477
  * @group Configuration
5501
5478
  */
5502
- type RetryConfig = {
5479
+ export type RetryConfig = {
5503
5480
  /**
5504
5481
  * Initial wait time in milliseconds before the first retry.
5505
5482
  *
@@ -5553,7 +5530,7 @@ type RetryConfig = {
5553
5530
  *
5554
5531
  * @group Configuration
5555
5532
  */
5556
- type GlobalConfig = {
5533
+ export type GlobalConfig = {
5557
5534
  /**
5558
5535
  * TomTom API key for authentication.
5559
5536
  *
@@ -5634,7 +5611,7 @@ type GlobalConfig = {
5634
5611
  *
5635
5612
  * @group Configuration
5636
5613
  */
5637
- declare const DEFAULT_COMMON_BASE_URL = "https://api.tomtom.com";
5614
+ export declare const DEFAULT_COMMON_BASE_URL = "https://api.tomtom.com";
5638
5615
  /**
5639
5616
  * Default global configuration values.
5640
5617
  *
@@ -5643,7 +5620,7 @@ declare const DEFAULT_COMMON_BASE_URL = "https://api.tomtom.com";
5643
5620
  *
5644
5621
  * @group Configuration
5645
5622
  */
5646
- declare const defaultConfig: GlobalConfig;
5623
+ export declare const defaultConfig: GlobalConfig;
5647
5624
  /**
5648
5625
  * Global configuration singleton for the TomTom Maps SDK.
5649
5626
  *
@@ -5671,7 +5648,7 @@ declare const defaultConfig: GlobalConfig;
5671
5648
  *
5672
5649
  * @group Configuration
5673
5650
  */
5674
- declare class TomTomConfig {
5651
+ export declare class TomTomConfig {
5675
5652
  /**
5676
5653
  * Singleton instance of the configuration.
5677
5654
  */
@@ -5724,7 +5701,7 @@ declare class TomTomConfig {
5724
5701
  * Merges the global configuration into the given one, with the latter having priority.
5725
5702
  * @ignore
5726
5703
  */
5727
- declare const mergeFromGlobal: <T extends Partial<GlobalConfig>>(givenConfig?: T) => GlobalConfig & T;
5704
+ export declare const mergeFromGlobal: <T extends Partial<GlobalConfig>>(givenConfig?: T) => GlobalConfig & T;
5728
5705
  /**
5729
5706
  * Whether the SDK is configured for a credentials proxy such as the demos proxy
5730
5707
  * — no `apiKey` (the
@@ -5748,6 +5725,6 @@ declare const mergeFromGlobal: <T extends Partial<GlobalConfig>>(givenConfig?: T
5748
5725
  * @param config - Config to inspect; defaults to the global {@link TomTomConfig}.
5749
5726
  * @group Configuration
5750
5727
  */
5751
- declare const isProxyCredentialsMode: (config?: Partial<Pick<GlobalConfig, "apiKey" | "commonBaseURL">>) => boolean;
5728
+ export declare const isProxyCredentialsMode: (config?: Partial<Pick<GlobalConfig, "apiKey" | "commonBaseURL">>) => boolean;
5752
5729
  //#endregion
5753
- export { AddressProperties, AddressRanges, type Anything, AreaAnalyticsAnomaly, AreaAnalyticsCollectionProperties, AreaAnalyticsFeature, AreaAnalyticsFeatureProperties, AreaAnalyticsMetricKey, AreaAnalyticsMetricRange, AreaAnalyticsMetrics, AreaAnalyticsTileEntry, AreaAnalyticsTimedData, AreaAnalyticsTimedEntry, Avoidable, type BBox, CauseTEC, type ChargingAvailabilityDataSource, ChargingConnectionInfo, type ChargingPark, type ChargingParkWithAvailability, ChargingPaymentOption, ChargingPoint, type ChargingPointAvailability, ChargingPointCapability, ChargingPointRestriction, ChargingPointStatus, ChargingSpeed, ChargingStation, ChargingStationsAccessType, type ChargingStationsAvailability, ChargingStop, ChargingStopProps, type CombustionSummary, CommonPlaceProps, Connector, type ConnectorAvailability, type ConnectorCount, ConnectorType, CountrySectionProps, CurrentType, DEFAULT_COMMON_BASE_URL, DelayMagnitude, DisplayUnits, DistanceDisplayUnits, DistanceUnitsType, type DrivingSide, type EVChargingStationWithAvailabilityPlaceProps, type ElectricSummary, EntryPoint, EntryPointType, type FeatureCollectionWithProperties, type Fuel, GeographyType, type GeometryDataSource, type GetPositionEntryPointOption, type GetPositionOptions, GlobalConfig, type Guidance, type HasBBox, type HasConnector, type HasCount, type HasLngLat, ImportantRoadStretchProps, type Instruction, type Landmark, LaneDirection, LaneSectionProps, type Language, LegSectionProps, type LegSummary, type Maneuver, Mapcode, MapcodeType, type Moment, type OpeningHours, type OpeningHoursMode, type OptionalBBox, type POI, POICategory, type PathLike, PaymentMethod, Place, type PlaceDataSources, PlaceType, Places, PlugType, type PoiDetailsDataSource, type PolygonFeature, type PolygonFeatures, PossibleLaneDirection, PossibleLaneSeparator, type RelatedPOI, RetryConfig, RevGeoAddressProps, type RoadInformation, type RoadInformationProperty, type RoadShield, type RoadShieldReference, RoadShieldSectionProps, Route, RouteCoordinateAtProgress, type RoutePathPoint, type RoutePlanningLocation, type RoutePlanningLocationType, RouteProgress, RouteProgressAtPoint, RouteProgressPoint, RouteProgressQuery, RouteProps, RouteSegmentProgress, type RouteSummary, Routes, SearchPlaceProps, SectionProps, SectionType, SectionsProps, SideOfStreet, type SideRoad, type SideRoadSide, type Signpost, SpeedLimitSectionProps, type SummaryBase, type SummaryWithConsumption, TOMTOM_USER_AGENT_SDK_NAME, type TextWithPhonetics, TimeDisplayUnits, type TimeRange, type TimeZone, type TollPaymentType, type TomTomAPIHeaders, TomTomConfig, type TomTomHeaders, TrafficAreaAnalytics, TrafficIncident, TrafficIncidentBaseProperties, TrafficIncidentCategory, TrafficIncidentDetails, TrafficIncidentEvent, TrafficIncidentProbability, TrafficIncidentProperties, TrafficIncidentRequestCategory, TrafficIncidentTEC, TrafficIncidentTMC, TrafficIncidentTMCPoint, TrafficIncidentTimeValidity, TrafficSectionProps, TravelMode, View, type Waypoint, type WaypointLike, type WaypointProps, type Waypoints, areaAnalyticsMetricKeys, asSoftWaypoint, avoidableTypes, bboxCenter, bboxExpandedWithBBox, bboxExpandedWithGeoJSON, bboxExpandedWithPosition, bboxFromBBoxes, bboxFromCoordsArray, bboxFromGeoJSON, bboxOnlyIfWithArea, calculateProgressAtRoutePoint, chargingPointCapabilities, chargingPointRestrictions, chargingPointStatus, chargingStationAccessTypes, connectorTypes, currentTypes, defaultConfig, findBestWaypointInsertionIndex, findBestWaypointInsertionIndices, formatDistance, formatDuration, fullTrafficIncidentCategories, generateId, generateTomTomHeaders, geographyTypes, getCoordinateAtRouteProgress, getPosition, getPositionStrict, getProgressAtNearestRoutePoint, getRoutePlanningLocationType, getRouteProgressBetween, getRouteProgressForSection, getSectionBBox, iconToTrafficIncidentCategory, indexedMagnitudes, inputSectionTypes, inputSectionTypesWithGuidance, isBBoxWithArea, isProxyCredentialsMode, type languages, mergeFromGlobal, paymentMethods, placeTypes, plugTypes, poiCategories, poiCategoriesToID, poiCategoriesToIDs, poiIDsToCategories, polygonFromBBox, sectionTypes, toPointFeature, toPointGeometry, trafficIncidentRequestCategories, trafficIncidentToIconCategory, views, withInsertedWaypoint, withInsertedWaypoints };
5730
+ export type { Anything, BBox, ChargingAvailabilityDataSource, ChargingPark, ChargingParkWithAvailability, ChargingPointAvailability, ChargingStationsAvailability, CombustionSummary, ConnectorAvailability, ConnectorCount, DrivingSide, EVChargingStationWithAvailabilityPlaceProps, ElectricSummary, FeatureCollectionWithProperties, Fuel, GeometryDataSource, GetPositionEntryPointOption, GetPositionOptions, Guidance, HasBBox, HasConnector, HasCount, HasLngLat, Instruction, Landmark, Language, LegSummary, Maneuver, Moment, OpeningHours, OpeningHoursMode, OptionalBBox, POI, PathLike, PlaceDataSources, PoiDetailsDataSource, PolygonFeature, PolygonFeatures, RelatedPOI, RoadInformation, RoadInformationProperty, RoadShield, RoadShieldReference, RoutePathPoint, RoutePlanningLocation, RoutePlanningLocationType, RouteSummary, SideRoad, SideRoadSide, Signpost, SummaryBase, SummaryWithConsumption, TextWithPhonetics, TimeRange, TimeZone, TollPaymentType, TomTomAPIHeaders, TomTomHeaders, Waypoint, WaypointLike, WaypointProps, Waypoints, languages };