import type { BlurRegion } from "./svg.js"; export { compositeAnnotations }; /** * Apply blur regions and an SVG overlay to a PNG buffer, returning a new PNG. * * Blurs land first so the overlay paints on top: an outline or callout drawn * over a redacted region must stay sharp, and blurring after compositing would * smear the annotation itself. * * @param sharp The loaded sharp module. * @param buffer The PNG to annotate. * @param svg Overlay markup, already sized to the image in pixels. * @param blurRegions Regions to blur, already clipped to the image. */ declare function compositeAnnotations({ sharp, buffer, svg, blurRegions, }: { sharp: any; buffer: Buffer; svg: string; blurRegions: BlurRegion[]; }): Promise; //# sourceMappingURL=composite.d.ts.map