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