import { IPaintCommand, IPaintExecuteOptions, PaintCommandName, PointerTriggerType } from "../../../ImageViewer/Layers/types"; import { PointLocation } from "../../../ImageViewer/Models/SelectionBoxTypes"; import { PaintToolbar } from "../PaintToolbar"; /** * Copy selected region paint command. **/ export declare class CopySelectedRegionCommand implements IPaintCommand { copiedImage: HTMLCanvasElement | undefined; context: PaintToolbar; name: PaintCommandName; point?: PointLocation | undefined; trigger: PointerTriggerType; /** * Constructor. * @param copiedImage * @param context */ constructor(copiedImage: HTMLCanvasElement | undefined, context: PaintToolbar); clone(): this; execute(mainCtx: CanvasRenderingContext2D, backCtx: CanvasRenderingContext2D, options: IPaintExecuteOptions): void; }