@chrtco/sdk 0.10.51 → 0.10.52

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
@@ -318,6 +318,15 @@ interface BBox {
318
318
  * spec; without that, MapLibre throws on style validation.
319
319
  */
320
320
  declare function withinBboxFilter(bbox: BBox): unknown[];
321
+ /**
322
+ * A GeoJSON Polygon, typed here rather than through the ambient `GeoJSON`
323
+ * namespace (@types/geojson): Deno, which type-checks this file for the paper
324
+ * functions (src/paper/detail.ts imports it), has no such namespace.
325
+ */
326
+ interface BboxPolygon {
327
+ type: "Polygon";
328
+ coordinates: Array<Array<[number, number]>>;
329
+ }
321
330
  /**
322
331
  * Build a GeoJSON Polygon for the world MINUS a given bbox — i.e. an
323
332
  * outer ring covering the whole world with a single hole punched at
@@ -327,7 +336,7 @@ declare function withinBboxFilter(bbox: BBox): unknown[];
327
336
  * Outer ring uses the standard antimeridian-safe world extent
328
337
  * (lng [-180, 180], lat [-85, 85] — Web Mercator's safe range).
329
338
  */
330
- declare function worldMinusBboxPolygon(bbox: BBox): GeoJSON.Polygon;
339
+ declare function worldMinusBboxPolygon(bbox: BBox): BboxPolygon;
331
340
 
332
341
  interface GeoJsonGeometry {
333
342
  type: string;
@@ -3016,14 +3025,49 @@ interface RasterDemSource {
3016
3025
  /** The credit a renderer shows for this source (MapLibre's attribution control). */
3017
3026
  attribution?: string;
3018
3027
  }
3028
+ /**
3029
+ * A plain colour raster — CHRT_SEAFLOOR's lossless WebP (ADR 0048). Never
3030
+ * `raster-dem`: the tiles carry one constant colour and the shade amount in
3031
+ * alpha, and no elevation, so nothing can decode a depth out of them and
3032
+ * `map.setTerrain` can never be pointed at them.
3033
+ */
3034
+ interface RasterSource {
3035
+ type: "raster";
3036
+ tiles: string[];
3037
+ tileSize: number;
3038
+ minzoom: number;
3039
+ maxzoom: number;
3040
+ /** The credit a renderer shows for this source (MapLibre's attribution control). */
3041
+ attribution?: string;
3042
+ }
3019
3043
  type VectorSourceSpec = MapboxVectorSource | PmtilesVectorSource;
3020
- type AnySourceSpec = VectorSourceSpec | RasterDemSource;
3044
+ type AnySourceSpec = VectorSourceSpec | RasterDemSource | RasterSource;
3021
3045
  /** CHRTland's vector land base. ADR 0023: its own archive, never chart data. */
3022
3046
  declare const LAND_REGION = "CHRT_LAND";
3023
3047
  /** CHRTland's terrarium relief. */
3024
3048
  declare const RELIEF_REGION = "CHRT_RELIEF";
3025
3049
  /** The world basemap under everything (completing-the-world-map, 2026-08-27). */
3026
3050
  declare const BASE_REGION = "CHRT_BASE";
3051
+ /** CHRTseafloor: seabed shape under the ENC, shading that carries no depth (ADR 0048). */
3052
+ declare const SEAFLOOR_REGION = "CHRT_SEAFLOOR";
3053
+ /**
3054
+ * The credit the CHRT_SEAFLOOR source carries — the builder's own MBTiles
3055
+ * `attribution` (tools/chrtseafloor-build/build.ts), so the archive and the
3056
+ * style name the same sources. NOAA's grids are public domain; GEBCO asks for
3057
+ * this form of credit.
3058
+ */
3059
+ declare const SEAFLOOR_ATTRIBUTION = "Seabed: NOAA OCS BlueTopo, NOAA NCEI CUDEM and Great Lakes Bathymetry, GEBCO Compilation Group (2026)";
3060
+ /**
3061
+ * CHRT_SEAFLOOR's zoom range: the builder's z4–13 (ADR 0048 §8b). Below z4 a
3062
+ * pixel spans more than the shelf, so there is nothing to shade; above z13
3063
+ * MapLibre overzooms the z13 tile. The ADR's target ceiling is z14 — raise
3064
+ * this only after the archive carries it (the coupling rule RELIEF_MAXZOOM
3065
+ * documents: a style zoom must never deploy ahead of its archive).
3066
+ */
3067
+ declare const SEAFLOOR_MINZOOM = 4;
3068
+ declare const SEAFLOOR_MAXZOOM = 13;
3069
+ /** 512 px tiles, as the builder writes them. */
3070
+ declare const SEAFLOOR_TILE_SIZE = 512;
3027
3071
  /**
3028
3072
  * CHRT_BASE's zoom range. 11 is the deepest zoom the archive's detail tier
3029
3073
  * carries honestly — the planet's inland water exists from z9 and is read at
@@ -3133,7 +3177,7 @@ declare const BUILD_PARAM = "v";
3133
3177
  * parameter at all instead of a bare `?v=` that would key its own useless
3134
3178
  * cache namespace.
3135
3179
  */
3136
- declare function tileTemplate(base: string, region: string, extension: "mvt" | "png", buildId?: string): string;
3180
+ declare function tileTemplate(base: string, region: string, extension: "mvt" | "png" | "webp", buildId?: string): string;
3137
3181
  /** Canonical source id used in `generateStyle()` — matches the region name
3138
3182
  * of the one consolidated PMTiles served by the tile-worker for this region. */
3139
3183
  declare const DEFAULT_REGION = "NOAA_ENC";
@@ -3198,6 +3242,12 @@ interface BuildSourcesOptions {
3198
3242
  * no-coverage hatch's companions and everything else; see baseLayers().
3199
3243
  */
3200
3244
  base?: boolean;
3245
+ /**
3246
+ * Emit CHRTseafloor's seabed shading as a `raster` source (ADR 0048). The
3247
+ * style generator draws it directly above the depth-area fills; see
3248
+ * seafloorLayers().
3249
+ */
3250
+ seafloor?: boolean;
3201
3251
  }
3202
3252
  /**
3203
3253
  * Build the "sources" block for a CHRT style.
@@ -3245,6 +3295,13 @@ interface StyleLayer {
3245
3295
  declare function buildLayersForClass(objectClass: string, ct: ColorTableName, sourceId?: string, opts?: {
3246
3296
  safetyContour?: number;
3247
3297
  }): StyleLayer[];
3298
+ /**
3299
+ * How the depth beside a rock, wreck or obstruction (VALSOU) is rounded to
3300
+ * the figure printed. "nearest" (the default) is the served style's form, the
3301
+ * one the danger-depth placement census measured. "down" is ADR 0047's rule:
3302
+ * toward the shallower figure, never a depth the source doesn't carry.
3303
+ */
3304
+ type DangerDepthRounding = "nearest" | "down";
3248
3305
  /**
3249
3306
  * Get the full ordered list of object classes for style generation.
3250
3307
  * Uses S52_DRAW_ORDER as base, then adds any missing classes from the
@@ -3445,7 +3502,9 @@ declare const DEPTH_FIGURE_CLASSES: ReadonlySet<string>;
3445
3502
  declare function contourValueFactor(depthNumbersFactor: number): number;
3446
3503
  /**
3447
3504
  * The font stacks a CHRT glyph host serves (`cloudflare/tile-worker/glyphs/
3448
- * GLYPHS.json`; the test pins this copy to it). There is no Bold.
3505
+ * GLYPHS.json`; the test pins this copy to it). Open Sans has no Bold; Old
3506
+ * Standard TT is CHRTpaper's engraving face (tools/chrt-paper/src/look.ts),
3507
+ * which has no Semibold, so rule A leaves it as it is.
3449
3508
  */
3450
3509
  declare const SERVED_FONT_STACKS: readonly string[];
3451
3510
  /**
@@ -3665,10 +3724,20 @@ interface StyleGeneratorOptions extends BuildSourcesOptions {
3665
3724
  * grey overlay outside the bbox so the lock boundary is still visible
3666
3725
  * to the user (the fallback data is dimmed by the overlay but not
3667
3726
  * filtered out).
3727
+ *
3728
+ * `finestBand` (optional, opt-in; CHRTpaper's band lock) makes the lock
3729
+ * strict: that one source band is the requested band and every coarser
3730
+ * band is the fallback, so nothing finer than it ever draws. Without it
3731
+ * the band's own `CHART_BAND_CODES` / `CHART_CASCADE_CODES` apply, as
3732
+ * CHRTweb has them (Harbor draws Berthing cells too). It also band-gates
3733
+ * the light layers chart mode otherwise emits once for every band (sector
3734
+ * legs and arcs, lamps), so a Harbour light's sectors don't draw on a
3735
+ * Coastal sheet. `band` still names the mode in the style's metadata.
3668
3736
  */
3669
3737
  chartMode?: {
3670
3738
  band: ScaleBand$1;
3671
3739
  lockedBounds?: BBox;
3740
+ finestBand?: BandCode;
3672
3741
  };
3673
3742
  /**
3674
3743
  * Display unit for depth labels (SOUNDG soundings, DEPCNT contour
@@ -3755,6 +3824,14 @@ interface StyleGeneratorOptions extends BuildSourcesOptions {
3755
3824
  * (`ChartCanvas`), and the style routes take `placers=1`.
3756
3825
  */
3757
3826
  dangerDepthPlacers?: boolean;
3827
+ /**
3828
+ * How the depth beside a rock, wreck or obstruction (VALSOU) rounds, in
3829
+ * either unit. "nearest" (default) is the served form, pinned to the danger-
3830
+ * depth placement census (danger-depth-callouts.test.ts). "down" is ADR
3831
+ * 0047's rule, never deeper than the source: whole feet floored, metres
3832
+ * floored to the decimetre. CHRTpaper prints with "down".
3833
+ */
3834
+ dangerDepthRounding?: DangerDepthRounding;
3758
3835
  }
3759
3836
  declare function generateStyle(palette?: ColorTableName, opts?: StyleGeneratorOptions & {
3760
3837
  bandFan?: BandFanMode;
@@ -4246,6 +4323,47 @@ declare function getLabelBehavior(layerName: string): LabelBehavior;
4246
4323
  * relief comes from dropping the LOWEST rung in a pile-up, never the top.
4247
4324
  */
4248
4325
  declare const LABEL_PRIORITY: Record<string, number>;
4326
+ /**
4327
+ * Priority slot for the NAME of a light's tower ("Minots Ledge Light
4328
+ * (conspic)") — the LNDMRK label's second scoped exception to its 400 rung.
4329
+ *
4330
+ * ── What it fixes ─────────────────────────────────────────────────────────
4331
+ *
4332
+ * The light characteristic ("Fl(1+4+3) W 45s 26m 10M") rides LIGHTS at 100
4333
+ * and always places; the name rides the tower (LNDMRK) at 400, placed after
4334
+ * every sounding, and needs room for two lines clear of the tower. Measured
4335
+ * on staging's NOAA_ENC build bf90d461 with MapLibre Native, a view centred
4336
+ * on each of the 37 named lights around Boston and Penobscot Bay: 13 named
4337
+ * none at z14 and 18 at z12 — Minots Ledge, Cape Ann, Eastern Point and Deer
4338
+ * Island among them. A collision-off control printed every one, so the data
4339
+ * was there; the name lost the space. Owner, 2026-10-30: "some who's names
4340
+ * aren't printing".
4341
+ *
4342
+ * ── Why 270, and why that is still safe ───────────────────────────────────
4343
+ *
4344
+ * 100 lights / hazard callouts / clearances untouched
4345
+ * 200 nav-aid designations untouched
4346
+ * 250 fog signals untouched
4347
+ * 270 the name of a light's tower ← here
4348
+ * 280 MAJOR water-area names
4349
+ * 300 soundings, contour values
4350
+ *
4351
+ * Same argument as MAJOR_WATER_LABEL_PRIORITY: the only rungs it outranks are
4352
+ * a bay name and the individually droppable depth field, and there is one
4353
+ * light where there are hundreds of soundings. Above the bay names because a
4354
+ * lighthouse is a point a reader takes a bearing on and a bay name can sit
4355
+ * anywhere in the bay.
4356
+ */
4357
+ declare const LIGHTHOUSE_NAME_LABEL_PRIORITY = 270;
4358
+ /**
4359
+ * The towers that hoist to LIGHTHOUSE_NAME_LABEL_PRIORITY: FUNCTN 33, S-57's
4360
+ * own "light support", AND a name. Not a spatial join to LIGHTS — the tile
4361
+ * carries none — and not a name match: on the bf90d461 sample (Boston and
4362
+ * Penobscot Bay, z14) FUNCTN 33 is on all 24 towers that carry a light. A
4363
+ * nameless light support still labels "Tower (conspic)", which is a category,
4364
+ * not a mark to find, so it stays at 400.
4365
+ */
4366
+ declare const LIGHTHOUSE_NAME_FILTER: unknown[];
4249
4367
  /**
4250
4368
  * Resolve the priority rank for an S-57 class's label. Orientation classes
4251
4369
  * report 900 regardless of ladder membership (PRDARE etc.) so the
@@ -4285,6 +4403,12 @@ declare function buildLabelLayer(layerId: string, sourceId: string, config: Labe
4285
4403
  * Pre-process SOUNDG GeoJSON to extract Z coordinates as `depth` properties.
4286
4404
  * Soundings are MultiPoint with Z values in geometry.coordinates[][2].
4287
4405
  * This explodes MultiPoints into individual Points with a `depth` property.
4406
+ *
4407
+ * The depth is FLOORED to the decimetre, never rounded: a sounding states
4408
+ * the shallower figure (ADR 0047). For decimetre source data — S-57 SOUNDG
4409
+ * is stored with SOMF 10 — this is the identity; it only bites on finer
4410
+ * values, and a drying sounding (negative) floors to the larger drying
4411
+ * height, which is the safe side there too.
4288
4412
  */
4289
4413
  declare function preprocessSoundings(fc: GeoJSON.FeatureCollection): GeoJSON.FeatureCollection;
4290
4414
  /**
@@ -5167,6 +5291,71 @@ declare const BUILD_MAXZOOM = 14;
5167
5291
  */
5168
5292
  declare const LAND_BUILD_MAXZOOM = 14;
5169
5293
 
5294
+ /**
5295
+ * CHRTseafloor's one layer (ADR 0048): seabed shape under the ENC, as shading
5296
+ * that carries no depth.
5297
+ *
5298
+ * ── What the tiles are ─────────────────────────────────────────────────────
5299
+ *
5300
+ * 512 px lossless WebP whose RGB is ONE constant colour and whose alpha is the
5301
+ * shade amount, masked at build time to charted water. So the layer is a plain
5302
+ * `raster`, never `raster-dem`: there is no elevation in the bytes for MapLibre
5303
+ * to decode, and nothing can point `setTerrain` at it.
5304
+ *
5305
+ * ── Why it only ever errs shallow ──────────────────────────────────────────
5306
+ *
5307
+ * The bake is shadow only, in a colour on the SHALLOW side of every water tint,
5308
+ * so compositing it can only move a depth area toward the next-shallower band.
5309
+ * Its strength is capped by depth at build time so the safety contour stays a
5310
+ * colour edge (ADR 0048 §4). The paint below is the other half of that promise
5311
+ * and `seafloor-layers.test.ts` holds both halves against the S-52 palettes.
5312
+ *
5313
+ * DAY and DUSK draw the bake as is. NIGHT's depth ramp runs the other way (deep
5314
+ * water darkest), so "toward shallow" means LIGHTER there: the same tiles are
5315
+ * lifted with `raster-brightness-min` until they sit on the light side of every
5316
+ * NIGHT water tint. One bake, three themes, never a second archive.
5317
+ *
5318
+ * ── Where it goes ──────────────────────────────────────────────────────────
5319
+ *
5320
+ * Directly above the depth-area fills and below everything else (ADR 0048 §5):
5321
+ * shading is part of the water ground, never on top of a contour, sounding or
5322
+ * symbol. `style-generator.ts` places it.
5323
+ *
5324
+ * ── E-ink draws none ───────────────────────────────────────────────────────
5325
+ *
5326
+ * A continuous alpha ramp is what an e-ink panel cannot show, for the reason
5327
+ * CHRTland's hillshade is off there (`exaggeration: 0`, land-layers.ts).
5328
+ */
5329
+
5330
+ /** The one layer id. NOT `chrtland-`: that prefix is hoisted onto the land stack. */
5331
+ declare const SEAFLOOR_LAYER_ID = "chrtseafloor-shade";
5332
+ /**
5333
+ * What the tiles were baked with — the builder's `SHADE` defaults
5334
+ * (tools/chrtseafloor-build/shade.ts). Restated here because the SDK cannot
5335
+ * import from `tools/`; the colour gate needs them to model the composite.
5336
+ *
5337
+ * - `rgb`: #2f4858 slate, L* 29.
5338
+ * - `kneeAlpha`: the most alpha water at or above the protected safety
5339
+ * contour carries. DAY binds at 17; the bake uses 16.
5340
+ * - `protectedSafetyContourM`: CHRT's default safety contour, 10 m (owner
5341
+ * decision, 2026-10-26). The gate holds every setting from 1 m to this.
5342
+ * - `alphaMax`: the ceiling, reached at 30 m.
5343
+ */
5344
+ declare const SEAFLOOR_BAKE: Readonly<{
5345
+ rgb: readonly [47, 72, 88];
5346
+ kneeAlpha: 16;
5347
+ protectedSafetyContourM: 10;
5348
+ alphaMax: 90;
5349
+ }>;
5350
+ /** Per-theme raster paint. The single source of these values (ADR 0048 §5). */
5351
+ declare const SEAFLOOR_THEME_PAINT: Readonly<Record<"DAY" | "DUSK" | "NIGHT", {
5352
+ "raster-brightness-min": number;
5353
+ "raster-brightness-max": number;
5354
+ "raster-opacity": number;
5355
+ }>>;
5356
+ /** The seafloor layer for a palette, or none for the e-ink tables. */
5357
+ declare function seafloorLayers(palette?: ColorTableName): StyleLayer[];
5358
+
5170
5359
  /**
5171
5360
  * The CHRT_BASE BUNDLE — the app-embeddable world basemap, and the style
5172
5361
  * surgery that draws a chart over it with no network at all (CHRTsail #814).
@@ -6061,4 +6250,4 @@ declare class Chrt {
6061
6250
  warmTiles(region?: string): Promise<TileTokenResponse>;
6062
6251
  }
6063
6252
 
6064
- 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_CODE_ALIASES, BAND_DRAW_ORDER, BAND_PRIORITY_RANGES, BASE_ATTRIBUTION, BASE_BUNDLE_ATTRIBUTION, BASE_BUNDLE_ID, BASE_BUNDLE_MAXZOOM, BASE_BUNDLE_SCHEMA, BASE_BUNDLE_SOURCE_LAYERS, BASE_CLIENT_RASTER_BEFORE_ID, BASE_MAXZOOM, BASE_MINZOOM, BASE_REGION, type BBox, BRIDGE_QUERY_LAYERS, BUILD_MAXZOOM, BUILD_MINZOOM, BUILD_PARAM, type BandCode, type BandPriorityRange, type BridgeInspectResult, type BuildOfflineStyleOptions, type BuildSourcesOptions, CHART_BAND_CODES, CHART_CASCADE_CODES, CHART_SECTIONS, CHART_SOUNDINGS_RULE, CHART_SYMBOL_SCALE, CHART_SYMBOL_SIZES, CHART_SYMBOL_SIZE_LABELS, CHART_SYMBOL_SIZE_REACH, CHART_SYMBOL_SIZE_WIRE, 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, type ChartSoundingsRule, type ChartSymbolScales, type ChartSymbolSize, 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, DANGER_DEPTH_LABEL_ID, DANGER_DEPTH_PLACER_ID, DANGER_DEPTH_PLACER_LAYOUT, DANGER_DEPTH_VISIBLE_LAYOUT, 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, DEPARE_FILL_BRANCH_TOKENS, DEPARE_FILL_FALLBACK_TOKEN, DEPTH_FIGURE_CLASSES, DRAPEABLE_LAYER_TYPES, type DecodeNavAidOptions, type DecodedAreaFeature, type DecodedBridge, type DecodedDayboard, type DecodedNavAid, type DecodedProperty, type DisplayCategory, type DisplayMode, EINK_DANGER_PATTERN, EINK_DOTS_PATTERN, EINK_HATCH_PATTERN, type FeatureCollection, type FeaturesOptions, type FetchStyleOptions, FileSystemAdapter, type FlashPattern, type FlashPhase, type GenerateCustomStyleOptions, type GeneratedCustomStyle, type GeoJsonFeature, type GeoJsonGeometry, type GeomType, HAZARD_LABEL_PRIORITY, INSPECT_CLASS_RANK, INSPECT_RANK_DEVIATIONS, IS_SECTOR_LIGHT, 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, LAMP_CORE_LAYER_ID, LAMP_GLOW_LAYER_ID, LAMP_LAYER_IDS, LAMP_TICK_MS, LAND_ATTRIBUTION, LAND_BUILD_MAXZOOM, LAND_REGION, LAND_TEXT_CLASSES, LIGHT_LABEL_FEET_PER_METRE, type LabelBehavior, type LabelConfigOptions, type LabelLayerConfig, type LabelSettings, type LampLayer, type LightDescriptionOptions, type LightHeightUnits, type LookupEntry, MAPLIBRE_DEFAULT_TEXT_PADDING_PX, type MapLibreStyle, type MapboxStyle, type MapboxVectorSource, type MarineAlert, type MarineAlertsOptions, type MarineAlertsResponse, type MarineConditionsObservation, type MarineConditionsOptions, type MarineConditionsResponse, type MarineConditionsSeries, 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, NIGHT_INK, NIGHT_MUTED_INK, NON_SOLAS_DISCLAIMER, NON_SOLAS_DISCLAIMER_SHORT, type NauticalCategory, type NauticalSymbol, type NavAidInspectResult, type NavAidSettings, type NearbyMarineStation, OPAQUE_SPLIT_OF, OUTRANK_LABELS, type OfflineBundleResponse, type OfflineDownloadOptions, type OfflineDownloadProgress, type OfflineDownloadResult, OfflineError, type OfflineErrorCode, type OfflineFetchStyleOptions, type OfflineHeartbeatOptions, type OfflineRegionSummary, type OfflineRemoveOptions, OfflineStyleError, type OfflineStylePlatform, type OfflineStyleResponse, PLACENAME_LAND_CLASSES, PLACENAME_SOURCE_LAYER, PLACENAME_WATER_CLASSES, type ParsedSigseqTerms, type PmtilesVectorSource, type Poi, type PoiCoverage, type PoiDataset, type PoiOptions, type PoiResponse, type QueryFeatureProperties, type QueryOptions, type QueryResponse, RASTER_ATON_CLASSES, RASTER_GLYPH_NAMES, RASTER_ICON_PREFIX, RELIEF_ATTRIBUTION, RELIEF_ENCODING, RELIEF_REGION, RELIEF_TILE_SIZE, type ResolvedStyle, type ResolvedTheme, type S101ArtworkProvenance, type S101Feature, S101_AREA_FILL_NAMES, S101_CHART_SECTIONS, S101_FEATURES, S101_ICON_PREFIX, S101_LINE_STYLE_NAMES, S101_NEW_SYMBOLS, S101_NO_OFFICIAL_COUNTERPART, 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, SECTOR_ARC_LAYER_IDS, SECTOR_LEG_LAYER_IDS, SECTOR_LIGHT_LAYER_IDS, SERVED_FONT_STACKS, SERVED_SOUNDING_PADDING_PX, SIGPER_TOLERANCE_SECONDS, SIGSEQ_MAX_TERMS, SOUNDING_LAYERS, SOUNDING_PADDING_PER_FACTOR, STANDARD_CHART_SYMBOL_SCALES, STATUS_EXTINGUISHED, SYMBOL_ANNOTATION_TEXT_CLASSES, SYMBOL_GROUPS, SYMBOL_MAP, type ScaleBand, type SearchCoverageNotice, type SearchHit, type SearchOptions, type SearchResponse, type SectorArcFeature, type SectorArcFeatureCollection, type SectorInfo, type SigseqRefusal, type SigseqTerm, type SoundingSettings, type SourceMode, type StyleGeneratorOptions, type StyleLayer, type StyleUrlOptions, type SymbolGroup, TileAuth, type TileGroup, type TileGroupsResponse, TileTokenError, type TileTokenErrorCode, type TileTokenResponse, type TransformRequest, type TransformedRequest, type VectorSourceSpec, type VesselProfile, WATER_BODY_LAYER_GROUPS, WATER_TEXT_CLASSES, type WaterBodySettings, WeatherEndpoint, type WeatherReading, type WebhookEvent, type WebhookEventType, type WebhookPayload, addDangerDepthPlacers, applyBaseBundle, applyChartSymbolScales, applyChartSymbolScalesToLayer, applyChrtSymbolSet, applyColorTheme, applyCustomStyleSettings, applyEinkPortrayal, applyRasterSymbolSet, applyS101SymbolSet, atonIconExpression, bandFilterExpression, buildAirportTierExpression, buildBuiltUpAreaTierExpression, buildFlashPattern, buildLabelLayer, buildLakeTierExpression, buildLampLayers, buildLandAreaTierExpression, buildLandRegionTierExpression, buildLayersForClass, buildOfflineStyle, buildPlaceNameLayers, buildRiverTierExpression, buildSeaAreaTierExpression, buildSectorArcGeoJSON, buildSectorArcsFC, buildSectorLightLayers, buildSectorsFromFeatures, buildSources, candidateRank, capLuminance, cellBandCharacters, cellBandMatch, chartSymbolSizingCensus, chrtAtonTintExpression, chrtHouseColor, chrtLightTintExpression, clampChartSymbolScale, collectCandidates, collectClickCandidates, combineWithBandFilter, contourValueFactor, contrastRatio, copyLightDescriptionAttributes, dangerDepthPlacerId, daymarkColor, decimateFeatures, decodeAreaFeatureProps, decodeBridgeProps, decodeCandidate, decodeChartSymbolScale, decodeNavAidProps, demotedBelowSoundings, depareColor, depareFillExpression, depthAreaClassLayerId, depthAreaSplitIds, deriveMarinerName, drapeHalves, drapedFirst, extinguishedLightExpression, extractNavAidDesignation, featureIdentity, formatDayboard, formatLightDescription, formatLightRhythm, fromZoom, 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, haloFactor, hazardColor, hazardFillExpression, iconSliderFor, isDangerDepthPlacer, isDepthAreaClassLayerId, isDrapeable, isExtinguishedLight, isLabelLayerVisible, isMapLive, isNavAidLayer, isNavAidLayerVisible, isSectorSpriteId, isSoundingLayerVisible, isValidSiggrp, isVisibleInMode, isWaterBodyLayerVisible, keptAboveSoundings, labelSortKey, lampRhythmColour, lampRhythmOpacity, lateralColor, lateralFillExpression, lightCharacterText, lightColor, lightColourText, lightDescriptionExpression, lightDescriptionProps, lightFillExpression, lightHeightText, lightsIconExpression, normalizeStyleMode, normalizeTheme, opaqueSplitBaseOf, paginate, parseListCodes, parseSigseqTerms, parseWebhook, patternSpriteId, preprocessLights, preprocessNavAids, preprocessSoundings, preprocessWaterBodies, rasterAtonIconExpression, relativeLuminance, resolveCustomTheme, resolveRasterImage, resolveS101Color, resolveStyle, resolveTargetClass, rhythmProperties, s101ArtworkProvenance, safetyContourValues, sanitizeCustomStyleConfig, scaleLinearLight, scaleSizeExpression, scaleSizeValue, scaminToMinZoom, sectorLimitToArcBearing, semiboldFontStack, snapChartSymbolScale, soundingPadding, soundingPaddingValue, splitOpaqueDepthAreas, stepChartSymbolScale, styleModeBand, terrainStackCount, textSliderFor, themeChrtGlyph, tileTemplate, uncoveredSectorArcs, withinBboxFilter, worldMinusBboxPolygon };
6253
+ 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_CODE_ALIASES, BAND_DRAW_ORDER, BAND_PRIORITY_RANGES, BASE_ATTRIBUTION, BASE_BUNDLE_ATTRIBUTION, BASE_BUNDLE_ID, BASE_BUNDLE_MAXZOOM, BASE_BUNDLE_SCHEMA, BASE_BUNDLE_SOURCE_LAYERS, BASE_CLIENT_RASTER_BEFORE_ID, BASE_MAXZOOM, BASE_MINZOOM, BASE_REGION, type BBox, BRIDGE_QUERY_LAYERS, BUILD_MAXZOOM, BUILD_MINZOOM, BUILD_PARAM, type BandCode, type BandPriorityRange, type BridgeInspectResult, type BuildOfflineStyleOptions, type BuildSourcesOptions, CHART_BAND_CODES, CHART_CASCADE_CODES, CHART_SECTIONS, CHART_SOUNDINGS_RULE, CHART_SYMBOL_SCALE, CHART_SYMBOL_SIZES, CHART_SYMBOL_SIZE_LABELS, CHART_SYMBOL_SIZE_REACH, CHART_SYMBOL_SIZE_WIRE, 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, type ChartSoundingsRule, type ChartSymbolScales, type ChartSymbolSize, 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, DANGER_DEPTH_LABEL_ID, DANGER_DEPTH_PLACER_ID, DANGER_DEPTH_PLACER_LAYOUT, DANGER_DEPTH_VISIBLE_LAYOUT, 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, DEPARE_FILL_BRANCH_TOKENS, DEPARE_FILL_FALLBACK_TOKEN, DEPTH_FIGURE_CLASSES, DRAPEABLE_LAYER_TYPES, type DecodeNavAidOptions, type DecodedAreaFeature, type DecodedBridge, type DecodedDayboard, type DecodedNavAid, type DecodedProperty, type DisplayCategory, type DisplayMode, EINK_DANGER_PATTERN, EINK_DOTS_PATTERN, EINK_HATCH_PATTERN, type FeatureCollection, type FeaturesOptions, type FetchStyleOptions, FileSystemAdapter, type FlashPattern, type FlashPhase, type GenerateCustomStyleOptions, type GeneratedCustomStyle, type GeoJsonFeature, type GeoJsonGeometry, type GeomType, HAZARD_LABEL_PRIORITY, INSPECT_CLASS_RANK, INSPECT_RANK_DEVIATIONS, IS_SECTOR_LIGHT, 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, LAMP_CORE_LAYER_ID, LAMP_GLOW_LAYER_ID, LAMP_LAYER_IDS, LAMP_TICK_MS, LAND_ATTRIBUTION, LAND_BUILD_MAXZOOM, LAND_REGION, LAND_TEXT_CLASSES, LIGHTHOUSE_NAME_FILTER, LIGHTHOUSE_NAME_LABEL_PRIORITY, LIGHT_LABEL_FEET_PER_METRE, type LabelBehavior, type LabelConfigOptions, type LabelLayerConfig, type LabelSettings, type LampLayer, type LightDescriptionOptions, type LightHeightUnits, type LookupEntry, MAPLIBRE_DEFAULT_TEXT_PADDING_PX, type MapLibreStyle, type MapboxStyle, type MapboxVectorSource, type MarineAlert, type MarineAlertsOptions, type MarineAlertsResponse, type MarineConditionsObservation, type MarineConditionsOptions, type MarineConditionsResponse, type MarineConditionsSeries, 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, NIGHT_INK, NIGHT_MUTED_INK, NON_SOLAS_DISCLAIMER, NON_SOLAS_DISCLAIMER_SHORT, type NauticalCategory, type NauticalSymbol, type NavAidInspectResult, type NavAidSettings, type NearbyMarineStation, OPAQUE_SPLIT_OF, OUTRANK_LABELS, type OfflineBundleResponse, type OfflineDownloadOptions, type OfflineDownloadProgress, type OfflineDownloadResult, OfflineError, type OfflineErrorCode, type OfflineFetchStyleOptions, type OfflineHeartbeatOptions, type OfflineRegionSummary, type OfflineRemoveOptions, OfflineStyleError, type OfflineStylePlatform, type OfflineStyleResponse, PLACENAME_LAND_CLASSES, PLACENAME_SOURCE_LAYER, PLACENAME_WATER_CLASSES, type ParsedSigseqTerms, type PmtilesVectorSource, type Poi, type PoiCoverage, type PoiDataset, type PoiOptions, type PoiResponse, type QueryFeatureProperties, type QueryOptions, type QueryResponse, RASTER_ATON_CLASSES, RASTER_GLYPH_NAMES, RASTER_ICON_PREFIX, RELIEF_ATTRIBUTION, RELIEF_ENCODING, RELIEF_REGION, RELIEF_TILE_SIZE, type ResolvedStyle, type ResolvedTheme, type S101ArtworkProvenance, type S101Feature, S101_AREA_FILL_NAMES, S101_CHART_SECTIONS, S101_FEATURES, S101_ICON_PREFIX, S101_LINE_STYLE_NAMES, S101_NEW_SYMBOLS, S101_NO_OFFICIAL_COUNTERPART, 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, SEAFLOOR_ATTRIBUTION, SEAFLOOR_BAKE, SEAFLOOR_LAYER_ID, SEAFLOOR_MAXZOOM, SEAFLOOR_MINZOOM, SEAFLOOR_REGION, SEAFLOOR_THEME_PAINT, SEAFLOOR_TILE_SIZE, SECTOR_ARC_LAYER_IDS, SECTOR_LEG_LAYER_IDS, SECTOR_LIGHT_LAYER_IDS, SERVED_FONT_STACKS, SERVED_SOUNDING_PADDING_PX, SIGPER_TOLERANCE_SECONDS, SIGSEQ_MAX_TERMS, SOUNDING_LAYERS, SOUNDING_PADDING_PER_FACTOR, STANDARD_CHART_SYMBOL_SCALES, STATUS_EXTINGUISHED, SYMBOL_ANNOTATION_TEXT_CLASSES, SYMBOL_GROUPS, SYMBOL_MAP, type ScaleBand, type SearchCoverageNotice, type SearchHit, type SearchOptions, type SearchResponse, type SectorArcFeature, type SectorArcFeatureCollection, type SectorInfo, type SigseqRefusal, type SigseqTerm, type SoundingSettings, type SourceMode, type StyleGeneratorOptions, type StyleLayer, type StyleUrlOptions, type SymbolGroup, TileAuth, type TileGroup, type TileGroupsResponse, TileTokenError, type TileTokenErrorCode, type TileTokenResponse, type TransformRequest, type TransformedRequest, type VectorSourceSpec, type VesselProfile, WATER_BODY_LAYER_GROUPS, WATER_TEXT_CLASSES, type WaterBodySettings, WeatherEndpoint, type WeatherReading, type WebhookEvent, type WebhookEventType, type WebhookPayload, addDangerDepthPlacers, applyBaseBundle, applyChartSymbolScales, applyChartSymbolScalesToLayer, applyChrtSymbolSet, applyColorTheme, applyCustomStyleSettings, applyEinkPortrayal, applyRasterSymbolSet, applyS101SymbolSet, atonIconExpression, bandFilterExpression, buildAirportTierExpression, buildBuiltUpAreaTierExpression, buildFlashPattern, buildLabelLayer, buildLakeTierExpression, buildLampLayers, buildLandAreaTierExpression, buildLandRegionTierExpression, buildLayersForClass, buildOfflineStyle, buildPlaceNameLayers, buildRiverTierExpression, buildSeaAreaTierExpression, buildSectorArcGeoJSON, buildSectorArcsFC, buildSectorLightLayers, buildSectorsFromFeatures, buildSources, candidateRank, capLuminance, cellBandCharacters, cellBandMatch, chartSymbolSizingCensus, chrtAtonTintExpression, chrtHouseColor, chrtLightTintExpression, clampChartSymbolScale, collectCandidates, collectClickCandidates, combineWithBandFilter, contourValueFactor, contrastRatio, copyLightDescriptionAttributes, dangerDepthPlacerId, daymarkColor, decimateFeatures, decodeAreaFeatureProps, decodeBridgeProps, decodeCandidate, decodeChartSymbolScale, decodeNavAidProps, demotedBelowSoundings, depareColor, depareFillExpression, depthAreaClassLayerId, depthAreaSplitIds, deriveMarinerName, drapeHalves, drapedFirst, extinguishedLightExpression, extractNavAidDesignation, featureIdentity, formatDayboard, formatLightDescription, formatLightRhythm, fromZoom, 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, haloFactor, hazardColor, hazardFillExpression, iconSliderFor, isDangerDepthPlacer, isDepthAreaClassLayerId, isDrapeable, isExtinguishedLight, isLabelLayerVisible, isMapLive, isNavAidLayer, isNavAidLayerVisible, isSectorSpriteId, isSoundingLayerVisible, isValidSiggrp, isVisibleInMode, isWaterBodyLayerVisible, keptAboveSoundings, labelSortKey, lampRhythmColour, lampRhythmOpacity, lateralColor, lateralFillExpression, lightCharacterText, lightColor, lightColourText, lightDescriptionExpression, lightDescriptionProps, lightFillExpression, lightHeightText, lightsIconExpression, normalizeStyleMode, normalizeTheme, opaqueSplitBaseOf, paginate, parseListCodes, parseSigseqTerms, parseWebhook, patternSpriteId, preprocessLights, preprocessNavAids, preprocessSoundings, preprocessWaterBodies, rasterAtonIconExpression, relativeLuminance, resolveCustomTheme, resolveRasterImage, resolveS101Color, resolveStyle, resolveTargetClass, rhythmProperties, s101ArtworkProvenance, safetyContourValues, sanitizeCustomStyleConfig, scaleLinearLight, scaleSizeExpression, scaleSizeValue, scaminToMinZoom, seafloorLayers, sectorLimitToArcBearing, semiboldFontStack, snapChartSymbolScale, soundingPadding, soundingPaddingValue, splitOpaqueDepthAreas, stepChartSymbolScale, styleModeBand, terrainStackCount, textSliderFor, themeChrtGlyph, tileTemplate, uncoveredSectorArcs, withinBboxFilter, worldMinusBboxPolygon };