import { IPaintObject, PaintCommandName } from "../../../../ImageViewer/Layers"; import { PointLocation } from "../../../../ImageViewer/Models"; import { StatefulPaintObjectCommand } from "./StatefulPaintObjectCommand"; /** * Command for creating line paint objects with preserved toolbar state. * Maintains visual style settings from the toolbar at creation time and handles * line placement on the canvas. */ export declare class LinePaintObjectCommand extends StatefulPaintObjectCommand { /** * The name identifier for this paint command. * @default "LinePaintObject" */ readonly name: PaintCommandName; /** * Creates a new line 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: any): IPaintObject; }