export interface TextToHtmlOptions { lineStyle?: string | null; shouldAddMonospaceStyle?: boolean; } export declare function textToHtml(text: string, options?: TextToHtmlOptions): string; export declare function textToDocumentFragment(document: Document, text: string, options?: TextToHtmlOptions): DocumentFragment; export declare function linesToDocumentFragment(document: Document, lines: Iterable, options?: TextToHtmlOptions): DocumentFragment; export declare const NBSP = "\u00A0"; export declare function expandWhitespace(text: string): string;