import type { Definition, Exceptions } from './types'; export declare class Transliteration { private normalize; private letters; private longestLetter; private rules; private textRules; private skip; private word; private isWord; private wordExceptions; private tokenExceptions; constructor(definition: Definition); addExceptions({ words, stems }: Exceptions): void; clearExceptions(): void; transliterate(text: string): string; private transliterateToken; private transliterateWords; private transliterateWord; /** Where rules match: position → [length, replacement]. The first rule wins. */ private matchRules; private prepare; } /** Run several transliterations one after another, e.g. through a hub script. */ export declare function chain(...steps: Array<(text: string) => string>): (text: string) => string;