@chrtco/sdk 0.10.3 → 0.10.5

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.
package/dist/index.d.cts CHANGED
@@ -856,6 +856,342 @@ interface OfflineStyleResponse {
856
856
  heartbeat_after: number;
857
857
  server_time: number;
858
858
  }
859
+ /** A measured value with its unit. **Absent entirely** when not reported. */
860
+ interface WeatherReading {
861
+ value: number;
862
+ unit: string;
863
+ }
864
+ interface MarineConditionsOptions {
865
+ lat: number;
866
+ lon: number;
867
+ /** Wind is knots under both systems — nautical convention wins. */
868
+ units?: "imperial" | "metric";
869
+ /**
870
+ * Pin a specific NDBC station id. If it is not reporting in range the call
871
+ * fails with `station_out_of_range` rather than quietly substituting another
872
+ * buoy — the point of pinning is that the answer is about the station you
873
+ * asked for.
874
+ */
875
+ station?: string;
876
+ signal?: AbortSignal;
877
+ }
878
+ interface MarineStation {
879
+ id: string;
880
+ name?: string;
881
+ /** Operating organisation, when it differs from NDBC. Credit it. */
882
+ owner?: string;
883
+ type?: string;
884
+ lat: number;
885
+ lon: number;
886
+ distanceNm: number;
887
+ bearingDeg: number;
888
+ }
889
+ interface NearbyMarineStation {
890
+ id: string;
891
+ /** Frequently absent — NDBC's inventory does not cover every station. */
892
+ name?: string;
893
+ distanceNm: number;
894
+ bearingDeg: number;
895
+ /** Coarser than the `conditions` fields: `wind` covers speed, gust and direction. */
896
+ reports: string[];
897
+ ageMinutes: number;
898
+ }
899
+ interface MarineConditionsResponse {
900
+ query: {
901
+ lat: number;
902
+ lon: number;
903
+ };
904
+ station: MarineStation;
905
+ observed: {
906
+ time: string;
907
+ /** **Display this.** These are not live readings. */
908
+ ageMinutes: number;
909
+ };
910
+ /** Only what the station reported. A missing key means not reported — never zero. */
911
+ conditions: Record<string, WeatherReading | undefined>;
912
+ /** Every field this station did not report, named explicitly. */
913
+ unavailable: string[];
914
+ nearby: NearbyMarineStation[];
915
+ units: "imperial" | "metric";
916
+ /** `degraded` past two hours. Still returned — an old real reading beats nothing offshore. */
917
+ dataQuality: "live" | "degraded";
918
+ attribution: string;
919
+ disclaimer: string;
920
+ }
921
+ interface MarineAlertsOptions {
922
+ lat?: number;
923
+ lon?: number;
924
+ /** A UGC marine zone id, e.g. `ANZ250`. Supply this or lat/lon. */
925
+ zone?: string;
926
+ signal?: AbortSignal;
927
+ }
928
+ interface MarineZoneRef {
929
+ id: string;
930
+ name?: string;
931
+ type?: "coastal" | "offshore";
932
+ office?: string;
933
+ /** Other zones the same bulletin forecasts for. */
934
+ alsoCovers?: string[];
935
+ }
936
+ interface MarineAlert {
937
+ id: string;
938
+ /** NWS's own product name, verbatim. A display string, not an enum. */
939
+ event: string;
940
+ severity: "extreme" | "severe" | "moderate" | "minor" | "unknown";
941
+ urgency: "immediate" | "expected" | "future" | "past" | "unknown";
942
+ certainty: "observed" | "likely" | "possible" | "unlikely" | "unknown";
943
+ messageType?: string;
944
+ /** When the hazard begins. */
945
+ onset?: string;
946
+ /** When the alert was issued. */
947
+ effective?: string;
948
+ /** When the **bulletin** lapses. Use only to schedule a re-fetch. */
949
+ expires?: string;
950
+ /** When the **hazard** passes. Use this to describe the hazard. */
951
+ ends?: string;
952
+ headline?: string;
953
+ description?: string;
954
+ /** NWS's own advice to mariners. Display verbatim; do not paraphrase. */
955
+ instruction?: string;
956
+ senderName?: string;
957
+ areaDesc?: string;
958
+ }
959
+ interface MarineAlertsResponse {
960
+ query: {
961
+ lat?: number;
962
+ lon?: number;
963
+ zone?: string;
964
+ };
965
+ zone: MarineZoneRef;
966
+ /** Most severe first. **Empty is not an all-clear.** */
967
+ alerts: MarineAlert[];
968
+ /** When CHRT last asked NWS. Judge staleness from this. */
969
+ checkedAt: string;
970
+ attribution: string;
971
+ disclaimer: string;
972
+ }
973
+ interface MarineForecastOptions {
974
+ lat?: number;
975
+ lon?: number;
976
+ zone?: string;
977
+ signal?: AbortSignal;
978
+ }
979
+ interface MarineWind {
980
+ /** Compass abbreviation, e.g. `SW`. */
981
+ from?: string;
982
+ /** Absent when NWS gave only an upper bound. Absent means unknown, not 0. */
983
+ minKn?: number;
984
+ maxKn?: number;
985
+ gustKn?: number;
986
+ /** A stated mid-period change, e.g. `becoming SW`. */
987
+ shift?: string;
988
+ /** `light and variable`, where direction is not meaningful. */
989
+ variable?: boolean;
990
+ }
991
+ interface MarineSeas {
992
+ /** **Significant** wave height — mean of the highest 1/3. */
993
+ minFt?: number;
994
+ /** **Significant** wave height — mean of the highest 1/3. */
995
+ maxFt?: number;
996
+ /**
997
+ * **Occasional** wave height — mean of the highest **1/10**. Great Lakes only.
998
+ *
999
+ * A different quantity from the range above and never to be averaged into it.
1000
+ * In "Waves 2 to 4 ft … occasionally to 8 ft", the 8 ft wave is the one that
1001
+ * knocks a small boat down.
1002
+ */
1003
+ occasionalFt?: number;
1004
+ }
1005
+ interface MarineSwellTrain {
1006
+ from: string;
1007
+ heightFt: number;
1008
+ periodS: number;
1009
+ }
1010
+ interface MarineForecastPeriod {
1011
+ /** NWS's own label, verbatim. Not hourly, not uniform. */
1012
+ label: string;
1013
+ /** **Authoritative.** Where the parsed fields disagree with this, this wins. */
1014
+ text: string;
1015
+ wind?: MarineWind;
1016
+ seas?: MarineSeas;
1017
+ swell?: MarineSwellTrain[];
1018
+ }
1019
+ interface MarineForecastResponse {
1020
+ query: {
1021
+ lat?: number;
1022
+ lon?: number;
1023
+ zone?: string;
1024
+ };
1025
+ zone: MarineZoneRef;
1026
+ issued?: string;
1027
+ /** The forecast's own stated validity, from the bulletin — not a CHRT TTL. */
1028
+ expires?: string;
1029
+ dataQuality: "live" | "degraded";
1030
+ /** Narrative only — no severity, no timing. Warnings come from `alerts()`. */
1031
+ headlines: string[];
1032
+ periods: MarineForecastPeriod[];
1033
+ source: {
1034
+ /** The upstream NWS product. Use it to verify CHRT against NOAA directly. */
1035
+ productId: string;
1036
+ productType: "CWF" | "NSH" | "GLF" | "OFF";
1037
+ office: string;
1038
+ wmoId?: string;
1039
+ };
1040
+ attribution: string;
1041
+ disclaimer: string;
1042
+ }
1043
+ /**
1044
+ * One gazetteer hit.
1045
+ *
1046
+ * A hit is a PLACE, not a feature: a point, an extent, and the identity you
1047
+ * need to go and fetch the feature itself. If you want geometry, follow `lnam`
1048
+ * and `cell_id` into `features()` or CHRTinteract.
1049
+ */
1050
+ interface SearchHit {
1051
+ /** The `OBJNAM` verbatim, exactly as the hydrographic office charted it. */
1052
+ name: string;
1053
+ /**
1054
+ * A point GUARANTEED to lie inside real charted geometry carrying this name.
1055
+ *
1056
+ * Not a bbox centroid, and not a polygon centroid either — a centroid can
1057
+ * fall outside a concave area entirely, or inside a different, smaller
1058
+ * feature. Safe to fly a camera to.
1059
+ */
1060
+ lon: number;
1061
+ lat: number;
1062
+ /**
1063
+ * `[west, south, east, north]`, unioned across every charted instance of this
1064
+ * place — so fitting a camera to it covers the whole thing rather than one
1065
+ * chart cell's slice of it.
1066
+ *
1067
+ * DEGENERATE for a point feature (`west === east`, `south === north`). Never
1068
+ * null, so `fitBounds` never has to be guarded.
1069
+ */
1070
+ bbox: [number, number, number, number];
1071
+ /** S-57 layer acronym, e.g. `"SEAARE"`. */
1072
+ layer: string;
1073
+ /**
1074
+ * `place` — the name describes water or ground you can **be in**.
1075
+ * `object` — the name describes a **thing at** a position.
1076
+ *
1077
+ * Branch on this before writing a name into a sentence about position. It is
1078
+ * the difference between "you are in Nantasket Roads" and the nonsense
1079
+ * "you are in Boston South Channel Buoy 11".
1080
+ */
1081
+ kind: "place" | "object";
1082
+ /** Short human label to render beside the name, e.g. `"Bay"`, `"Lateral buoy"`. */
1083
+ class: string;
1084
+ /**
1085
+ * `secondary` marks survey and utility descriptors — dredged-area names,
1086
+ * pipelines, cables, recommended tracks. Fully searchable, but never sorted
1087
+ * above a `primary` hit in the same match tier, so a typeahead shows
1088
+ * "Quincy Bay" rather than "51-Foot Outer Harbor Confluence RIQ".
1089
+ */
1090
+ rank: "primary" | "secondary";
1091
+ /**
1092
+ * Colloquial names a skipper actually says, composed for buoys and beacons:
1093
+ * `"South River Buoy 16"` carries `["red 16", "r16", "red nun 16"]`. Empty
1094
+ * for everything else. `q` matches these at the same tiers as the name.
1095
+ */
1096
+ aliases: string[];
1097
+ /**
1098
+ * S-57 long name of the largest-scale instance — the stable handle for
1099
+ * re-resolving this hit later.
1100
+ *
1101
+ * **Not a de-duplication key.** The same place carries a different `LNAM` in
1102
+ * every cell that charts it (measured: 25 instances of "Vineyard Sound", 25
1103
+ * distinct LNAMs), and occasionally one `LNAM` spans several cells. CHRT has
1104
+ * already de-duplicated; you do not need to.
1105
+ */
1106
+ lnam: string;
1107
+ /** Source cell, and its data currency — inline, so a row renders without a second call. */
1108
+ cell_id: string;
1109
+ chart_source: string;
1110
+ edition: number | null;
1111
+ update_number: number | null;
1112
+ issue_date: string | null;
1113
+ /** Compilation scale denominator of the source cell. */
1114
+ scale: number | null;
1115
+ /** S-57 minimum display scale, where the feature carries one. */
1116
+ scamin: number | null;
1117
+ /** Metres from `near`. Absent when `near` was not supplied. */
1118
+ distance_m?: number;
1119
+ /** True bearing from `near` in degrees, geodesic. Absent when `near` was not supplied. */
1120
+ bearing_deg?: number;
1121
+ /**
1122
+ * Which tier matched. The ranking order is
1123
+ * `exact` → `prefix` → `all_words` → `substring` → `fuzzy`, then primary
1124
+ * before secondary, then distance, then largest scale.
1125
+ *
1126
+ * `fuzzy` appears only when nothing matched at the four stricter tiers.
1127
+ */
1128
+ match: "exact" | "prefix" | "all_words" | "substring" | "fuzzy";
1129
+ }
1130
+ /**
1131
+ * Present whenever the `near`/`bbox` you supplied falls outside CHRT's
1132
+ * coverage — **with or without results**.
1133
+ *
1134
+ * The notice is about the POSITION, not about the result set being empty. A
1135
+ * query can match places by name thousands of kilometres away while CHRT holds
1136
+ * no charts where you actually are; returning that list silently is the most
1137
+ * misleading answer available. When `results` accompany this block they matched
1138
+ * by NAME only, and their `distance_m` is measured from a position CHRT cannot
1139
+ * chart — do not present them as nearby.
1140
+ *
1141
+ * Its absence means the position is inside coverage, or you gave no position.
1142
+ * So an empty `results` with no `coverage` block is a genuine in-coverage miss:
1143
+ * "we have charts here and nothing is called that", as distinct from "we have
1144
+ * no charts here". Neither is ever a statement that the water is clear.
1145
+ */
1146
+ interface SearchCoverageNotice {
1147
+ covered: false;
1148
+ code: "outside_coverage";
1149
+ message: string;
1150
+ chart_sources: string[] | null;
1151
+ }
1152
+ interface SearchResponse {
1153
+ results: SearchHit[];
1154
+ /** Exact count of all matches — not an estimate, and not the page length. */
1155
+ total_count: number;
1156
+ limit: number;
1157
+ offset: number;
1158
+ coverage?: SearchCoverageNotice;
1159
+ attribution: string;
1160
+ disclaimer: string;
1161
+ }
1162
+ interface SearchOptions {
1163
+ /**
1164
+ * Free text. Multi-word in ANY order — `"cutty harbor"` finds
1165
+ * "Cuttyhunk Harbor Channel". 2–120 characters.
1166
+ */
1167
+ q: string;
1168
+ /**
1169
+ * `[longitude, latitude]` — a RANKING BIAS, never a filter.
1170
+ *
1171
+ * Supply it. "Newport" is Rhode Island, Oregon *and* California; without
1172
+ * `near` the first row is the wrong Newport most of the time, and a skipper
1173
+ * off Block Island is offered a place 2,500 miles away.
1174
+ */
1175
+ near?: [number, number];
1176
+ /** `[west, south, east, north]` — a HARD filter, for "search only this chart". */
1177
+ bbox?: [number, number, number, number];
1178
+ /** Restrict to places or to objects. Omit for both. */
1179
+ kind?: "place" | "object" | "all";
1180
+ /**
1181
+ * S-57 layer acronym, or several.
1182
+ *
1183
+ * Note that named lights are on `LNDMRK`, not `LIGHTS` — only 50 of the
1184
+ * 48,814 `LIGHTS` features in the corpus carry a name, so filtering to
1185
+ * `LIGHTS` to find "Deer Island Light" returns nothing.
1186
+ */
1187
+ layer?: string | string[];
1188
+ /** Page size, default 20, clamped to 100. */
1189
+ limit?: number;
1190
+ /** Pagination offset. */
1191
+ offset?: number;
1192
+ /** AbortSignal to cancel the request — pass one per keystroke in a typeahead. */
1193
+ signal?: AbortSignal;
1194
+ }
859
1195
 
860
1196
  declare class ChrtError extends Error {
861
1197
  status: number;
@@ -1095,6 +1431,78 @@ declare class CellsEndpoint {
1095
1431
  get(cellId: string, signal?: AbortSignal): Promise<CellDetail>;
1096
1432
  }
1097
1433
 
1434
+ /**
1435
+ * CHRTweather — NOAA-backed marine weather.
1436
+ *
1437
+ * **U.S. waters only**, and every method needs the `weather:read` scope on your
1438
+ * API key. A chart key does not carry it implicitly: ask CHRT to enable it. A
1439
+ * key without it fails with `403 weather_not_entitled`, which no amount of
1440
+ * retrying fixes.
1441
+ *
1442
+ * Three rules govern reading anything this returns, and they are the difference
1443
+ * between a useful readout and a dangerous one:
1444
+ *
1445
+ * 1. **An empty result never means calm water.** No alerts in force, no buoy in
1446
+ * range, no marine zone at this position — each means *we do not know* or
1447
+ * *nothing is posted*. None of them means conditions are good. There is
1448
+ * deliberately no `safe` or `status` field to bind a green tick to.
1449
+ * 2. **Absent is not zero.** A measurement a station did not report, or a phrase
1450
+ * the forecast parser could not read, is omitted rather than defaulted.
1451
+ * Treat a missing number as unknown — never render it as `0`.
1452
+ * 3. **On the forecast, `text` is authoritative.** The structured fields are
1453
+ * parsed from it, and some content exists only in the text.
1454
+ *
1455
+ * CHRT is not the issuing authority. Every response carries `attribution` and
1456
+ * `disclaimer` — display them.
1457
+ */
1458
+ declare class WeatherEndpoint {
1459
+ private http;
1460
+ constructor(http: HttpClient);
1461
+ /**
1462
+ * Observed conditions from the nearest reporting NOAA NDBC station.
1463
+ *
1464
+ * A **measurement, not a forecast**, and not live — most buoys report hourly
1465
+ * and the median observation is around 40 minutes old. `observed.ageMinutes`
1466
+ * is on every response and should be displayed: a readout that looks current
1467
+ * but is 90 minutes stale is worse than one that says so.
1468
+ *
1469
+ * `unavailable` names every field the station did not report, so absence is
1470
+ * stated rather than inferred from a missing key.
1471
+ */
1472
+ conditions(options: MarineConditionsOptions): Promise<MarineConditionsResponse>;
1473
+ /**
1474
+ * Active NWS marine warnings for the zone — Small Craft Advisory, Gale,
1475
+ * Storm, Hurricane Force Wind, Special Marine Warning. Most severe first.
1476
+ *
1477
+ * Its own call, so warnings can be re-checked cheaply (~60 s) without pulling
1478
+ * a forecast you already have.
1479
+ *
1480
+ * **`expires` and `ends` are different.** `expires` is when the *bulletin*
1481
+ * lapses — alerts are usually re-issued before then. `ends` is when the
1482
+ * *hazard* is expected to be over. They are routinely hours apart, so
1483
+ * describe the hazard with `ends` and use `expires` only to decide when to
1484
+ * re-fetch.
1485
+ *
1486
+ * Display `instruction` verbatim: it is NWS's own advice to mariners.
1487
+ */
1488
+ alerts(options: MarineAlertsOptions): Promise<MarineAlertsResponse>;
1489
+ /**
1490
+ * The NWS marine zone forecast — U.S. coastal and Great Lakes waters.
1491
+ *
1492
+ * Periods are NWS's own and are **neither hourly nor uniform**: `OVERNIGHT`,
1493
+ * `TUE NIGHT`, `WED NIGHT THROUGH THU NIGHT`. A single period can span days.
1494
+ * Flattening them into an hourly series invents resolution the data does not
1495
+ * have.
1496
+ *
1497
+ * `expires` is the forecast's **own** stated validity, taken from the
1498
+ * bulletin, not a TTL CHRT invented. `source.productId` identifies the
1499
+ * upstream NWS product, so you can verify CHRT against NOAA directly.
1500
+ *
1501
+ * Offshore zones are not yet supported and fail with `501`.
1502
+ */
1503
+ forecast(options: MarineForecastOptions): Promise<MarineForecastResponse>;
1504
+ }
1505
+
1098
1506
  declare class CoverageEndpoint {
1099
1507
  private http;
1100
1508
  constructor(http: HttpClient);
@@ -3497,6 +3905,14 @@ declare class Chrt {
3497
3905
  readonly cells: CellsEndpoint;
3498
3906
  /** Coverage data — list available chart sources */
3499
3907
  readonly coverage: CoverageEndpoint;
3908
+ /**
3909
+ * CHRTweather — NOAA-backed marine weather: observed conditions, active
3910
+ * warnings, and the NWS zone forecast. U.S. waters only, and requires the
3911
+ * `weather:read` scope on your key — a chart key does not carry it.
3912
+ *
3913
+ * An empty result from any of these never means calm water.
3914
+ */
3915
+ readonly weather: WeatherEndpoint;
3500
3916
  /**
3501
3917
  * CHRToffline — download MBTiles bundles for offline use.
3502
3918
  * Requires `deviceId` in config. Manifest-based budget enforcement
@@ -3510,6 +3926,7 @@ declare class Chrt {
3510
3926
  */
3511
3927
  readonly interact: InteractClient;
3512
3928
  private featuresEp;
3929
+ private searchEp;
3513
3930
  private queryEp;
3514
3931
  private http;
3515
3932
  private tileAuth;
@@ -3520,6 +3937,30 @@ declare class Chrt {
3520
3937
  constructor(apiKeyOrConfig: string | ChrtConfig);
3521
3938
  /** Query GeoJSON features by bounding box */
3522
3939
  features(options: FeaturesOptions): Promise<FeatureCollection>;
3940
+ /**
3941
+ * CHRTsearch — find charted places by name.
3942
+ *
3943
+ * The only CHRT surface addressed by NAME rather than by space or identifier.
3944
+ * Text in, a small ranked list of named charted places out.
3945
+ *
3946
+ * ```ts
3947
+ * const { results } = await chrt.search({ q: "cutty harbor", near: [-70.93, 41.42] });
3948
+ * // -> [{ name: "Cuttyhunk Harbor Channel", class: "Fairway", kind: "place", ... }]
3949
+ * ```
3950
+ *
3951
+ * Three things worth knowing before wiring it to a text field:
3952
+ *
3953
+ * 1. **Pass `near`.** It biases ranking and never filters. "Newport" is
3954
+ * Rhode Island, Oregon *and* California; without `near` the first row is
3955
+ * the wrong Newport most of the time.
3956
+ * 2. **It is metered separately** from `features()` — exhausting one does not
3957
+ * affect the other. Sized for a typeahead, and not gated by tier.
3958
+ * 3. **An empty `results` array is not proof a place does not exist.** If the
3959
+ * response carries a `coverage` block, CHRT holds no charts at that
3960
+ * position and the search could not run there. That is a different answer
3961
+ * from "nothing matched", and neither means the water is clear.
3962
+ */
3963
+ search(options: SearchOptions): Promise<SearchResponse>;
3523
3964
  /** Spatial proximity query around a point */
3524
3965
  query(options: QueryOptions): Promise<QueryResponse>;
3525
3966
  /**
@@ -3712,4 +4153,4 @@ declare class Chrt {
3712
4153
  warmTiles(region?: string): Promise<void>;
3713
4154
  }
3714
4155
 
3715
- export { ALL_NAV_AID_LAYERS, ALL_WATER_BODY_LAYERS, AREA_QUERY_LAYERS, ATON_EXPRESSION_CLASSES, type AheadCoverageCell, type AheadFeatureProperties, type AheadOptions, type AheadResponse, type AlongRouteFeatureProperties, type AlongRouteOptions, type AlongRouteResponse, type AreaInspectResult, type AtlasStyle, type AttachOptions, BAND_DRAW_ORDER, BAND_PRIORITY_RANGES, type BBox, BRIDGE_QUERY_LAYERS, BUILD_MAXZOOM, BUILD_MINZOOM, type BandCode, type BandPriorityRange, type BridgeInspectResult, type BuildOfflineStyleOptions, type BuildSourcesOptions, CHART_BAND_CODES, CHART_CASCADE_CODES, CHART_SECTIONS, CHRTRASTER_REF_CROPS, CHRTRASTER_SVGS, CHRT_ATON_COLORS, CHRT_GLYPH_NAMES, CHRT_GLYPH_SVGS, CHRT_ICON_EXPRESSIONS, CHRT_ICON_PREFIX, CHRT_SDF_GLYPHS, CHRT_STYLE_MODES, type CandidateQueryOptions, type CandidatesEventContext, type CellDeletedEvent, type CellDetail, type CellEventData, type CellNewEvent, type CellUpdatedData, type CellUpdatedEvent, type CellsOptions, type CellsResponse, type ChartSection, Chrt, type ChrtConfig, ChrtError, type ChrtStyleMode, type ChrtStyleOptions, type ChrtStyleTheme, type ChrtSymbolSet, type ClickAnchor, ColorTableName, type CoverageOptions, type CoverageResponse, type CoverageRouteCell, type CoverageRouteOptions, type CoverageRouteResponse, type CoverageSource, type CustomStyleConfig, DEFAULT_CLICK_TOLERANCE, DEFAULT_CUSTOM_STYLE_CONFIG, DEFAULT_INSPECT_CLASS_RANK, DEFAULT_LABEL_SETTINGS, DEFAULT_NAV_AID_SETTINGS, DEFAULT_REGION, DEFAULT_SAFETY_CONTOUR_M, DEFAULT_SOUNDING_SETTINGS, DEFAULT_TILE_BASE_URL, DEFAULT_TILE_REGION, DEFAULT_WATER_BODY_SETTINGS, type DecodedAreaFeature, type DecodedBridge, type DecodedNavAid, type DecodedProperty, type DisplayCategory, type DisplayMode, type FeatureCollection, type FeaturesOptions, type FetchStyleOptions, FileSystemAdapter, type FlashPattern, type FlashPhase, type GenerateCustomStyleOptions, type GeneratedCustomStyle, type GeoJsonFeature, type GeoJsonGeometry, type GeomType, INSPECT_CLASS_RANK, INSPECT_RANK_DEVIATIONS, type InspectCandidate, type InspectCandidateSet, type InspectEnrichment, type InspectEventContext, type InspectNotice, type InspectOptions, type InspectResult, type InspectTargetClass, type InspectableFeature, InteractClient, type InteractEntitlement, InteractError, type InteractErrorCode, type InteractHandle, type InteractMapLike, type InteractMapMouseEvent, LABELED_LAYERS, LABEL_BEHAVIOR, LABEL_LAYER_GROUPS, LABEL_PRIORITY, type LabelBehavior, type LabelConfigOptions, type LabelLayerConfig, type LabelSettings, type LookupEntry, type MapLibreStyle, type MapboxStyle, type MapboxVectorSource, NAUTICAL_SYMBOLS, NAV_AID_LAYER_GROUPS, NAV_AID_QUERY_LAYERS, NON_SOLAS_DISCLAIMER, NON_SOLAS_DISCLAIMER_SHORT, type NauticalCategory, type NauticalSymbol, type NavAidInspectResult, type NavAidSettings, type OfflineBundleResponse, type OfflineDownloadOptions, type OfflineDownloadProgress, type OfflineDownloadResult, OfflineError, type OfflineErrorCode, type OfflineFetchStyleOptions, type OfflineHeartbeatOptions, type OfflineRegionSummary, type OfflineRemoveOptions, OfflineStyleError, type OfflineStylePlatform, type OfflineStyleResponse, type PmtilesVectorSource, type QueryFeatureProperties, type QueryOptions, type QueryResponse, RASTER_ATON_CLASSES, RASTER_GLYPH_NAMES, RASTER_ICON_PREFIX, type ResolvedStyle, type ResolvedTheme, type S101Feature, S101_CHART_SECTIONS, S101_FEATURES, S101_ICON_PREFIX, S101_NEW_SYMBOLS, S101_SOURCE_COMMIT, S101_SYMBOL_GROUPS, S101_SYMBOL_NAMES, S52_ATON_LOOKUPS, S52_ATON_LOOKUPS_PAPER, S52_DRAW_ORDER, S52_LOOKUP, S52_PATTERN_SPRITE_PREFIX, SOUNDING_LAYERS, SYMBOL_FAMILIES, SYMBOL_FAMILY_META, SYMBOL_GROUPS, SYMBOL_MAP, type ScaleBand, type SectorArcFeature, type SectorArcFeatureCollection, type SectorInfo, type SoundingSettings, type SourceMode, type StyleGeneratorOptions, type StyleLayer, type StyleUrlOptions, type SymbolFamily, type SymbolFamilyMeta, type SymbolGroup, TileAuth, type TileGroup, type TileGroupsResponse, TileTokenError, type TileTokenErrorCode, type TileTokenResponse, type TransformRequest, type TransformedRequest, type VectorSourceSpec, type VesselProfile, WATER_BODY_LAYER_GROUPS, type WaterBodySettings, type WebhookEvent, type WebhookEventType, type WebhookPayload, applyChrtSymbolSet, applyColorTheme, applyCustomStyleSettings, applyRasterSymbolSet, applyS101SymbolSet, atonIconExpression, bandFilterExpression, buildFlashPattern, buildLabelLayer, buildLayersForClass, buildOfflineStyle, buildSectorArcGeoJSON, buildSectorArcsFC, buildSectorsFromFeatures, buildSources, candidateRank, chrtAtonTintExpression, chrtLightTintExpression, collectCandidates, collectClickCandidates, combineWithBandFilter, daymarkColor, decimateFeatures, decodeAreaFeatureProps, decodeBridgeProps, decodeCandidate, decodeNavAidProps, depareColor, depareFillExpression, deriveMarinerName, extractNavAidDesignation, featureIdentity, generateCustomStyle, generateSpriteManifest, generateSpriteSheet, generateStyle, generateStyleJSON, getAvailableLineSymbols, getAvailablePatterns, getAvailablePointSymbols, getCollisionSettings, getDrawPriority, getGridSizeForZoom, getIconExpression, getLabelBehavior, getLabelConfig, getLabelPriority, getLookupEntry, getMaxCellsForZoom, getOrderedClasses, getRasterSvg, getS52SvgString, getS52SymbolStats, getStyleStats, getSymbolSvgString, getThemedS101Svg, getThemedS52Svg, getTopmarkMeaning, hazardColor, hazardFillExpression, iconExpressionForFamily, isLabelLayerVisible, isNavAidLayer, isNavAidLayerVisible, isSoundingLayerVisible, isVisibleInMode, isWaterBodyLayerVisible, labelSortKey, lateralColor, lateralFillExpression, lightColor, lightFillExpression, lightsIconExpression, normalizeStyleMode, normalizeTheme, paginate, parseListCodes, parseSymbolFamily, parseWebhook, patternSpriteId, preprocessLights, preprocessNavAids, preprocessSoundings, preprocessWaterBodies, rasterAtonIconExpression, resolveCustomTheme, resolveRasterImage, resolveS101Color, resolveStyle, resolveTargetClass, sanitizeCustomStyleConfig, scaleSizeValue, scaminToMinZoom, styleModeBand, withinBboxFilter, worldMinusBboxPolygon };
4156
+ export { ALL_NAV_AID_LAYERS, ALL_WATER_BODY_LAYERS, AREA_QUERY_LAYERS, ATON_EXPRESSION_CLASSES, type AheadCoverageCell, type AheadFeatureProperties, type AheadOptions, type AheadResponse, type AlongRouteFeatureProperties, type AlongRouteOptions, type AlongRouteResponse, type AreaInspectResult, type AtlasStyle, type AttachOptions, BAND_DRAW_ORDER, BAND_PRIORITY_RANGES, type BBox, BRIDGE_QUERY_LAYERS, BUILD_MAXZOOM, BUILD_MINZOOM, type BandCode, type BandPriorityRange, type BridgeInspectResult, type BuildOfflineStyleOptions, type BuildSourcesOptions, CHART_BAND_CODES, CHART_CASCADE_CODES, CHART_SECTIONS, CHRTRASTER_REF_CROPS, CHRTRASTER_SVGS, CHRT_ATON_COLORS, CHRT_GLYPH_NAMES, CHRT_GLYPH_SVGS, CHRT_ICON_EXPRESSIONS, CHRT_ICON_PREFIX, CHRT_SDF_GLYPHS, CHRT_STYLE_MODES, type CandidateQueryOptions, type CandidatesEventContext, type CellDeletedEvent, type CellDetail, type CellEventData, type CellNewEvent, type CellUpdatedData, type CellUpdatedEvent, type CellsOptions, type CellsResponse, type ChartSection, Chrt, type ChrtConfig, ChrtError, type ChrtStyleMode, type ChrtStyleOptions, type ChrtStyleTheme, type ChrtSymbolSet, type ClickAnchor, ColorTableName, type CoverageOptions, type CoverageResponse, type CoverageRouteCell, type CoverageRouteOptions, type CoverageRouteResponse, type CoverageSource, type CustomStyleConfig, DEFAULT_CLICK_TOLERANCE, DEFAULT_CUSTOM_STYLE_CONFIG, DEFAULT_INSPECT_CLASS_RANK, DEFAULT_LABEL_SETTINGS, DEFAULT_NAV_AID_SETTINGS, DEFAULT_REGION, DEFAULT_SAFETY_CONTOUR_M, DEFAULT_SOUNDING_SETTINGS, DEFAULT_TILE_BASE_URL, DEFAULT_TILE_REGION, DEFAULT_WATER_BODY_SETTINGS, type DecodedAreaFeature, type DecodedBridge, type DecodedNavAid, type DecodedProperty, type DisplayCategory, type DisplayMode, type FeatureCollection, type FeaturesOptions, type FetchStyleOptions, FileSystemAdapter, type FlashPattern, type FlashPhase, type GenerateCustomStyleOptions, type GeneratedCustomStyle, type GeoJsonFeature, type GeoJsonGeometry, type GeomType, INSPECT_CLASS_RANK, INSPECT_RANK_DEVIATIONS, type InspectCandidate, type InspectCandidateSet, type InspectEnrichment, type InspectEventContext, type InspectNotice, type InspectOptions, type InspectResult, type InspectTargetClass, type InspectableFeature, InteractClient, type InteractEntitlement, InteractError, type InteractErrorCode, type InteractHandle, type InteractMapLike, type InteractMapMouseEvent, LABELED_LAYERS, LABEL_BEHAVIOR, LABEL_LAYER_GROUPS, LABEL_PRIORITY, type LabelBehavior, type LabelConfigOptions, type LabelLayerConfig, type LabelSettings, type LookupEntry, type MapLibreStyle, type MapboxStyle, type MapboxVectorSource, type MarineAlert, type MarineAlertsOptions, type MarineAlertsResponse, type MarineConditionsOptions, type MarineConditionsResponse, type MarineForecastOptions, type MarineForecastPeriod, type MarineForecastResponse, type MarineSeas, type MarineStation, type MarineSwellTrain, type MarineWind, type MarineZoneRef, NAUTICAL_SYMBOLS, NAV_AID_LAYER_GROUPS, NAV_AID_QUERY_LAYERS, NON_SOLAS_DISCLAIMER, NON_SOLAS_DISCLAIMER_SHORT, type NauticalCategory, type NauticalSymbol, type NavAidInspectResult, type NavAidSettings, type NearbyMarineStation, type OfflineBundleResponse, type OfflineDownloadOptions, type OfflineDownloadProgress, type OfflineDownloadResult, OfflineError, type OfflineErrorCode, type OfflineFetchStyleOptions, type OfflineHeartbeatOptions, type OfflineRegionSummary, type OfflineRemoveOptions, OfflineStyleError, type OfflineStylePlatform, type OfflineStyleResponse, type PmtilesVectorSource, type QueryFeatureProperties, type QueryOptions, type QueryResponse, RASTER_ATON_CLASSES, RASTER_GLYPH_NAMES, RASTER_ICON_PREFIX, type ResolvedStyle, type ResolvedTheme, type S101Feature, S101_CHART_SECTIONS, S101_FEATURES, S101_ICON_PREFIX, S101_NEW_SYMBOLS, S101_SOURCE_COMMIT, S101_SYMBOL_GROUPS, S101_SYMBOL_NAMES, S52_ATON_LOOKUPS, S52_ATON_LOOKUPS_PAPER, S52_DRAW_ORDER, S52_LOOKUP, S52_PATTERN_SPRITE_PREFIX, SOUNDING_LAYERS, SYMBOL_FAMILIES, SYMBOL_FAMILY_META, SYMBOL_GROUPS, SYMBOL_MAP, type ScaleBand, type SearchCoverageNotice, type SearchHit, type SearchOptions, type SearchResponse, type SectorArcFeature, type SectorArcFeatureCollection, type SectorInfo, type SoundingSettings, type SourceMode, type StyleGeneratorOptions, type StyleLayer, type StyleUrlOptions, type SymbolFamily, type SymbolFamilyMeta, type SymbolGroup, TileAuth, type TileGroup, type TileGroupsResponse, TileTokenError, type TileTokenErrorCode, type TileTokenResponse, type TransformRequest, type TransformedRequest, type VectorSourceSpec, type VesselProfile, WATER_BODY_LAYER_GROUPS, type WaterBodySettings, WeatherEndpoint, type WeatherReading, type WebhookEvent, type WebhookEventType, type WebhookPayload, applyChrtSymbolSet, applyColorTheme, applyCustomStyleSettings, applyRasterSymbolSet, applyS101SymbolSet, atonIconExpression, bandFilterExpression, buildFlashPattern, buildLabelLayer, buildLayersForClass, buildOfflineStyle, buildSectorArcGeoJSON, buildSectorArcsFC, buildSectorsFromFeatures, buildSources, candidateRank, chrtAtonTintExpression, chrtLightTintExpression, collectCandidates, collectClickCandidates, combineWithBandFilter, daymarkColor, decimateFeatures, decodeAreaFeatureProps, decodeBridgeProps, decodeCandidate, decodeNavAidProps, depareColor, depareFillExpression, deriveMarinerName, extractNavAidDesignation, featureIdentity, generateCustomStyle, generateSpriteManifest, generateSpriteSheet, generateStyle, generateStyleJSON, getAvailableLineSymbols, getAvailablePatterns, getAvailablePointSymbols, getCollisionSettings, getDrawPriority, getGridSizeForZoom, getIconExpression, getLabelBehavior, getLabelConfig, getLabelPriority, getLookupEntry, getMaxCellsForZoom, getOrderedClasses, getRasterSvg, getS52SvgString, getS52SymbolStats, getStyleStats, getSymbolSvgString, getThemedS101Svg, getThemedS52Svg, getTopmarkMeaning, hazardColor, hazardFillExpression, iconExpressionForFamily, isLabelLayerVisible, isNavAidLayer, isNavAidLayerVisible, isSoundingLayerVisible, isVisibleInMode, isWaterBodyLayerVisible, labelSortKey, lateralColor, lateralFillExpression, lightColor, lightFillExpression, lightsIconExpression, normalizeStyleMode, normalizeTheme, paginate, parseListCodes, parseSymbolFamily, parseWebhook, patternSpriteId, preprocessLights, preprocessNavAids, preprocessSoundings, preprocessWaterBodies, rasterAtonIconExpression, resolveCustomTheme, resolveRasterImage, resolveS101Color, resolveStyle, resolveTargetClass, sanitizeCustomStyleConfig, scaleSizeValue, scaminToMinZoom, styleModeBand, withinBboxFilter, worldMinusBboxPolygon };