/** * Pixel-level image filters shared by the raster export paths (pdf-export, * pptx-export). Pure functions over an ImageData-like buffer — no DOM, no * konva. The canvas editor renders the SAME named effects via CSS/SVG * matrices in `filters.ts` (`shapeFilterToCSS`); the math intentionally * differs per medium, but each medium has exactly one implementation. * * `highlights` is an alias of `white` kept for hand-written design JSON * (the editor UI itself only emits the Effects enum names). */ export interface ImageDataLike { data: Uint8ClampedArray; width: number; height: number; } export type PixelFilter = (imageData: ImageDataLike) => ImageDataLike; export declare const pixelFilters: Record PixelFilter>;