import type { LabelSnapshot } from './types'; /** * Render a label into an offscreen canvas sized to label.size (in map units * × PX_PER_UNIT) and return a PNG data URL. * * The label's registered style (looked up by `label.styleId`) hooks into the * draw pipeline: transformText → drawBackground → drawText → decorate. Any * stage a style doesn't override falls back to the built-in behavior, so the * default ('plain' / no style) is byte-identical to the un-styled render. */ export declare function generateLabelPixmap(label: LabelSnapshot): string; /** Convert a PNG data URL to a Buffer for storage in the binary map. */ export declare function dataUrlToBuffer(dataUrl: string): Uint8Array;