import type { MapScale } from './map.types'; /** * Maps a data value to a pixel size for proportional symbology. * * @description * Nine of the sixteen surveyed applications hand-rolled this same calculation * before plotting circles. It lives here so that a marker's radius and the size * key in `MapLegend` are guaranteed to come from identical math — a legend that * disagrees with the symbols it describes is worse than no legend. * * `'sqrt'` is the default because it makes the rendered *area* proportional to * the value. `'linear'` scales the radius directly and therefore exaggerates * large values; use it only when the mark is a bar or a line, not a disc. * * Degenerate inputs collapse to `range[0]` rather than producing `NaN`: * a zero-width domain, a non-finite value, and (for `'log'`) any non-positive * bound or value. */ export declare function resolveScale(scale: MapScale): number; /** * Default marker radius, in pixels, when `shape: 'circle'` is used with neither * `radiusPx` nor `scale`. Sized to read as a deliberate dot next to the 32px * pin without competing with it. */ export declare const DEFAULT_MARKER_RADIUS_PX = 8;