import { CachedElement } from '../index'; /** * Replaces character HTML entities (e.g.  , >, etc.). */ export declare class PlainTextEncoder { protected _cachedElement: CachedElement; constructor(); encode(text: string, options?: PlainTextEncoderOptions): string; removeAttributeValues(text: string): string; } export interface PlainTextEncoderOptions { /** * If true, multiple consecutive empty lines are reduced to a single empty line. Default is false. */ compact?: boolean; /** * If true, empty lines at the beginning and the end of the text are removed. Default is true. * * Spaces at the beginning and at the end of *every* line are *always* removed. */ trim?: boolean; /** * Removes font icons. Default is false. */ removeFontIcons?: boolean; } //# sourceMappingURL=PlainTextEncoder.d.ts.map