import type { GeometryType, MapLayer, RendererCapabilities, SpatialObject, StyleRule, StyleTokens, VolumeConfig, SpatialQuery, TimeRange, ValidationResult, VisualizationType } from '../core/types.js'; /** Which geometry each generic visualization draws. Objects of other types are left out of that layer's scene. */ export declare const GEOMETRY_FOR: Record; /** Can this layer draw this object? Families, not exact types: a marker layer draws Point and MultiPoint. */ export declare function drawable(layer: MapLayer, object: SpatialObject): boolean; /** * Which geometry a visualization's SOURCE must have. Trails are drawn as lines but built from point histories; a * link layer's source names the objects whose links it draws (usually points). */ export declare const SOURCE_GEOMETRY_FOR: Record; /** Layers whose objects do not come from object queries: trails (history) and links (the link provider). */ export declare const DERIVED_TYPES: readonly VisualizationType[]; export declare function validateLayer(value: unknown): ValidationResult; /** Holds layer definitions. It knows nothing about data sources or rendering. */ export declare class LayerRegistry { private readonly layers; constructor(initial?: MapLayer[]); add(layer: MapLayer): void; update(id: string, patch: Partial>): MapLayer; remove(id: string): void; get(id: string): MapLayer | undefined; has(id: string): boolean; /** Layers sorted by zIndex, then id, so the order is deterministic. */ list(): MapLayer[]; visible(): MapLayer[]; private require; } /** What a layer needs from the renderer beyond flat 2D (ADR-026..028). */ export declare function layerNeeds(layer: MapLayer): Array; /** Provider hints the runtime adds to every layer query (doc §13): the zoom shown and, in replay, the time range. */ export interface QueryHints { zoom?: number; time?: TimeRange; } /** The query a layer needs inside the current viewport bounds (ADR-013: the viewport is a data boundary). */ export declare function layerQuery(layer: MapLayer, bounds?: SpatialQuery['bounds'], hints?: QueryHints): SpatialQuery; /** First matching rule's value for a style token (StyleRule contract), evaluated in JS — for renderers that style objects one by one. */ export declare function tokenFor(rules: StyleRule[] | undefined, key: K, props: Record | undefined, fallback: NonNullable): NonNullable; /** One object's coverage volume (phase 3E), from the layer's fixed values or the object's properties. */ export interface ResolvedVolume { shape: 'dome' | 'wedge'; range: number; azimuth: number; beamWidth: number; minElevation: number; maxElevation: number; } /** Resolves a layer's volume settings for one object; null when it has no usable range. */ export declare function volumeOf(v: VolumeConfig | undefined, props: Record | undefined): ResolvedVolume | null;