import TextMesh from '../../extras/TextMesh';
import * as PIXI from 'pixi.js';
import { TextStyle } from 'pixi.js';
declare const PrintTextMesh_base: {
    new (...args: any[]): {
        width: number;
        height: number;
        lock: boolean;
        doLock: Function;
        addChild: any;
        backgroundHolder: PIXI.Container<PIXI.DisplayObject>;
        scale: any;
        on: any;
        data: any;
        _role: string;
        readonly role: string;
        setRole(name: string): string;
        PIXEL_PER_CM: number;
        readonly WIDTH_VIA_CM: number;
        readonly HEIGHT_VIA_CM: number;
        readonly AREA_VIA_CM: number;
        "__#9@#hasBackground": boolean;
        readonly hasBackground: boolean;
        "__#9@#__onchange"(): void;
        addBackground(data?: {
            color?: number | undefined;
        } | undefined): void;
        removeBackground(): void;
        toJSON(external?: any): any;
        fromJSON(data: any): void;
    };
} & typeof TextMesh;
export default class PrintTextMesh extends PrintTextMesh_base {
    #private;
    constructor(props?: any);
    isResized: boolean;
    type: string;
    changeStyle(style: TextStyle): void;
    viewAsWeb(): Promise<void>;
    prepairPrint(): Promise<void>;
    toJSON(external?: any): any;
    fromJSON(data: string | any): Promise<void>;
}
export {};
