export declare class HtmlHelper { static clearSelection(): void; static elementFromString(html: string): Element; /** * Replaces reserved html characters with html entities e.g. '<' with '<' */ static escapeSpecialChars(s: string): string; /** * Strips leading / trailing whitespace from a field's current value in place, returning whether it * changed. Dispatches nothing — the caller emits. Call at commit points only: on `input` it would * swallow the space in "hello world" as it is typed. */ static trimElementValue(element: HTMLInputElement | HTMLTextAreaElement): boolean; static pasteIntoInput(value: string, element: HTMLInputElement | HTMLTextAreaElement): void; static sanitizeSvg(svg: string): string; static sanitizeHtml(html: string): string; static stripHtml(html: string, lineBreaksReplacer?: string | null, trimResult?: boolean): string; }