import { IPaintObject, PaintCommandName } from "../../../../ImageViewer/Layers"; import { PointLocation } from "../../../../ImageViewer/Models"; import { StatefulPaintObjectCommand } from "./StatefulPaintObjectCommand"; /** * Command class for creating and managing bracket ({}) symbol paint objects. * Preserves the toolbar state at creation time and handles the placement * and styling of bracket symbols on the canvas. * * @extends StatefulPaintObjectCommand * * @example * // Create a brackets object with current toolbar state * const command = new BracketsPaintObjectCommand(); * const brackets = command.createPaintObject({ x: 100, y: 100 }, currentToolbarState); */ export declare class BracketsPaintObjectCommand extends StatefulPaintObjectCommand { /** * The unique identifier for this paint command type. * Used to distinguish this command in the command stack. * @default "BracketsPaintObject" * @type {PaintCommandName} */ readonly name: PaintCommandName; /** * Creates a new bracket symbol paint object with styling from the current toolbar state. * The brackets will be rendered using the specified line and fill styles. * * @param {PointLocation} location - The top-left canvas coordinates where the brackets should be placed * @param {any} state - The current toolbar state containing styling properties * @returns {IPaintObject} A configured BracketsPaintObject instance ready for rendering * * @property {number} [state.lineWidth=1] - The stroke width in pixels * @property {Color|string} [state.lineColor="#000000"] - The stroke color * @property {Color|string} [state.fillColor="#ffffff"] - The fill color * @property {number} [state.fontOpacity=100] - The opacity percentage (0-100) */ createPaintObject(location: PointLocation, state: any): IPaintObject; }