/** Fold Latin diacritics (incl. Estonian õäöüšž) to ASCII. Keeps alphanumerics. */ export declare function foldDiacritics(s: string): string; /** * Compact a company name to its match key: lowercase, diacritics folded, legal-form * words removed, all non-alphanumerics stripped. Returns "" for a name that is only * a legal form. Example: "Globex Resources OÜ" → "globexresources". */ export declare function compactName(name: string): string; /** True if the name contains an Estonian legal-form word (OÜ, AS, MTÜ, …) — i.e. it reads * as a company, not a person. Diacritics are folded so "OÜ" / "MTÜ" are caught. */ export declare function hasLegalFormWord(name: string): boolean; /** * The match token for an email domain: the registrable label (the part before the * public suffix), diacritics folded, non-alphanumerics stripped. "a@globex.co" * → "globex"; "h@umbrella.eu" → "umbrella"; "x@mail.sub.acme.ee" → "acme". Heuristic: the * second-to-last dot-separated label (good enough for the flat TLDs we see; multi-part * suffixes like co.uk are rare for EE buyers and fall through to review anyway). */ export declare function domainToken(domain: string): string; /** The domain part of an email, lowercased; null if the address has no "@domain". */ export declare function emailDomain(email: string | null): string | null;