import { IPaintObject, PaintCommandName } from "../../../../ImageViewer/Layers"; import { PointLocation, Size } from "../../../../ImageViewer/Models"; import { StatefulPaintObjectCommand } from "./StatefulPaintObjectCommand"; /** * Command for creating image paint objects with preserved toolbar state. * Maintains visual style settings from the toolbar at creation time and handles * image placement and transformation on the canvas. */ export declare class ImagePaintObjectCommand extends StatefulPaintObjectCommand { insertImageArgs: { imageData: Uint8Array; }; protected paintLayerSize: Size; /** * The name identifier for this paint command. * @default "ImagePaintObject" */ readonly name: PaintCommandName; constructor(objectId: string, insertImageArgs: { imageData: Uint8Array; }, paintLayerSize: Size, state?: any); /** * Creates a new image paint object with styling from the toolbar state. * @param location - The canvas coordinates where the image should be placed * @param state - The preserved toolbar state containing image properties * @returns A configured ImagePaintObject instance ready for rendering */ createPaintObject(location: PointLocation, state: any): IPaintObject; }