/** * Call-out label box presets — shared px values so the box around a label looks the same * on all three engines. OpenLayers/Leaflet draw it natively; MapLibre bakes it into a * lazily-materialized 9-slice image. A box is drawn **only** when a `text` feature carries * `textBackground` and/or `textBorder`; `textBoxSize`/`textBoxRadius` only tune it. */ /** Inner padding preset for the label box. */ export type TextBoxSize = "small" | "medium" | "large"; /** Corner radius preset for the label box (`round` ⇒ strongly rounded). */ export type TextBoxRadius = "none" | "small" | "medium" | "round"; /** Resolve `textBoxSize` (default `"medium"`) to `[vertical, horizontal]` px padding. */ export declare function boxPadding(size: unknown): [number, number]; /** Resolve a widget-card border-width preset (default `"medium"` ⇒ 1px) to a px width. */ export declare function boxBorderWidth(size: unknown): number; /** Resolve an overlay text-box border-width preset (default `"medium"` ⇒ 1.4px) to a px width. */ export declare function textBoxBorderWidth(size: unknown): number; /** Resolve `textBoxRadius` (default `"none"`) to a corner radius in px. */ export declare function boxRadius(radius: unknown): number; //# sourceMappingURL=textbox.d.ts.map