import FontPeer, { FontStyle } from './FontPeer';
import ElementPeer from './ElementPeer';
import SizeType from '../../SizeType';
import PositionType from '../../PositionType';
declare class TextPeer extends ElementPeer {
    private _position;
    private _font;
    private _textAlign;
    private _text;
    constructor(fontPeer: FontPeer);
    append(element: ElementPeer): void;
    setTextAlignment(align: string): void;
    getTextAlignment(): 'left' | 'right' | 'center';
    setText(text: string): void;
    getTextLines(): string[];
    getText(): string;
    setPosition(x: number, y: number): void;
    getPosition(): PositionType;
    getNativePosition(): {
        left: number;
        top: number;
    };
    setFont(fontName: string, size: number, style: string, weight: string): void;
    private updateFontStyle;
    setColor(color: string): void;
    getColor(): string | null;
    setTextSize(size: number): void;
    setStyle(style: string): void;
    setWeight(weight: string): void;
    setFontName(fontName: string): void;
    getFontStyle(): FontStyle;
    setFontSize(size: number): void;
    getShapeWidth(): number;
    getShapeHeight(): number;
    getHtmlFontSize(scale: SizeType): string;
}
export default TextPeer;
