/** * Flatten screenshot + annotations into a single PNG blob. * Uses an offscreen canvas at the original screenshot dimensions. */ import type { Annotation } from './annotation-types.js'; /** * Flatten annotations onto a screenshot blob, producing a new PNG blob. * * 1. Create offscreen canvas at original screenshot dimensions * 2. Load screenshot blob as Image via URL.createObjectURL * 3. drawImage onto canvas * 4. renderAll annotations on top * 5. canvasToBlob → return PNG blob * 6. Revoke temporary object URL */ export declare function flattenAnnotations(screenshotBlob: Blob, annotations: readonly Annotation[], width: number, height: number): Promise; //# sourceMappingURL=annotation-export.d.ts.map