import { IText, Text } from './Text'; import { TextType } from './TextType'; import { HTMLStr, PlainTextStr } from "../util/Strings"; export declare class Texts { static create(body: string, type: TextType): Text; static toHTML(text: IText | string | undefined): HTMLStr | undefined; static toText(text: IText | string | undefined): PlainTextStr | undefined; static toString(text: IText | string | undefined): string | undefined; static isText(text: any | undefined): boolean; }