import { IPaintObject, PaintCommandName } from "../../../../ImageViewer/Layers"; import { PointLocation } from "../../../../ImageViewer/Models"; import { PaintToolbarState } from "../../types"; import { StatefulPaintObjectCommand } from "./StatefulPaintObjectCommand"; /** * Command for creating Arrow paint objects. */ export declare class ArrowPaintObjectCommand extends StatefulPaintObjectCommand { /** * The name identifier for this paint command. * @default "ArrowPaintObject" */ readonly name: PaintCommandName; /** * Creates a new arrow paint object with styling from the toolbar state. * @param startPoint - The canvas coordinates where the line should start * @param state - The preserved toolbar state containing styling properties * @returns A configured LinePaintObject instance ready for rendering * @throws Error if end point is not set before creation */ createPaintObject(startPoint: PointLocation, state: PaintToolbarState): IPaintObject; }