import { LogPointService } from '../../../../../logs/LogPointService'; import { AnyObject } from '../../../../../utils/utils'; import { TermElement } from "../../core/dom/Element"; export declare class TermText2 extends TermElement { static elementName: string; name: string; textContent: string; lines: any[]; internalDimensions: { width: number; height: number; }; conf: AnyObject; dirtyTextLayout: boolean; lp?: LogPointService; constructor(); setDirtyTextLayout(): void; setLayoutConfig(configuration: AnyObject): void; computeLayout(): void; getLine(y: number): any; getPreferredSize(maxWidth: any, widthMode: any, maxHeight: any, heightMode: any): { width: number; height: number; }; getInternalContentWidth(): number; getInternalContentHeight(): number; renderContent(x: any, y: any, l: any): string; } export declare function wrapText(text: string, maxWidth: number, wrapType: string): string;