/** * Snapshot serialization (spec: "Snapshot API") — shared by OmMapElement * and MapController: the composite canvas RuntimeCore.snapshot() produces, * serialized to the consumer's preferred shape. */ export interface SnapshotOptions { /** Image MIME type — default "image/png". */ type?: "image/png" | "image/jpeg" | "image/webp"; /** Lossy-format quality 0–1 (jpeg/webp). */ quality?: number; /** Output shape — default "dataURL" (what print/export pipelines embed directly); "blob" for uploads/files. */ as?: "dataURL" | "blob"; } export declare function serializeSnapshot(canvas: HTMLCanvasElement, opts: SnapshotOptions): Promise;