/** * Engine-owned layers on top of the application's (doc 28 G7, G10; doc 29 ยง5): annotations, proposals and the * highlight. Plain polygons, lines and points styled through rules and per-object `$s:` values, so every renderer * draws them with what it already has. Like the draft layers, they are never returned by getLayers(). */ import type { Annotation, Highlight, MapLayer, Proposal, SpatialObject } from '../core/types.js'; type Kind = 'areas' | 'lines' | 'points'; export declare const ANNOTATION_LAYER: (k: Kind) => string; export declare const PROPOSAL_LAYER: (k: Kind) => string; export declare const HIGHLIGHT_LAYER: (k: Kind) => string; export declare const ANNOTATION_COLOR = "#7A3FD6"; export declare const PROPOSAL_COLOR = "#D97706"; export declare const HIGHLIGHT_COLOR = "#F59E0B"; export declare const ANNOTATION_LAYERS: MapLayer[]; export declare const PROPOSAL_LAYERS: MapLayer[]; /** A wide translucent halo under nothing but the draft: the objects keep their own look, the halo marks them. */ export declare function highlightLayers(color: string): MapLayer[]; /** The engine layer ids that carry objects people can select (annotations, proposals). */ export declare const SELECTABLE_OVERLAYS: Set; export declare const isOverlayLayer: (id: string) => boolean; export declare function annotationObjects(list: Iterable): Record; export declare function proposalObjects(list: Iterable): Record; /** Halo objects for the highlighted ids that are on the map now (they follow their objects). */ export declare function highlightObjects(h: Highlight | null, lookup: (id: string) => SpatialObject | undefined): Record; export {};