import { PaintCommandName } from "../../../../ImageViewer/Layers"; import { PointLocation } from "../../../../ImageViewer/Models"; import { TextPaintObject } from "../../Objects/TextPaintObject"; import { StatefulPaintObjectCommand } from "./StatefulPaintObjectCommand"; /** * Command for creating text paint objects with preserved toolbar state. * Handles the creation and placement of text elements on the canvas while * maintaining the visual style settings from the toolbar at creation time. */ export declare class TextPaintObjectCommand extends StatefulPaintObjectCommand { /** * The name identifier for this paint command */ name: PaintCommandName; /** * Creates a new text paint object with styling from the toolbar state * @param point - The canvas coordinates where the text should be placed * @param state - The preserved toolbar state containing text styling properties * @returns A configured TextPaintObject instance ready for rendering */ createPaintObject(point: PointLocation, state: any): TextPaintObject; }