import type { Alphabet } from '.'; /** * The alphabet a word is written in, or undefined if nothing in it tells the * alphabets apart: "Salom" reads the same in both Latin alphabets. */ export declare function detectWord(word: string): Alphabet | undefined; /** * The alphabet most of a text's telling words are written in; ties go to the * one seen first. Words that read the same in both Latin alphabets don't vote, * because most words of a 2026 text look like 1995 ones. */ export declare function detectText(text: string): Alphabet | undefined; /** * The text in runs of words written in one alphabet, so that rules across words * still apply. A word that reads the same in both Latin alphabets counts as * latin1995, with the same result; spaces, numbers and punctuation join the run * of the word after them: 25 март stays together. */ export declare function splitByAlphabet(text: string): [Alphabet, string][];