/** Character categories and heuristic ported directly from python-ftfy 6.3.1. */ declare const MOJIBAKE_CATEGORIES: { readonly common: " ­·´–—―…’"; readonly c1: "€-Ÿ"; readonly bad: "¦¤¨¬¯¸ƒˆˇ˘˛˜†‡‰⌐◊�ªº"; readonly law: "¶§"; readonly currency: "¢£¥₧€"; readonly start_punctuation: "¡«¿©΄΅‘‚“„•‹"; readonly end_punctuation: "®»˝”›™"; readonly numeric: "²³¹±¼½¾×µ÷⁄∂∆∏∑√∞∩∫≈≠≡≤≥№"; readonly kaomoji: "Ò-ÖÙ-Üò-öø-üŐŌŪŲ°"; readonly upper_accented: "À-ÑØÜÝĂĀĄĆČĎĐĘĚĒĖĞĢİĪĶĹĽŁĻŃŇŅŒŘŚŞŠŢŤŮŰŸŹŻŽҐ"; readonly lower_accented: "ßà-ñăąāćčďđęěēėğģįīķĺľłļœŕśşšťüźżžґfifl"; readonly upper_common: "ÞΑ-ΩΆΈΉΊΌΎΏΪΫЁ-Я"; readonly lower_common: "α-ωάέήίΰа-џ"; readonly box: "│┌┐┘├┤┬┼═-╬▀▄█▌▐░▒▓"; }; declare const BADNESS_RE: RegExp; declare function badness(text: string): number; declare function is_bad(text: string): boolean; /** Deprecated compatibility name from ftfy 2.x through 5.x. */ declare function sequence_weirdness(text: string): number; export { BADNESS_RE, MOJIBAKE_CATEGORIES, badness, is_bad, sequence_weirdness };