/** * Built-in marker shapes as signed-distance-field images, generated in code: no image files, no DOM. * SDF images can be recoloured by style rules (`icon-color`) and stay sharp when scaled. */ import type { IconShape } from '../core/types.js'; export declare const ICON_PIXELS = 32; /** * RGBA image whose alpha encodes the SDF the way MapLibre expects (edge at 0.75, `buffer` px of falloff). */ export declare function shapeImage(shape: IconShape, size?: number, buffer?: number): { width: number; height: number; data: Uint8Array; }; export declare const shapeImageId: (shape: IconShape) => string; /** Stable id for an image URL (FNV-1a), so the same image is added once per map. */ export declare function urlImageId(url: string): string;