/** * Loads one curated libpostal dictionary as a lower-cased form set. * * A dictionary line reads `canonical|abbr|abbr|…` and every form is indexed, * so a lookup matches the canonical spelling and each abbreviation alike. * A line opening with `#` is a comment. * * `resourceDictionaryPath` resolves through `@mailwoman/dictionaries`' own manifest, * so a checkout and an install agree. * * The largest dictionary is 8.4 KB, and each caller loads it once per process at module load. */ export declare function loadLibpostalDictionary(language: string, filename: string): Promise>; /** * Loads one curated libpostal dictionary as a map from each lower-cased form * to its line's canonical spelling. * * `ул.` and `улица` both map to `улица`, so a count of distinct canonical values * counts street types rather than their spellings. * A form two lines share keeps the first line's canonical spelling. */ export declare function loadLibpostalCanonicalForms(language: string, filename: string): Promise>; //# sourceMappingURL=libpostal-dictionary.d.ts.map