/** * @copyright Sister Software * @license AGPL-3.0 * @author Teffen Ellis, et al. * * `fcc-bdc`: FCC Broadband Data Collection (BDC) adapter. * * Reads BDC Fabric addresses from a prebuilt SQLite database. * Note that Fabric IDs are managed by CostQuest and may be subject to licensing or usage restrictions. * * Each row is keyed by `location_id` and includes: * `address_primary`, `city`, `state`, `zip`, and `zip_suffix`. * * This adapter does not download raw BDC files. * * It converts each source row into one CanonicalRow by: * - splitting `address_primary` into `house_number` + `street` * - combining `zip` + `zip_suffix` into `postcode` * * Rows are stamped with the source license: `"Public Domain"`. */ import { type CorpusAdapter } from "#types"; /** * Stable registry id for this adapter. */ export declare const FCC_BDC_ADAPTER_ID = "fcc-bdc"; /** * Default license stamped on emitted rows. */ export declare const FCC_BDC_DEFAULT_LICENSE = "Public Domain"; /** * Build USPS postcode from `zip` and optional `zip_suffix`. * Handles both a 4-digit suffix and a full ZIP+4 value. * * - Bare 4-digit extension (`zip="94103"`, `zip_suffix="1234"`) → `"94103-1234"` * - Already-joined form (`zip_suffix="94103-1234"`) → returned as-is * - No suffix → bare `zip` * * Empty/whitespace suffix is treated as missing. */ export declare function buildPostcode(zip: string, suffix: string | null): string; /** * Build the BDC corpus adapter. */ export declare function createFccBdcAdapter(): CorpusAdapter; /** * Default configured adapter instance. */ export declare const fccBdcAdapter: CorpusAdapter; //# sourceMappingURL=adapter.d.ts.map