import { UIColor } from "./UIColor";
import { UILocalizedTextObject } from "./UIInterfaces";
import { UIObject } from "./UIObject";
import { UIRectangle } from "./UIRectangle";
import type { ValueOf } from "./UIObject";
import { UIView, UIViewBroadcastEvent } from "./UIView";
export declare class UITextView extends UIView {
    _textColor: UIColor;
    _textAlignment?: ValueOf<typeof UITextView.textAlignment>;
    _isSingleLine: boolean;
    textPrefix: string;
    textSuffix: string;
    _notificationAmount: number;
    _minFontSize?: number;
    _maxFontSize?: number;
    _automaticFontSizeSelection: boolean;
    changesOften: boolean;
    static defaultTextColor: UIColor;
    static notificationTextColor: UIColor;
    static _intrinsicHeightCache: {
        [x: string]: {
            [x: string]: number;
        };
    } & UIObject;
    static _intrinsicWidthCache: {
        [x: string]: {
            [x: string]: number;
        };
    } & UIObject;
    _intrinsicHeightCache: {
        [x: string]: {
            [x: string]: number;
        };
    } & UIObject;
    _intrinsicWidthCache: {
        [x: string]: {
            [x: string]: number;
        };
    } & UIObject;
    static _ptToPx: number;
    static _pxToPt: number;
    _text?: string;
    constructor(elementID?: string, textViewType?: string | ValueOf<typeof UITextView.type>, viewHTMLElement?: null);
    static _determinePXAndPTRatios(): void;
    static type: {
        readonly paragraph: "p";
        readonly header1: "h1";
        readonly header2: "h2";
        readonly header3: "h3";
        readonly header4: "h4";
        readonly header5: "h5";
        readonly header6: "h6";
        readonly textArea: "textarea";
        readonly textField: "input";
        readonly span: "span";
        readonly label: "label";
    };
    static textAlignment: {
        readonly left: "left";
        readonly center: "center";
        readonly right: "right";
        readonly justify: "justify";
    };
    get textAlignment(): ValueOf<typeof UITextView.textAlignment>;
    set textAlignment(textAlignment: ValueOf<typeof UITextView.textAlignment>);
    get textColor(): UIColor;
    set textColor(color: UIColor);
    get isSingleLine(): boolean;
    set isSingleLine(isSingleLine: boolean);
    get notificationAmount(): number;
    set notificationAmount(notificationAmount: number);
    notificationAmountDidChange(notificationAmount: number): void;
    get text(): string;
    set text(text: string);
    set innerHTML(innerHTML: string);
    get innerHTML(): string;
    setText(key: string, defaultString: string, parameters?: {
        [x: string]: string | UILocalizedTextObject;
    }): void;
    get fontSize(): number;
    set fontSize(fontSize: number);
    useAutomaticFontSize(minFontSize?: number, maxFontSize?: number): void;
    static automaticallyCalculatedFontSize(bounds: UIRectangle, currentSize: UIRectangle, currentFontSize: number, minFontSize?: number, maxFontSize?: number): number;
    didReceiveBroadcastEvent(event: UIViewBroadcastEvent): void;
    willMoveToSuperview(superview: UIView): void;
    layoutSubviews(): void;
    intrinsicContentHeight(constrainingWidth?: number): any;
    intrinsicContentWidth(constrainingHeight?: number): any;
    intrinsicContentSize(): UIRectangle;
}
