import { BaseShape, DrawingOptions, ShapeConstructor } from '../shapes/base-shape'; import { Point } from '../utils/point'; export declare enum ShapeNames { RectShape = "RectShape", PolygonShape = "PolygonShape", BrushShape = "BrushShape" } export declare class Drawer { private viewer; readonly shapes: Map; private drawerActiveShape; private activeShape?; drawOptions: DrawingOptions; constructor(viewer: OpenSeadragon.Viewer); get drawing(): boolean; addShape(name: ShapeNames | string, shapeConstructor: ShapeConstructor): void; setDrawerShape(name: ShapeNames | string): void; private getNewShape; onMouseDown(point: Point): BaseShape; onMouseMove(point: Point): BaseShape; onMouseUp(point: Point): BaseShape; reset(): void; } //# sourceMappingURL=draw-shape.d.ts.map