/** * The code `country`'s addresses use for the region `regionName`, or `null` when they write the name. */ export declare function regionCodeFor(country: string, regionName: string): string | null; /** * The ISO 3166-2 code `region` stands for in `country`, when the country's * addresses write that code: the subdivision's libaddressinput key is its ISO code, * and the region is written as the key or as one of the subdivision's names. * * United States `TX` and `Texas` both return `TX`. * The United Arab Emirates keys Abu Dhabi by its Arabic name, `أبو ظبي`, beside ISO code `AZ`, * so its addresses write the name and the region returns `null`. * The comparison ignores case. */ export declare function writtenSubdivisionCode(country: string, region: string): string | null; /** * {@link writtenSubdivisionForISO}, for a country whose cited layout writes libaddressinput's * keys (`citationWritesKeys`), or `null` for any other country. */ export declare function citedSubdivisionForISO(country: string, isoSuffix: string): string | null; /** * Every key and name libaddressinput lists for `country`'s subdivisions * (`TX`, `Texas`; `AE`, `Armed Forces (AE)`; `TO`, `Torino`), or none when it lists no subdivisions. */ export declare function subdivisionWrittenForms(country: string): string[]; /** * The name of the region `country`'s addresses write as `regionCode`, in lower case as the * spec table holds it, title-cased word by word, or `null` when they write no such code. */ export declare function regionNameFor(country: string, regionCode: string): string | null; //# sourceMappingURL=region-codes.d.ts.map