export type ImageRedaction = { /** 0–1 offsets relative to the image box */ rx: number; ry: number; rw: number; rh: number; }; export type ImageRedactionOptions = { toolbar: HTMLElement; stage: HTMLElement; overlay: HTMLElement; image: HTMLImageElement; onChange?: (redactions: ImageRedaction[]) => void; }; export type ImageRedactionSession = { setEnabled: (enabled: boolean) => void; isEnabled: () => boolean; getRedactions: () => ImageRedaction[]; destroy: () => void; }; export declare function attachImageRedaction(options: ImageRedactionOptions): ImageRedactionSession; //# sourceMappingURL=image-redaction.d.ts.map