import { CanvasLayer } from '../CanvasLayer'; import { ViewerCanvasState } from '../../pdf-viewer-canvas/state/store'; export declare enum HighlightTool { HIGHLIGHT = 0, RECTANGULAR_HIGHLIGHT = 1, UNDERLINE = 2, SQUIGGLY = 3, STRIKE_OUT = 4 } export declare class AddHighlightAnnotationLayer extends CanvasLayer { private context; private colors; private selectedColor; private selectedTool; private pdfStartPoint; private screenStartPoint; private pointerDown; private page; private selecting; private selection; onCreate(): void; onSave(): Promise; onRemove(): void; render(timestamp: number, state: ViewerCanvasState): void; private setColor; private setTool; private close; private getPdfItemTypeForTool; private createRectangularHighlightAnnotation; private createHighlightAnnotation; }