import { GraphicPlugin } from '../../types/graphic-plugin'; import { BaseGraphicElement, BaseGraphicElementOptions } from '../../types/base-graphic-element'; import { EditorHost } from '../../core'; export interface BarcodeOptions extends BaseGraphicElementOptions { x?: number; y?: number; content?: string; format?: string; foreground?: string; background?: string; marginMM?: number; displayValue: boolean; fontSizeMM: number; } export declare class BarcodeElement extends BaseGraphicElement { type: string; content: string; format: string; foreground: string; background: string; displayValue: boolean; fontSizeMM: number; marginMM: number; barcodeHeightMM: number; barcodeWidthMM: number; constructor(host: EditorHost, options?: Partial); get fontSize(): number; get margin(): number; get barcodeHeight(): number; get barcodeWidth(): number; getTransformAttr(event: any): { oldAttrs: any; newAttrs: any; }; deserialize(data: any): void; serialize(): { content: string; format: string; foreground: string; background: string; displayValue: boolean; fontSizeMM: number; marginMM: number; barcodeHeightMM: number; barcodeWidthMM: number; 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; }; renderBarcode(): Promise; } export declare class BarcodePlugin extends GraphicPlugin { name: string; version: string; graphicType: string; graphicElement: typeof BarcodeElement; 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>; }