/** * Pure geographic helpers shared by the engine adapters for {@link MapAdapter.viewArea} * and {@link MapAdapter.highlightArea}: dateline-aware bbox handling and edge densification * (so a framed area follows a non-Mercator projection's curvature). No engine imports — unit * testable in isolation. */ import type { LngLatBounds } from "./index.js"; /** * Return `east` unwrapped relative to `west` so the span `west → east` is monotonically * increasing. A bbox whose `east <= west` is read as **crossing the antimeridian** (e.g. * `west = 110`, `east = -110` ⇒ `250`), giving one continuous span instead of the long way * round the globe. */ export declare function unwrapEast(west: number, east: number): number; /** * A **closed** lon/lat ring tracing the bbox perimeter with `perEdge` samples per edge * (dateline-aware via {@link unwrapEast} — longitudes may exceed 180). Densifying the edges * lets a reprojection bend them: under a polar-stereographic view the straight geographic * edges become curves once each sample is transformed. Used both to fit the camera * ({@link MapAdapter.viewArea}) and to draw the frame ({@link MapAdapter.highlightArea}). */ export declare function densifyBboxRing(extent: LngLatBounds, perEdge?: number): [number, number][]; /** `console.warn(msg)` at most once per distinct message (per process). */ export declare function warnOnce(msg: string): void; //# sourceMappingURL=geo.d.ts.map