import { ExplanationStep, ExplainedText } from './index.cjs'; import './index-C0CpbZiO.cjs'; import './sloppy-Md2gXz46.cjs'; import './badness.cjs'; import './formatting.cjs'; /** Decode semicolon-terminated HTML5 entities, including ftfy's safe uppercase forms. */ declare function unescape_html(text: string): string; declare const ANSI_RE: RegExp; declare function remove_terminal_escapes(text: string): string; declare function uncurl_quotes(text: string): string; declare function fix_latin_ligatures(text: string): string; declare function fix_character_width(text: string): string; declare function fix_line_breaks(text: string): string; declare function fix_surrogates(text: string): string; declare function convert_surrogate_pair(pair: string): string; declare function remove_control_chars(text: string): string; declare function remove_bom(text: string): string; /** Decode the same escape forms accepted by Python Unicode string literals. */ declare function decode_escapes(text: string): string; declare function restore_byte_a0(bytes: Uint8Array): Uint8Array; declare function replace_lossy_sequences(bytes: Uint8Array): Uint8Array; declare function decode_inconsistent_utf8(text: string): string; declare function fix_c1_controls(text: string): string; /** Deprecated compatibility wrapper; use the top-level export. */ declare function fix_encoding(text: string): string; /** Deprecated compatibility wrapper; use the top-level export. */ declare function fix_encoding_and_explain(text: string): ExplainedText; /** Deprecated compatibility wrapper; use the top-level export. */ declare function apply_plan(text: string, plan: readonly ExplanationStep[]): string; export { ANSI_RE, apply_plan, convert_surrogate_pair, decode_escapes, decode_inconsistent_utf8, fix_c1_controls, fix_character_width, fix_encoding, fix_encoding_and_explain, fix_latin_ligatures, fix_line_breaks, fix_surrogates, remove_bom, remove_control_chars, remove_terminal_escapes, replace_lossy_sequences, restore_byte_a0, uncurl_quotes, unescape_html };