import { BaseGraphicElement, BaseGraphicElementOptions } from '../../types/base-graphic-element'; import { GraphicPlugin } from '../../types/graphic-plugin'; import { EditorHost } from '../../core'; export interface TextOptions extends BaseGraphicElementOptions { x?: number; y?: number; text?: string; fontSize?: number; align?: 'left' | 'center' | 'right' | 'justify'; verticalAlign?: 'top' | 'middle' | 'bottom'; fontStyle?: 'normal' | 'italic' | 'bold' | '500' | 'italic bold'; fill?: string; xmm?: number; ymm?: number; } export declare class TextElement extends BaseGraphicElement { type: string; text: string; fontSize: number; align: 'left' | 'center' | 'right' | 'justify'; verticalAlign: 'top' | 'middle' | 'bottom'; fontStyle: 'normal' | 'italic' | 'bold' | '500' | 'italic bold'; fill: string; constructor(host: EditorHost, options?: Partial); get config(): { text: string; fontSize: number; align: "left" | "right" | "center" | "justify"; verticalAlign: "top" | "bottom" | "middle"; fontStyle: "bold" | "normal" | "italic" | "500" | "italic bold"; fill: string; id: string; x: number; y: number; width: number; height: number; rotation: number; scaleX: number; scaleY: number; visible: boolean; draggable: boolean; }; deserialize(data: any): void; serialize(): { text: string; fontSize: number; align: "left" | "right" | "center" | "justify"; verticalAlign: "top" | "bottom" | "middle"; fontStyle: "bold" | "normal" | "italic" | "500" | "italic bold"; fill: string; id: string; type: string; xmm: number; ymm: number; wmm: number; hmm: number; rotation: number; scaleX: number; scaleY: number; visible: boolean; locked: boolean; draggable: boolean; resizable: boolean; zIndex: number; displayName: string | null; }; } export declare class TextPlugin extends GraphicPlugin { name: string; version: string; graphicType: string; graphicElement: typeof TextElement; shapeComponent: import('vue').DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>; iconComponent: import('vue').Component; typeDisplayName: string; propertyPanel: import('vue').DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>; protected onInstall(): void; protected onUninstall(): void; }