/** * Eraser Module — erase annotations * Uses object-tap-to-delete approach for reliability across platforms */ import { fabric } from 'fabric'; export declare class EraserModule { private canvas; private isActive; private eraserWidth; constructor(canvas: fabric.Canvas); /** * Activate eraser mode — tapping on selectable annotations removes them. * Freehand draw paths stay non-selectable and are erased by the * editor-level brush hit-test path. */ activate(): void; /** * Deactivate eraser mode */ deactivate(): void; /** * Set eraser brush width (visual indicator on hover) */ setEraserWidth(width: number): void; getEraserWidth(): number; getIsActive(): boolean; private handleEraserClick; }