export declare const ARABIC_LETTER: RegExp; export interface NormalisationRules { general: { unicode_form: string; word_separators: string; drop_characters: string; }; arabic: { remove: Record; replace: Record; strip_prefix: { prefix: string; min_remaining: number; }; generic_words: string[]; synonyms?: Record; }; latin: { lowercase: boolean; strip_accents: boolean; articles: string[]; glued_articles: { prefixes: string[]; min_remaining: number; }; collapse_double_letters: boolean; replace: [string, string][]; final_h_after_vowel?: boolean; generic_words: string[]; synonyms?: Record; skeleton: { replace: [string, string][]; vowels: string; min_length?: number; }; }; } export declare class Normaliser { readonly rules: NormalisationRules; private readonly separators; private readonly drop; private readonly arabicRemove; private readonly arabicGeneric; private readonly latinGeneric; private readonly articles; constructor(rules: NormalisationRules); /** The matching key for name: lower-case Latin and normalised Arabic words, single-spaced. */ key(name: string, synonyms?: boolean): string; /** The key with synonyms applied, then without them if that differs. */ keys(name: string): string[]; /** A consonant skeleton of a Latin key, for fuzzy scoring. */ skeleton(key: string): string; script(name: string): "ar" | "latin"; private word; private arabicPlain; private arabic; private latin; }