/** * @copyright Sister Software * @license AGPL-3.0 * @author Teffen Ellis, et al. * * US Census FIPS state codes → two-letter abbreviation + full display name. * * Covers all 50 states + DC + the five primary territories (PR, GU, VI, MP, AS). * * The data is public-domain US Census reference (FIPS PUB 5-2, withdrawn but still the canonical * numeric ID used by every TIGER product). It is reproduced here so the TIGER adapter can resolve * `statefp` columns (e.g. `"50"`) into a `region` component (e.g. `"VT"`) without an extra DB * join. */ /** * Per-state record: two-letter postal abbreviation + full canonical display name. */ export interface USStateInfo { abbreviation: string; name: string; } /** * FIPS state-or-territory code → `{ abbreviation, name }`. Includes all 50 states, DC, and the five primary territories * (PR, GU, VI, MP, AS). Codes are two-digit zero-padded strings to match TIGER column `statefp`. */ export declare const US_FIPS_STATE: Readonly>; /** * Lookup helper. Returns null when the FIPS code isn't recognized. */ export declare function lookupFipsState(statefp: string | null | undefined): USStateInfo | null; /** * Inverted view: two-letter postal abbreviation → `USStateInfo`. Built once at module load. Used by adapters whose * source data ships the abbreviation rather than the FIPS code (FCC BDC, most federal CSVs). */ export declare const US_STATE_BY_ABBREVIATION: Readonly>; /** * Lookup helper for adapters carrying 2-char USPS abbreviations (`"CA"`, `"VT"`). Case-folded; null for any value * outside the 50 states + DC + the five primary territories. */ export declare function lookupStateAbbreviation(abbreviation: string | null | undefined): USStateInfo | null; //# sourceMappingURL=us-fips-state.d.ts.map