@kineviz/gl 0.4.9 → 0.5.1

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.ts CHANGED
@@ -2851,6 +2851,18 @@ declare class GPUNodeRenderer {
2851
2851
  * Initialize the renderer - create geometry, material, and mesh
2852
2852
  */
2853
2853
  init(): void;
2854
+ /**
2855
+ * Grow the hover-dim shadow arrays to cover `count` nodes. They are sized at
2856
+ * geometry-build time, but nodes can be ADDED between rebuilds — e.g. a data
2857
+ * load while the map is on, which then PINS the new nodes → a nodeFlags
2858
+ * rewrite. The flag packing reads `hoverDimStarts[i] * 32`; if the array is
2859
+ * stale (shorter than the current node count), `starts[i]` is `undefined`, so
2860
+ * `undefined * 32 = NaN` poisons nodeFlags for the new nodes — and the vertex
2861
+ * shader (which does `mod(nodeFlags, …)` throughout) then paints zero
2862
+ * fragments, so those nodes vanish even though they're correctly positioned.
2863
+ * New slots default to 0 ("never animated"), which is the correct value.
2864
+ */
2865
+ private ensureHoverArrays;
2854
2866
  /**
2855
2867
  * Create instanced buffer geometry with all required attributes.
2856
2868
  * Allocates at CAPACITY (not count) so deletion doesn't need geometry rebuild.
@@ -10124,6 +10136,146 @@ declare class FilterApi {
10124
10136
  filterByNeighborhood(_nodeId: string, _depth?: number): never;
10125
10137
  }
10126
10138
 
10139
+ /** Whether the timeline bins nodes or edges. */
10140
+ type TimelineTarget = "node" | "edge";
10141
+ /**
10142
+ * How a bar's height is computed.
10143
+ *
10144
+ * v1 ships `count` only (number of elements per bucket). Numeric aggregates
10145
+ * (`sum` / `avg` / `max` of a property) are a deliberate phase-2 extension —
10146
+ * see the design spec's "Out of scope" section.
10147
+ */
10148
+ type TimelineMeasure = {
10149
+ kind: "count";
10150
+ };
10151
+ /**
10152
+ * Fully describes how to project graph elements onto the time axis.
10153
+ *
10154
+ * Because graph data has many node categories and many properties, binning is
10155
+ * not implicit — the caller must say which element kind, which date property,
10156
+ * and at what granularity.
10157
+ */
10158
+ interface BinningSource {
10159
+ /** Bin nodes or edges. Time most often lives on edges (relationships/events). */
10160
+ target: TimelineTarget;
10161
+ /**
10162
+ * Restrict to these categories (when `target === "node"`) or relationship
10163
+ * types (when `target === "edge"`). Empty / undefined = all.
10164
+ */
10165
+ categories?: string[];
10166
+ /** Property key in `element.properties` holding the date/datetime value. */
10167
+ property: string;
10168
+ /** Bucket width. */
10169
+ granularity: DateGranularity;
10170
+ /** Height measure. Defaults to `{ kind: "count" }`. */
10171
+ measure?: TimelineMeasure;
10172
+ }
10173
+ /** One time bucket. Timestamps are milliseconds since the Unix epoch. */
10174
+ interface Bin {
10175
+ /** Bucket start (inclusive). */
10176
+ start: number;
10177
+ /** Bucket end (exclusive) = `nextGranularity(start)`. */
10178
+ end: number;
10179
+ /** Aggregate value for the bucket (count in v1). */
10180
+ count: number;
10181
+ /** Pre-formatted label for axis ticks / tooltips. */
10182
+ label: string;
10183
+ }
10184
+
10185
+ /** A pinned point-in-time marker (the gold flags). */
10186
+ interface TimelineAnnotation {
10187
+ id: string;
10188
+ /** Timestamp in ms. */
10189
+ t: number;
10190
+ label?: string;
10191
+ /** CSS color; defaults to the gold flag color in the UI. */
10192
+ color?: string;
10193
+ }
10194
+ /** Options forwarded to the underlying filter playback. */
10195
+ interface TimelinePlayOptions {
10196
+ /** Window size in granularity units (default 1). */
10197
+ windowSize?: number;
10198
+ /** Units advanced per frame (default 1). */
10199
+ step?: number;
10200
+ /** Total playback duration in ms. */
10201
+ durationMs?: number;
10202
+ /** Loop at the end. */
10203
+ loop?: boolean;
10204
+ /** Window behaviour: slide (default), expand, or shrink. */
10205
+ mode?: "slide" | "expand" | "shrink";
10206
+ }
10207
+ /**
10208
+ * Timeline (Time Bar) state + bridge.
10209
+ *
10210
+ * Owns the timeline's configuration (binning source), the brushed range, the
10211
+ * point cursor, and annotations. It is the *visualization front-end* over the
10212
+ * existing date-range filter and playback — it never reaches into the private
10213
+ * {@link GraphFilterManager}:
10214
+ *
10215
+ * - `setRange` creates / updates a `dateRange` {@link FilterHandle} (edge or
10216
+ * node sugar), so brushing a window filters the graph.
10217
+ * - `play` / `pause` / `stop` delegate to `api.filter.playback`.
10218
+ * - bins come from the pure {@link computeTimeBins} over the live store.
10219
+ *
10220
+ * The React `<Timeline>` component renders this; headless callers (and Agent
10221
+ * 2.0) can drive the same state programmatically.
10222
+ */
10223
+ declare class TimelineApi {
10224
+ private readonly store;
10225
+ private readonly filter;
10226
+ private source;
10227
+ private range;
10228
+ private cursor;
10229
+ private handle;
10230
+ private playTimer;
10231
+ private readonly annotations;
10232
+ private nextAnnId;
10233
+ private readonly rangeSubs;
10234
+ private readonly cursorSubs;
10235
+ constructor(store: GraphStore, filter: FilterApi);
10236
+ /** Set the binning source. Drops any active range filter (it may now target a different kind/property). */
10237
+ setSource(source: BinningSource): void;
10238
+ getSource(): BinningSource | null;
10239
+ /**
10240
+ * Pick a binning source automatically: prefer edges (time usually lives on
10241
+ * relationships), choosing the first property whose values parse as dates.
10242
+ * Returns and stores the detected source, or null when none is found.
10243
+ */
10244
+ autoDetectSource(): BinningSource | null;
10245
+ getBins(): Bin[];
10246
+ getDomain(): [number, number] | null;
10247
+ /** Set (or clear, with null) the brushed time window. */
10248
+ setRange(range: [number, number] | null): void;
10249
+ getRange(): [number, number] | null;
10250
+ onRangeChange(cb: (r: [number, number] | null) => void): () => void;
10251
+ setCursor(t: number | null): void;
10252
+ getCursor(): number | null;
10253
+ onCursorChange(cb: (t: number | null) => void): () => void;
10254
+ /**
10255
+ * Animate the brushed window across the domain. Preserves the user's adjusted
10256
+ * window — both its WIDTH and its starting position — sliding it forward and
10257
+ * filtering the graph + moving the band at each step. Loops back to the domain
10258
+ * start when `loop` is set; otherwise stops at the end.
10259
+ *
10260
+ * Self-driven rather than delegated to the filter manager's playback, whose
10261
+ * windows always restart from the domain start at a fixed granularity width —
10262
+ * which would discard the user's adjusted range.
10263
+ */
10264
+ play(opts?: TimelinePlayOptions): void;
10265
+ /** Pause playback, keeping the current window position (call `play` again to resume). */
10266
+ pause(): void;
10267
+ /** Stop playback, keeping the current window (use `setRange(null)` to clear it). */
10268
+ stop(): void;
10269
+ private stopTimer;
10270
+ addAnnotation(a: {
10271
+ t: number;
10272
+ label?: string;
10273
+ color?: string;
10274
+ }): string;
10275
+ removeAnnotation(id: string): void;
10276
+ getAnnotations(): TimelineAnnotation[];
10277
+ }
10278
+
10127
10279
  /**
10128
10280
  * EffectManager — Orchestrates persistent shader-driven visual effects.
10129
10281
  *
@@ -13456,6 +13608,7 @@ declare class MapApi {
13456
13608
  private _cloudScene;
13457
13609
  private _camera;
13458
13610
  private _globeControl;
13611
+ private _layoutController;
13459
13612
  private _mapSize;
13460
13613
  private _globeRadius;
13461
13614
  private _cameraZ;
@@ -13527,6 +13680,21 @@ declare class MapApi {
13527
13680
  * @internal
13528
13681
  */
13529
13682
  wireInteraction(interaction: InteractionManager | null): void;
13683
+ /**
13684
+ * Late-bind the live force-layout controller (the GPU/WebGPU adapter).
13685
+ * Forwarded from `RenderEngineApi.wireLayoutController()`. Used by
13686
+ * `_reheatLayout()` to restart the sim on Hide Map via a handle that is
13687
+ * stable across positionProvider swaps. Pass null on unmount.
13688
+ *
13689
+ * @internal
13690
+ */
13691
+ wireLayoutController(lc: {
13692
+ c?: {
13693
+ _enable?: boolean;
13694
+ };
13695
+ restart?: () => void;
13696
+ start?: () => void;
13697
+ } | null): void;
13530
13698
  /**
13531
13699
  * Late-bind scene objects required for view control methods.
13532
13700
  * Called from GraphContext after the scene is constructed.
@@ -13646,9 +13814,18 @@ declare class MapApi {
13646
13814
  * place), NOT `startLayout()`: startLayout does a full dispose+buildSimulation
13647
13815
  * that re-seeds pin state from the stale `graph.layoutNodes[].pinned` mirror
13648
13816
  * (which is never set for geo), which would UNPIN geo and break the map
13649
- * projection. Routed through the provider's layoutController (the WebGPU /
13650
- * CPU-adapter wiring); falls back to the legacy `_layoutRuntime` sim handle
13651
- * for the d3 engine.
13817
+ * projection.
13818
+ *
13819
+ * Controller lookup order:
13820
+ * 1. The wired layout controller (`wireLayoutController`) — the STABLE
13821
+ * handle. This is required: Show Map's stopLayout() swaps
13822
+ * `store.positionProvider` to a frozen StaticPositionProvider that has no
13823
+ * `layoutController`, so the provider path below finds nothing after a
13824
+ * map show/hide cycle (the "Hide Map → force layout dead, even in a new
13825
+ * view" bug — the controller is a cross-view singleton).
13826
+ * 2. `store.positionProvider.layoutController` — for configs where the live
13827
+ * provider still carries the controller (e.g. no stop-driven swap).
13828
+ * 3. The legacy `_layoutRuntime` sim handle — d3 engine fallback.
13652
13829
  */
13653
13830
  private _reheatLayout;
13654
13831
  /**
@@ -13684,17 +13861,26 @@ declare class MapApi {
13684
13861
  * pxPerUnit = VIEWPORT_H / (2 * tan(halfFov) * viewDist)
13685
13862
  * level = log2(mapSize * pxPerUnit / TARGET_TILE_PX)
13686
13863
  *
13687
- * For spherical mode the globe radius takes the role of mapSize and
13688
- * viewDist is measured from camera to the globe surface.
13864
+ * Spherical: the globe circumference (2πr) takes the role of mapSize, and
13865
+ * `viewDist` is the camera-to-SURFACE distance (= cameraZ - sceneZ - globeRadius),
13866
+ * NOT camera-to-centre. Treating it as centre-distance is what let high zoom
13867
+ * push the globe centre past the camera (sceneZ → cameraZ) so the camera ended
13868
+ * up INSIDE the globe — the whole view filling with the atmosphere shell.
13869
+ * Subtracting globeRadius keeps "zoom" meaning "altitude above the surface",
13870
+ * consistent with GlobeControl's wheel zoom (distToSurface) and never inside.
13689
13871
  */
13690
13872
  private _computeZoomLevel;
13691
13873
  /**
13692
13874
  * Compute the cloudScene.position.z that yields a given tile zoom level.
13693
13875
  *
13694
13876
  * Inversion of _computeZoomLevel:
13695
- * pxPerUnit = 2^level * TARGET_TILE_PX / mapSize
13877
+ * pxPerUnit = 2^level * TARGET_TILE_PX / size
13696
13878
  * viewDist = VIEWPORT_H / (2 * tan(halfFov) * pxPerUnit)
13697
- * sceneZ = cameraZ - viewDist
13879
+ * sceneZ = cameraZ - viewDist (planar)
13880
+ * sceneZ = cameraZ - viewDist - globeRadius (spherical: viewDist is the
13881
+ * distance to the globe SURFACE, so the centre sits one radius
13882
+ * further; this is what keeps the camera outside the globe and
13883
+ * makes city-level zoom reachable instead of blanking to blue.)
13698
13884
  */
13699
13885
  private _zoomLevelToSceneZ;
13700
13886
  /**
@@ -13922,10 +14108,18 @@ declare class MapApi {
13922
14108
  worldToLatLng(x: number, y: number, z: number, mode?: MapMode): GeoPosition | null;
13923
14109
  /**
13924
14110
  * Convert a true ground distance (km) at a given latitude into world/scene
13925
- * units, matching how node positions are placed (Mercator meters × mapScale).
13926
- * Web Mercator inflates ground distance by 1/cos(lat); we divide by cos(lat) so
13927
- * a circle of this radius covers the correct ground area on the basemap.
13928
- * With no map active, mapScale is the default-provider scale (1).
14111
+ * units, matching how node positions are placed.
14112
+ *
14113
+ * PLANAR: node positions are Mercator meters × mapScale. Web Mercator inflates
14114
+ * ground distance by 1/cos(lat); we divide by cos(lat) so a circle of this
14115
+ * radius covers the correct ground area on the basemap. With no map active,
14116
+ * mapScale is the default-provider scale (1).
14117
+ *
14118
+ * SPHERICAL: the globe is a true sphere, so a coverage wedge drapes on the
14119
+ * tangent plane with NO Mercator inflation — the conversion is plain arc
14120
+ * length. `globeRadius` scene units span EARTH_RADIUS meters around the globe,
14121
+ * so world-units-per-meter = globeRadius / EARTH_RADIUS and there is no cos(lat)
14122
+ * term. Using the planar formula on the globe oversizes every wedge by 1/cos(lat).
13929
14123
  */
13930
14124
  groundKmToWorld(km: number, latitudeDeg: number): number;
13931
14125
  /**
@@ -14944,6 +15138,12 @@ interface CoverageItem {
14944
15138
  speed?: number;
14945
15139
  rings?: number;
14946
15140
  };
15141
+ /** Sector centre bearing, degrees clockwise from north. Default 0. */
15142
+ azimuthDeg?: number;
15143
+ /** Wedge angular width in degrees. Default 360 → full disc (back-compat). */
15144
+ beamWidthDeg?: number;
15145
+ /** Inner radius as a fraction of `radius` (annular gap near the tower). Default 0. */
15146
+ innerRadius?: number;
14947
15147
  }
14948
15148
  interface CoverageConfig {
14949
15149
  items: CoverageItem[];
@@ -14961,6 +15161,12 @@ interface CoverageSpec extends Omit<CoverageItem, "radius"> {
14961
15161
  radiusKm?: number;
14962
15162
  /** Latitude for Mercator correction when radiusKm is used; defaults to 0. */
14963
15163
  latitude?: number;
15164
+ /**
15165
+ * Map key for dedup/replace; defaults to `anchorNodeId`. Provide a distinct key
15166
+ * to keep **multiple wedges that share one `anchorNodeId`** (e.g. the 3 sectors
15167
+ * of one base station, all selecting together when that node is clicked).
15168
+ */
15169
+ key?: string;
14964
15170
  }
14965
15171
  /**
14966
15172
  * Convenience sugar over `api.layers` for domain-agnostic coverage discs.
@@ -14984,6 +15190,76 @@ declare class CoverageApi {
14984
15190
  private flush;
14985
15191
  }
14986
15192
 
15193
+ /** GeoJSON position `[lng, lat]` (the GeoJSON axis order). */
15194
+ type LngLat = [number, number];
15195
+ type GeoJsonPolygon = {
15196
+ type: "Polygon";
15197
+ coordinates: LngLat[][];
15198
+ };
15199
+ type GeoJsonMultiPolygon = {
15200
+ type: "MultiPolygon";
15201
+ coordinates: LngLat[][][];
15202
+ };
15203
+ type GeoJsonFeature = {
15204
+ type: "Feature";
15205
+ geometry: GeoJsonPolygon | GeoJsonMultiPolygon;
15206
+ };
15207
+ /** Accepted GeoJSON inputs: a Polygon/MultiPolygon geometry or a Feature wrapping one. */
15208
+ type GeoJsonPolygonish = GeoJsonPolygon | GeoJsonMultiPolygon | GeoJsonFeature;
15209
+ /**
15210
+ * A polygon to draw. Supply ONE coordinate source:
15211
+ * - `geojson` — GeoJSON Polygon/MultiPolygon/Feature, coords `[lng, lat]`.
15212
+ * - `latLngRings` — rings of `[lat, lng]` (outer first, then holes).
15213
+ * - `worldRings` — rings already in world coords `[x, y, z]` (skips projection).
15214
+ * Geographic inputs are projected via the injected `latLngToWorld`, so enable
15215
+ * the map (or place geo nodes) before calling — same precondition as positioning
15216
+ * geo nodes by lat/lng.
15217
+ */
15218
+ interface PolygonSpec {
15219
+ /** Stable key for dedup/replace; defaults to a running index. */
15220
+ id?: string;
15221
+ geojson?: GeoJsonPolygonish;
15222
+ latLngRings?: Array<Array<[number, number]>>;
15223
+ worldRings?: Array<Array<[number, number, number]>>;
15224
+ /** Interior fill RGB 0..1. */
15225
+ fillColor: [number, number, number];
15226
+ /** Fill opacity 0..1. Default 0.4. */
15227
+ fillOpacity?: number;
15228
+ /** Outline RGB 0..1. Defaults to fillColor. */
15229
+ outlineColor?: [number, number, number];
15230
+ /** Outline opacity 0..1. Default 0.9. */
15231
+ outlineOpacity?: number;
15232
+ /** Draw the outline. Default true. */
15233
+ outline?: boolean;
15234
+ /** Render band: "overlay" (over nodes, default) or "underlay" (ground highlight under nodes). */
15235
+ band?: "underlay" | "overlay";
15236
+ }
15237
+ /**
15238
+ * Convenience sugar over `api.layers` for filled polygons / GeoJSON regions.
15239
+ * Resolves geographic coordinates (GeoJSON `[lng,lat]` or `[lat,lng]` rings) to
15240
+ * world space via the injected `latLngToWorld`, keys items for dedup/replace,
15241
+ * and drives the "polygon" layer. The geometric twin of `api.coverage`.
15242
+ */
15243
+ declare class PolygonApi {
15244
+ private layers;
15245
+ private latLngToWorld;
15246
+ private items;
15247
+ constructor(layers: LayersApi, latLngToWorld: (lat: number, lng: number) => {
15248
+ x: number;
15249
+ y: number;
15250
+ z: number;
15251
+ });
15252
+ private toWorldRing;
15253
+ /** Resolve a spec to one-or-more world-space PolygonItems (MultiPolygon → many). */
15254
+ private resolve;
15255
+ /** Set (or replace) one polygon by id, or a batch. */
15256
+ set(id: string, spec: Omit<PolygonSpec, "id">): void;
15257
+ set(specs: PolygonSpec[]): void;
15258
+ /** Remove one polygon by id, or clear all. */
15259
+ clear(id?: string): void;
15260
+ private flush;
15261
+ }
15262
+
14987
15263
  /**
14988
15264
  * Construction options for {@link RenderEngineApi}.
14989
15265
  */
@@ -15076,6 +15352,8 @@ declare class RenderEngineApi$1 {
15076
15352
  readonly transform: TransformApi;
15077
15353
  /** Add, update, and remove graph visibility filters. */
15078
15354
  readonly filter: FilterApi;
15355
+ /** Temporal activity histogram ("Time Bar"): bin elements by date, brush a window, play. */
15356
+ readonly timeline: TimelineApi;
15079
15357
  /** Centrality, community detection, shortest-path, and graph metrics algorithms. */
15080
15358
  readonly algorithms: AlgorithmApi;
15081
15359
  /** Subscribe to typed {@link EventMap} events emitted by all subsystems. */
@@ -15096,6 +15374,8 @@ declare class RenderEngineApi$1 {
15096
15374
  readonly layers: LayersApi;
15097
15375
  /** Convenience sugar over api.layers for domain-agnostic coverage discs with km→world resolution. */
15098
15376
  readonly coverage: CoverageApi;
15377
+ /** Convenience sugar over api.layers for filled polygons / GeoJSON regions with geo→world resolution. */
15378
+ readonly polygon: PolygonApi;
15099
15379
  /** Timeline-driven graph event playback effects. */
15100
15380
  readonly playback: PlaybackApi;
15101
15381
  /** Viewport chrome controls: minimap, theme, 2D/3D mode, and screenshot. */
@@ -17630,6 +17910,83 @@ interface MinimapLayerProps {
17630
17910
  }
17631
17911
  declare function MinimapLayer({ width, height, position, margin, defaultVisible, positionProvider: positionProviderProp, }: MinimapLayerProps): react_jsx_runtime.JSX.Element;
17632
17912
 
17913
+ interface TimelineProps {
17914
+ /** The render engine API. Drives `api.timeline`. */
17915
+ api: RenderEngineApi$1;
17916
+ /** UI locale; `en` is the fallback. */
17917
+ locale?: string;
17918
+ /** Optional message overrides layered on top of the resolved locale bundle. */
17919
+ messages?: Record<string, string>;
17920
+ /** Strip height in px (excludes the config header + axis). Default 92. */
17921
+ height?: number;
17922
+ theme?: "dark" | "light";
17923
+ className?: string;
17924
+ }
17925
+ /**
17926
+ * Graph-friendly timeline ("Time Bar").
17927
+ *
17928
+ * Renders a temporal activity histogram over `api.timeline`: each bar is a time
17929
+ * bucket, height = element count. Brush a range (drag, with edge handles) to
17930
+ * filter the graph; click to place a point cursor; play to animate the window.
17931
+ * Modeless — no range/point toggle. All visible strings are localized via the
17932
+ * single `locale` prop (en fallback).
17933
+ */
17934
+ declare function Timeline({ api, locale, messages, height, theme, className, }: TimelineProps): React__default.ReactElement;
17935
+
17936
+ /**
17937
+ * Pure time ↔ pixel mapping for the timeline.
17938
+ *
17939
+ * `domain` is `[startMs, endMs]`; `width` is the strip's pixel width. Both
17940
+ * directions clamp to their range so a drag past the edge stays valid.
17941
+ */
17942
+ type Domain = [number, number];
17943
+
17944
+ interface TimelineCanvasProps {
17945
+ bins: Bin[];
17946
+ domain: Domain | null;
17947
+ /** Brushed window `[start,end]` in ms; bars intersecting it render "hot". */
17948
+ range: [number, number] | null;
17949
+ width: number;
17950
+ height: number;
17951
+ theme?: "dark" | "light";
17952
+ }
17953
+ /**
17954
+ * Canvas 2D renderer for the timeline bars.
17955
+ *
17956
+ * Bottom-anchored bars scaled to the max count; bars inside the brushed range
17957
+ * get a red glow, the rest steel-blue. Pure presentation — all interaction is
17958
+ * handled by the parent `<Timeline>` DOM overlays. Redraws on any prop change,
17959
+ * crisp on HiDPI via `devicePixelRatio`.
17960
+ */
17961
+ declare function TimelineCanvas({ bins, domain, range, width, height, theme, }: TimelineCanvasProps): React__default.ReactElement;
17962
+
17963
+ interface TimelineData {
17964
+ bins: Bin[];
17965
+ domain: [number, number] | null;
17966
+ }
17967
+ /**
17968
+ * Subscribe to the graph store and recompute the timeline histogram whenever
17969
+ * the data changes or the binning source changes.
17970
+ *
17971
+ * Computes synchronously on mount / source change, then coalesces store-driven
17972
+ * updates to at most one recompute per frame.
17973
+ *
17974
+ * IMPORTANT: the coalescing uses a "leading flag" rather than
17975
+ * `cancelAnimationFrame` + reschedule. While a force-layout simulation is hot
17976
+ * it fires `subscribeVersionChanged` every frame; a cancel-and-reschedule debounce
17977
+ * would be perpetually deferred and never run (the bars would stay empty until the
17978
+ * layout cooled). The flag guarantees the scheduled frame always fires.
17979
+ *
17980
+ * @param api - the render engine API (provides `api.timeline` + `api.store`).
17981
+ * @param sourceKey - a string that changes whenever the binning source changes
17982
+ * (the caller derives it from `api.timeline.getSource()`), forcing a refresh.
17983
+ */
17984
+ declare function useTimelineData(api: RenderEngineApi$1, sourceKey: string): TimelineData;
17985
+
17986
+ declare const DEFAULT_TIMELINE_MESSAGES: Record<string, string>;
17987
+ /** Resolve the merged message map for a locale, layering optional host overrides on top. */
17988
+ declare function resolveTimelineMessages(locale: string | undefined, override?: Record<string, string>): Record<string, string>;
17989
+
17633
17990
  type UniformValue = number | number[] | THREE$1.Color | THREE$1.Vector2 | THREE$1.Vector3 | THREE$1.Vector4 | THREE$1.Texture;
17634
17991
  interface NodeShaderAttribute {
17635
17992
  /** GLSL attribute name; exposed to the fragment shader as varying `v<Name>`. */
@@ -17684,6 +18041,84 @@ interface CoverageLayerProps {
17684
18041
  */
17685
18042
  declare function CoverageLayer({ items }: CoverageLayerProps): null;
17686
18043
 
18044
+ /**
18045
+ * PolygonRenderer — filled polygons (with optional holes) drawn flat in the
18046
+ * cloudScene XY plane, each with an outline. The generic counterpart to the
18047
+ * CoverageRenderer's wedges: where coverage draws parametric discs/sectors,
18048
+ * this draws ARBITRARY polygon geometry — overlap/intersection regions, zones,
18049
+ * catchment areas, or any GeoJSON Polygon/MultiPolygon.
18050
+ *
18051
+ * Domain-agnostic: the renderer consumes WORLD-space rings. Geographic input
18052
+ * (GeoJSON lng/lat) is resolved to world coords upstream in `api.polygon`
18053
+ * (mirrors how `api.coverage` resolves radiusKm→world before CoverageRenderer).
18054
+ *
18055
+ * Rendering: one `THREE.Mesh` (ShapeGeometry, MeshBasicMaterial) for the fill
18056
+ * plus one `THREE.LineLoop` per ring for the outline, all parented to a single
18057
+ * Group. `update()` rebuilds from scratch — cheap for the handful of polygons
18058
+ * this targets (overlap regions, a few zones), and keeps the diff trivial.
18059
+ *
18060
+ * Map modes — planar AND spherical. In planar map mode rings lie in the
18061
+ * cloudScene XY plane (z constant, what `map.latLngToWorld` yields), so the fill
18062
+ * is triangulated in XY and laid flat at that z. In globe mode (`ctx.sphereRadius
18063
+ * > 0`) rings lie ON the sphere surface with arbitrary orientation; the fill is
18064
+ * triangulated in the surface TANGENT plane at the polygon centroid (the same
18065
+ * east/north basis the coverage shader uses, mirrored CPU-side) and the position
18066
+ * buffer keeps the REAL 3D world coords so the fill drapes over the globe. The
18067
+ * outline LineLoops already use the real 3D points and are correct in both modes.
18068
+ */
18069
+
18070
+ /** A single filled polygon. Domain-agnostic; coordinates are WORLD-space. */
18071
+ interface PolygonItem {
18072
+ /** Optional stable id (debugging / future diffing). */
18073
+ id?: string;
18074
+ /**
18075
+ * Polygon rings in WORLD coords. First ring = outer boundary; any subsequent
18076
+ * rings = holes. Each point is `[x, y, z]` (z is used only to place the fill
18077
+ * plane; triangulation happens in XY).
18078
+ */
18079
+ rings: Array<Array<[number, number, number]>>;
18080
+ /** Interior fill RGB, each channel 0..1. */
18081
+ fillColor: [number, number, number];
18082
+ /** Fill opacity 0..1. Default 0.4. */
18083
+ fillOpacity?: number;
18084
+ /** Outline RGB 0..1. Defaults to `fillColor`. */
18085
+ outlineColor?: [number, number, number];
18086
+ /** Outline opacity 0..1. Default 0.9. */
18087
+ outlineOpacity?: number;
18088
+ /** Draw the boundary outline. Default true. */
18089
+ outline?: boolean;
18090
+ /**
18091
+ * Render band. `"overlay"` (default) draws in front of the graph (over nodes).
18092
+ * `"underlay"` draws behind the nodes (but above the basemap) — a ground
18093
+ * highlight that never blocks markers/labels. Use it for filled geo regions
18094
+ * the user must still see/click the nodes inside.
18095
+ */
18096
+ band?: "underlay" | "overlay";
18097
+ }
18098
+ interface PolygonConfig {
18099
+ items: PolygonItem[];
18100
+ }
18101
+
18102
+ /**
18103
+ * Props for {@link PolygonLayer}.
18104
+ *
18105
+ * @remarks
18106
+ * Updates are driven by **array identity** (`useMemo([items])`). Pass a NEW array
18107
+ * reference to trigger a re-render — mutating in place won't be detected.
18108
+ * Items carry WORLD-space rings; for geographic input prefer the imperative
18109
+ * `api.polygon.set` (it projects GeoJSON / lat-lng via the map).
18110
+ */
18111
+ interface PolygonLayerProps {
18112
+ items: PolygonItem[];
18113
+ }
18114
+ /**
18115
+ * Declarative React wrapper for the PolygonRenderer — filled polygons (with
18116
+ * optional holes) and outlines, drawn flat in the cloudScene XY plane.
18117
+ * For imperative runtime use (and GeoJSON/geo projection), prefer
18118
+ * `api.polygon.set/clear`.
18119
+ */
18120
+ declare function PolygonLayer({ items }: PolygonLayerProps): null;
18121
+
17687
18122
  interface PitchToggleButtonProps {
17688
18123
  /** Portal target — must be the GraphCanvas container or another positioned ancestor. */
17689
18124
  container: HTMLElement;
@@ -17744,8 +18179,21 @@ declare class ScaledLODRadial {
17744
18179
  */
17745
18180
  declare class MapCoordinateProvider {
17746
18181
  private mapScale;
17747
- constructor(mapScale: number);
18182
+ /**
18183
+ * Scene-space radius of the globe in SPHERICAL mode. Decoupled from
18184
+ * `mapScale` (which sizes the PLANAR Mercator map): the globe mesh, geo
18185
+ * nodes (`applyGeoLayout` → `polar2Cartesian(lat,lng,globeRadius)`) and the
18186
+ * camera/zoom math all live on a sphere of `globeRadius` scene units, so
18187
+ * `latLngToWorld(spherical)` MUST return positions on that same sphere or
18188
+ * polygons/markers placed via lat/lng float off the surface. Defaults to
18189
+ * `EARTH_RADIUS * mapScale` (the legacy value) when not supplied, preserving
18190
+ * behavior for callers that predate the explicit globe radius.
18191
+ */
18192
+ private sphereRadius;
18193
+ constructor(mapScale: number, sphereRadius?: number);
17748
18194
  getScale(): number;
18195
+ /** Scene-space globe radius used by all SPHERICAL-mode conversions. */
18196
+ getSphereRadius(): number;
17749
18197
  /**
17750
18198
  * Convert lat/lng to scene world coordinates.
17751
18199
  *
@@ -18909,4 +19357,4 @@ declare function createDefaultRegistry(): ToolRegistry$1;
18909
19357
 
18910
19358
  declare function useToolbarState(initialState?: Partial<ToolbarState>): Required<ToolbarControlledProps>;
18911
19359
 
18912
- export { ANCHOR_OFFSETS, ANCHOR_RADIUS_PX, type ActiveTween, type AggregateConfig, type AggregateOptions, type AggregatedEdge, type AggregatedEdgeTarget, type AlgorithmInfo, type AnimateOptions, type AnimationEasingType, AnimationManager, AnimationsApi, type AnyPickResult, type GraphSnapshot as ApiGraphSnapshot, type ApiOptions, type ApiStyleRule, type ApplyGeoLayoutOptions, type ApplyGeoLayoutResult, AxisLayer, type AxisLayerProps, type BackgroundPickResult, type BackgroundPointerEvent, type BadgeSpec, type BufferTextSource, type BuildGeoPositionProviderOptions, type BuildGeoPositionProviderResult, CPULayoutProviderAdapter, CPUPositionProvider, CameraApi, type CameraPositionSource, CameraTween, type CameraTweenTarget, type CanvasEvent, type CapabilityState, type CaptionOptions, type CaptionProps, type CascadeHighlightConfig, CascadeHighlightEffect, type CategoricalFilter, type Category, type ClusterRevealConfig, ClusterRevealEffect, CollectionManager, type CollectionState, type ColorMappingOptions, type ColorValue, type ColumnMapping, type Command, type ConfigSource, type ConflictReport, ContextMenuManager, ContextMenuOverlay, type ContextMenuOverlayProps, type ContextMenuState, CoverageApi, type CoverageConfig, type CoverageItem, CoverageLayer, type CoverageLayerProps, type CoverageSpec, type CursorStyle, type CurveParams, DEFAULT_DOCK_POSITIONS, DEFAULT_FORCE_LAYOUT_CONFIG, DEFAULT_INTERACTION_CONFIG, DEFAULT_SHORTCUTS, DEFAULT_THEME_TO_PROVIDER, type DateGranularity, type DateRangeSpec, type DecorationAnchor, type DefaultMenuActions, type DegreeSpec, type DirtyFlag, type DisableMapOptions, type DockRegistry, type DragEndEvent, DragHandler, type DragHandlerConfig, type DragMoveEvent, DragPositionsCommand, type DragStartEvent, type DragState, EASINGS, type EasingFn, type EdgeCaptionProps, EdgeClassifier, EdgeCloud, type EdgeCloudConfig, type EdgeCloudProps, type EdgeCreateCallback, EdgeCreateHandler, type EdgeCreateHandlerConfig, type EdgeCreateResult, type EdgeDefinition, type EdgeDrawConfig, EdgeDrawEffect, type EdgeEvent, type EdgeFilter, type EdgeFilterCommonSpec, type EdgeFlowConfig, EdgeFlowEffect, type EdgeGlowConfig, EdgeGlowEffect, type EdgeInput, type EdgeLike, type EdgePickResult, type EdgePointerEvent, type EdgePredicateFn, type EdgeProps, EdgeQuery, type EdgeRenderInfo, type EdgeRenderState, type EdgeSelector, type EdgeShape, EdgeTextCloud, type EdgeTextCloudConfig, type EdgeTextItem, EdgeTextLayer, type EdgeTextLayerProps, type EdgeType, EdgesApi, type Effect, EffectManager, type ElementDefinition, type ElementState, EmphasisApi, type EnableMapOptions, type EngineCapabilities, type ErrorContext, type EventMap, type ExtractConfig, type ExtractOptions, FREE_PROVIDER_META, FilterApi, type FilterConfig, type FilterEntry, type FilterGroup, type FilterHandle, type FilterMatchCount, type FilterPreset, type FilterPublicType, type FilterResult, type FilterResultCallback, type FilterTarget, FlatLayer, type FlatLayerProps, type FlightSpec, FlowsApi, type FlyToBoundsOptions, type FlyToGeoOptions, type FlyToOptions, type FocusContextConfig, FocusContextEffect, type ForceLayoutConfig, type FreeProviderName, GPUEdgeRenderer, type GPUEdgeRendererConfig, GPUGroupRingRenderer, GPULayoutProviderAdapter, GPUNodeRenderer, type GPUNodeRendererConfig, GPUPositionProvider, type GeoBounds, type GeoPosition, type GeoSearchResult, type GeocoderDescriptor, GlobeControl, type GlobeControlConfig, GlobeLayer, type GlobeLayerProps, GraphCanvas, type GraphCanvasProps, GraphContext, type GraphContextValue, GraphControl, type GraphControlConfig, type GraphEvent, type GraphEventHandler, type GraphEventType, type GraphFilterAPI, GraphFilterManager, GraphRenderer, type GraphRendererConfig, type GraphRendererProps, GraphStore, type GraphThemeConfig, type GraphThemeKey, GraphThemes, type GraphViewState, GroupCloud, GroupHitTest, GroupManager, type GroupOptions, type GroupSnapshot, type GroupSpec, GroupSphereRenderer, type GroupState, GroupsApi, type HeatDiffusionConfig, HeatDiffusionEffect, type HiddenState, HistoryApi, type HistoryChangeInfo, type HoverChangeEvent, HoverHandler, type HoverHandlerConfig, type HoverState, type HoverTarget, type IconAtlasConfig, IconAtlasManager, type IconEntry, type IconFontConfigExt, type IconSpec, type ImageArrayConfig, ImageAtlasManager, type ImageEntry, type ImageMappingOptions, type InteractionConfig, InteractionManager, type InteractionManagerConfig, type KeyBinding, KeyboardShortcutManager, type KeyboardShortcutManagerConfig, type LabelPosition$1 as LabelPosition, type LayerContext, type LayerOptions, type LayerRenderer, LayersApi, LayoutApi, type LayoutControllerInterface, type LayoutEndInfo, type LayoutEngine, type LayoutReadback, type LayoutRuntime, type LayoutRuntimeEventMap, LayoutRuntimeImpl, type LayoutRuntimeSnapshot, LegendPanel, type LegendPanelProps, type LinkConfig, type LinkOptions, MAX_BADGE_TEXT_CHARS, type MSDFFont, type MSDFGlyph, MapApi, type MapConfig, MapCoordinateProvider, type MapMode, type MapTileProvider, type MapTileProviderDescriptor, MapTileProviders, MapTransition, type MapTransitionConfig, type MapTransitionMode, MarkerLayer, type MarkerLayerProps, MarkerRenderer, type MarkerRendererConfig, type MarkerSpec, MarkersApi, type MatchSpec, type MenuContext, type MenuGroup, type MenuItem, type MergeConfig, type MergeOptions, type MetricPulseConfig, MetricPulseEffect, type MinimapConfig, MinimapLayer, type MinimapLayerProps, NOMINATIM_BASE_URL, type NodeBreatheConfig, NodeBreatheEffect, NodeCloud, type NodeCloudConfig, type NodeCloudProps, type NodeDefinition, type NodeDragEvent, type NodeEntranceConfig, NodeEntranceEffect, type NodeEvent, type NodeFilter, type NodeFilterCommonSpec, NodeInfoManager, NodeInfoPanel, type NodeInfoPanelProps, type NodeInfoState, type NodeInput, type NodeLike, type NodePickResult, type NodePointerEvent, type NodePredicateFn, type NodeProps, NodeQuery, type NodeRenderState, type NodeRippleConfig, NodeRippleEffect, type NodeSelector, type NodeShaderAttribute, type NodeShaderLayerSpec, type NodeSizeConfig, NodeSizeService, NodesApi, type ParsedDate, type ParsedSelector, type PathHighlightConfig, PathHighlightEffect, type PickResult, type PickType, Picker, PickerUtils, type PinnedState, PitchToggleButton, type PitchToggleButtonProps, type Platform, PlatformAdapter, type PlaybackConfig, type PlaybackOptions, type PluginInstallContext, type PointerEventBase, type PointerModifiers, type PositionMode, type PositionProvider, type PredicateFilter, type PropertyColorConfig, PropertyColorEffect, PropertyTween, type PropertyTweenConfig, QuickCreatePanel, type QuickCreatePanelProps, type RGB, type RangeFilter, type RangeSpec, type RelationshipType, type RenderBackendType, RenderEngineApi$1 as RenderEngineApi, EventBus as RenderEventBus, type ResolvedMenuItem, type ResolvedMenuSection, ScaledLODRadial, type SchemaCallbacks, type Scope, type ScreenshotOptions, type SearchOptions, SelectionApi, type SelectionChangeEvent, SelectionManager, type SelectionMode$1 as SelectionMode, type SelectionState, SelfLoopCloud, type SelfLoopCloudConfig, SetPositionsCommand, type ShortcutCategory, type ShortcutCommand, type ShortcutCommandDefinition, type ShortcutConfig, type ShortcutOptions, type SizeMappingOptions, type SkillContext, type SkillDef, type SkillInput, type SkillResult, SkillsApi, SlippyMapFlat, type SlippyMapFlatConfig, SlippyMapGlobe, type SlippyMapGlobeConfig, type SnapshotDiff, StaticPositionProvider, StyleApi, StyleMapper, type StyleRule, type Stylesheet$1 as Stylesheet, Stylesheet as StylesheetEngine, type TagId, type TagSpec, type TextAlign, TextCloud, type TextCloudConfig, type TextItem, TextLayer, type TextLayerProps, type TileUrlFn, type TimelineEvent, type TimelineReplayConfig, TimelineReplayEffect, type ToolItem, type ToolItemAction, type ToolItemParent, type ToolItemToggle, type ToolPriority, ToolRegistry$1 as ToolRegistry, type ToolSeparator, Toolbar, type ToolbarAction, type ToolbarContext, type ToolbarControlledProps, type ToolbarPlugin, type ToolbarProps, type ToolbarState, type TopologyFilter, TransformApi, type TransformResult, type TransitionOptions, type TransitionPhase, type UniformValue, type Unsubscribe$1 as Unsubscribe, type UpdateStrategy$1 as UpdateStrategy, UpdateStrategy as UpdateStrategyImpl, type UserShortcutConfig, type VectorTileStyle, type ViewEvent, type ViewEventHandler, type ViewEventType, type ViewInfo, type ViewRegistrationOptions, ViewRegistry, type ViewState, VisualMapper, advanceByGranularity, arrowFragmentShader, arrowVertexShader, buildShaderSources, cartesian2Polar, computeAirborne, createDefaultItems, createDefaultRegistry, createEdgeTextCloud, createNodeShaderLayer, createTextCloud, createVectorTileProvider, defaultEdgeStyles, defaultNodeStyles, defaultStylesheet, deg2Rad, detectDateProperty, dirtyFlagToAttributes, divergingColorScale, edgeFragmentShader, edgeVertexShader, findFirstImage, fitBounds, formatDate, getAttributesToUpdate, getBaseWorldRadius, getColorScheme, getEdgeClassifier, getGlobalViewRegistry, getNodeShaderSize, getNodeShaderSizeByValue, getNodeWorldRadius, getNodeWorldRadiusBySize, getProviderTileUrl, getScaleFn, hexToRgb, isImageUrl, nextGranularity, nodeFragmentShader, nodeVertexShader, nominatimGeocoder, normalizeEdgeIds, normalizeNodeIds, ordinalColorScale, parseDate, parseNominatim, pickingFragmentShader, pickingVertexShader, polar2Cartesian, prevGranularity, rad2Deg, renderOrderForSlot, requiresStructureRebuild, resetGlobalViewRegistry, resolveCaptionText, resolveNodeTitle, selfLoopFragmentShader, selfLoopVertexShader, sequentialColorScale, setLicenseKey, sqrtScale, thresholdColorScale, truncateToGranularity, uniformGlslType, useAtlasManagers, useCamera, useCloudScene, useEffectiveMapProjection, useEngineLayer, useGraph, useGraphFilter, useGraphHandle, useGraphStore, useGraphVersion, useInteraction, useInvalidate, useIs3D, useIsMapMode, useLayer, useLayoutController, useLayoutPositionProvider, useMapDamping, useMapSphereRadius, useOptionalRenderEngineApi, useRenderEngineApi, useScene, useTextScales, useTheme, useToolbarState, useViewStateField, vectorDark };
19360
+ export { ANCHOR_OFFSETS, ANCHOR_RADIUS_PX, type ActiveTween, type AggregateConfig, type AggregateOptions, type AggregatedEdge, type AggregatedEdgeTarget, type AlgorithmInfo, type AnimateOptions, type AnimationEasingType, AnimationManager, AnimationsApi, type AnyPickResult, type GraphSnapshot as ApiGraphSnapshot, type ApiOptions, type ApiStyleRule, type ApplyGeoLayoutOptions, type ApplyGeoLayoutResult, AxisLayer, type AxisLayerProps, type BackgroundPickResult, type BackgroundPointerEvent, type BadgeSpec, type BinningSource, type BufferTextSource, type BuildGeoPositionProviderOptions, type BuildGeoPositionProviderResult, CPULayoutProviderAdapter, CPUPositionProvider, CameraApi, type CameraPositionSource, CameraTween, type CameraTweenTarget, type CanvasEvent, type CapabilityState, type CaptionOptions, type CaptionProps, type CascadeHighlightConfig, CascadeHighlightEffect, type CategoricalFilter, type Category, type ClusterRevealConfig, ClusterRevealEffect, CollectionManager, type CollectionState, type ColorMappingOptions, type ColorValue, type ColumnMapping, type Command, type ConfigSource, type ConflictReport, ContextMenuManager, ContextMenuOverlay, type ContextMenuOverlayProps, type ContextMenuState, CoverageApi, type CoverageConfig, type CoverageItem, CoverageLayer, type CoverageLayerProps, type CoverageSpec, type CursorStyle, type CurveParams, DEFAULT_DOCK_POSITIONS, DEFAULT_FORCE_LAYOUT_CONFIG, DEFAULT_INTERACTION_CONFIG, DEFAULT_SHORTCUTS, DEFAULT_THEME_TO_PROVIDER, DEFAULT_TIMELINE_MESSAGES, type DateGranularity, type DateRangeSpec, type DecorationAnchor, type DefaultMenuActions, type DegreeSpec, type DirtyFlag, type DisableMapOptions, type DockRegistry, type DragEndEvent, DragHandler, type DragHandlerConfig, type DragMoveEvent, DragPositionsCommand, type DragStartEvent, type DragState, EASINGS, type EasingFn, type EdgeCaptionProps, EdgeClassifier, EdgeCloud, type EdgeCloudConfig, type EdgeCloudProps, type EdgeCreateCallback, EdgeCreateHandler, type EdgeCreateHandlerConfig, type EdgeCreateResult, type EdgeDefinition, type EdgeDrawConfig, EdgeDrawEffect, type EdgeEvent, type EdgeFilter, type EdgeFilterCommonSpec, type EdgeFlowConfig, EdgeFlowEffect, type EdgeGlowConfig, EdgeGlowEffect, type EdgeInput, type EdgeLike, type EdgePickResult, type EdgePointerEvent, type EdgePredicateFn, type EdgeProps, EdgeQuery, type EdgeRenderInfo, type EdgeRenderState, type EdgeSelector, type EdgeShape, EdgeTextCloud, type EdgeTextCloudConfig, type EdgeTextItem, EdgeTextLayer, type EdgeTextLayerProps, type EdgeType, EdgesApi, type Effect, EffectManager, type ElementDefinition, type ElementState, EmphasisApi, type EnableMapOptions, type EngineCapabilities, type ErrorContext, type EventMap, type ExtractConfig, type ExtractOptions, FREE_PROVIDER_META, FilterApi, type FilterConfig, type FilterEntry, type FilterGroup, type FilterHandle, type FilterMatchCount, type FilterPreset, type FilterPublicType, type FilterResult, type FilterResultCallback, type FilterTarget, FlatLayer, type FlatLayerProps, type FlightSpec, FlowsApi, type FlyToBoundsOptions, type FlyToGeoOptions, type FlyToOptions, type FocusContextConfig, FocusContextEffect, type ForceLayoutConfig, type FreeProviderName, GPUEdgeRenderer, type GPUEdgeRendererConfig, GPUGroupRingRenderer, GPULayoutProviderAdapter, GPUNodeRenderer, type GPUNodeRendererConfig, GPUPositionProvider, type GeoBounds, type GeoJsonPolygonish, type GeoPosition, type GeoSearchResult, type GeocoderDescriptor, GlobeControl, type GlobeControlConfig, GlobeLayer, type GlobeLayerProps, GraphCanvas, type GraphCanvasProps, GraphContext, type GraphContextValue, GraphControl, type GraphControlConfig, type GraphEvent, type GraphEventHandler, type GraphEventType, type GraphFilterAPI, GraphFilterManager, GraphRenderer, type GraphRendererConfig, type GraphRendererProps, GraphStore, type GraphThemeConfig, type GraphThemeKey, GraphThemes, type GraphViewState, GroupCloud, GroupHitTest, GroupManager, type GroupOptions, type GroupSnapshot, type GroupSpec, GroupSphereRenderer, type GroupState, GroupsApi, type HeatDiffusionConfig, HeatDiffusionEffect, type HiddenState, HistoryApi, type HistoryChangeInfo, type HoverChangeEvent, HoverHandler, type HoverHandlerConfig, type HoverState, type HoverTarget, type IconAtlasConfig, IconAtlasManager, type IconEntry, type IconFontConfigExt, type IconSpec, type ImageArrayConfig, ImageAtlasManager, type ImageEntry, type ImageMappingOptions, type InteractionConfig, InteractionManager, type InteractionManagerConfig, type KeyBinding, KeyboardShortcutManager, type KeyboardShortcutManagerConfig, type LabelPosition$1 as LabelPosition, type LayerContext, type LayerOptions, type LayerRenderer, LayersApi, LayoutApi, type LayoutControllerInterface, type LayoutEndInfo, type LayoutEngine, type LayoutReadback, type LayoutRuntime, type LayoutRuntimeEventMap, LayoutRuntimeImpl, type LayoutRuntimeSnapshot, LegendPanel, type LegendPanelProps, type LinkConfig, type LinkOptions, MAX_BADGE_TEXT_CHARS, type MSDFFont, type MSDFGlyph, MapApi, type MapConfig, MapCoordinateProvider, type MapMode, type MapTileProvider, type MapTileProviderDescriptor, MapTileProviders, MapTransition, type MapTransitionConfig, type MapTransitionMode, MarkerLayer, type MarkerLayerProps, MarkerRenderer, type MarkerRendererConfig, type MarkerSpec, MarkersApi, type MatchSpec, type MenuContext, type MenuGroup, type MenuItem, type MergeConfig, type MergeOptions, type MetricPulseConfig, MetricPulseEffect, type MinimapConfig, MinimapLayer, type MinimapLayerProps, NOMINATIM_BASE_URL, type NodeBreatheConfig, NodeBreatheEffect, NodeCloud, type NodeCloudConfig, type NodeCloudProps, type NodeDefinition, type NodeDragEvent, type NodeEntranceConfig, NodeEntranceEffect, type NodeEvent, type NodeFilter, type NodeFilterCommonSpec, NodeInfoManager, NodeInfoPanel, type NodeInfoPanelProps, type NodeInfoState, type NodeInput, type NodeLike, type NodePickResult, type NodePointerEvent, type NodePredicateFn, type NodeProps, NodeQuery, type NodeRenderState, type NodeRippleConfig, NodeRippleEffect, type NodeSelector, type NodeShaderAttribute, type NodeShaderLayerSpec, type NodeSizeConfig, NodeSizeService, NodesApi, type ParsedDate, type ParsedSelector, type PathHighlightConfig, PathHighlightEffect, type PickResult, type PickType, Picker, PickerUtils, type PinnedState, PitchToggleButton, type PitchToggleButtonProps, type Platform, PlatformAdapter, type PlaybackConfig, type PlaybackOptions, type PluginInstallContext, type PointerEventBase, type PointerModifiers, PolygonApi, type PolygonConfig, type PolygonItem, PolygonLayer, type PolygonLayerProps, type PolygonSpec, type PositionMode, type PositionProvider, type PredicateFilter, type PropertyColorConfig, PropertyColorEffect, PropertyTween, type PropertyTweenConfig, QuickCreatePanel, type QuickCreatePanelProps, type RGB, type RangeFilter, type RangeSpec, type RelationshipType, type RenderBackendType, RenderEngineApi$1 as RenderEngineApi, EventBus as RenderEventBus, type ResolvedMenuItem, type ResolvedMenuSection, ScaledLODRadial, type SchemaCallbacks, type Scope, type ScreenshotOptions, type SearchOptions, SelectionApi, type SelectionChangeEvent, SelectionManager, type SelectionMode$1 as SelectionMode, type SelectionState, SelfLoopCloud, type SelfLoopCloudConfig, SetPositionsCommand, type ShortcutCategory, type ShortcutCommand, type ShortcutCommandDefinition, type ShortcutConfig, type ShortcutOptions, type SizeMappingOptions, type SkillContext, type SkillDef, type SkillInput, type SkillResult, SkillsApi, SlippyMapFlat, type SlippyMapFlatConfig, SlippyMapGlobe, type SlippyMapGlobeConfig, type SnapshotDiff, StaticPositionProvider, StyleApi, StyleMapper, type StyleRule, type Stylesheet$1 as Stylesheet, Stylesheet as StylesheetEngine, type TagId, type TagSpec, type TextAlign, TextCloud, type TextCloudConfig, type TextItem, TextLayer, type TextLayerProps, type TileUrlFn, Timeline, type TimelineAnnotation, TimelineApi, type Bin as TimelineBin, TimelineCanvas, type TimelineCanvasProps, type TimelineData, type TimelineEvent, type TimelineMeasure, type TimelinePlayOptions, type TimelineProps, type TimelineReplayConfig, TimelineReplayEffect, type TimelineTarget, type ToolItem, type ToolItemAction, type ToolItemParent, type ToolItemToggle, type ToolPriority, ToolRegistry$1 as ToolRegistry, type ToolSeparator, Toolbar, type ToolbarAction, type ToolbarContext, type ToolbarControlledProps, type ToolbarPlugin, type ToolbarProps, type ToolbarState, type TopologyFilter, TransformApi, type TransformResult, type TransitionOptions, type TransitionPhase, type UniformValue, type Unsubscribe$1 as Unsubscribe, type UpdateStrategy$1 as UpdateStrategy, UpdateStrategy as UpdateStrategyImpl, type UserShortcutConfig, type VectorTileStyle, type ViewEvent, type ViewEventHandler, type ViewEventType, type ViewInfo, type ViewRegistrationOptions, ViewRegistry, type ViewState, VisualMapper, advanceByGranularity, arrowFragmentShader, arrowVertexShader, buildShaderSources, cartesian2Polar, computeAirborne, createDefaultItems, createDefaultRegistry, createEdgeTextCloud, createNodeShaderLayer, createTextCloud, createVectorTileProvider, defaultEdgeStyles, defaultNodeStyles, defaultStylesheet, deg2Rad, detectDateProperty, dirtyFlagToAttributes, divergingColorScale, edgeFragmentShader, edgeVertexShader, findFirstImage, fitBounds, formatDate, getAttributesToUpdate, getBaseWorldRadius, getColorScheme, getEdgeClassifier, getGlobalViewRegistry, getNodeShaderSize, getNodeShaderSizeByValue, getNodeWorldRadius, getNodeWorldRadiusBySize, getProviderTileUrl, getScaleFn, hexToRgb, isImageUrl, nextGranularity, nodeFragmentShader, nodeVertexShader, nominatimGeocoder, normalizeEdgeIds, normalizeNodeIds, ordinalColorScale, parseDate, parseNominatim, pickingFragmentShader, pickingVertexShader, polar2Cartesian, prevGranularity, rad2Deg, renderOrderForSlot, requiresStructureRebuild, resetGlobalViewRegistry, resolveCaptionText, resolveNodeTitle, resolveTimelineMessages, selfLoopFragmentShader, selfLoopVertexShader, sequentialColorScale, setLicenseKey, sqrtScale, thresholdColorScale, truncateToGranularity, uniformGlslType, useAtlasManagers, useCamera, useCloudScene, useEffectiveMapProjection, useEngineLayer, useGraph, useGraphFilter, useGraphHandle, useGraphStore, useGraphVersion, useInteraction, useInvalidate, useIs3D, useIsMapMode, useLayer, useLayoutController, useLayoutPositionProvider, useMapDamping, useMapSphereRadius, useOptionalRenderEngineApi, useRenderEngineApi, useScene, useTextScales, useTheme, useTimelineData, useToolbarState, useViewStateField, vectorDark };