/** * @copyright Sister Software * @license AGPL-3.0 * @author Teffen Ellis, et al. * * Re-fetch the NPPES (National Plan and Provider Enumeration System) full monthly data * dissemination file. ~7M provider rows with venue+address data. Source for the `usgov-nppes` * adapter. US Public Domain. * * The file is published monthly by CMS. This module discovers the current filename by scraping the * NPI_Files.html index, then downloads the ZIP and extracts only the main registry CSV * (npidata_pfile_*.csv). The smaller endpoint/othername/pl files stay zipped — we don't need them. * * Uses Node's built-in fetch (gzip/brotli) to parse the HTML index and download the ZIP, and * streaming sha256 instead of sha256sum. The ZIP is unpacked with the `unzip` binary via * `node:child_process` (no clean Node equivalent for member listing + selective extraction). NOTE: * the old bash fetcher used `curl --continue-at -` to resume a partial download; native fetch has * no resume, so a partial run re-downloads from the start. * * Invoke via `mailwoman corpus fetch nppes --out-root `. Idempotent: if dest CSV exists and * sha256 matches MANIFEST, skips download. */ import type { BaseFetchOptions, FetchSummary } from "./download.ts"; export type FetchNPPESOptions = BaseFetchOptions; export declare function fetchNPPES(options: FetchNPPESOptions, report?: (line: string) => void): Promise; //# sourceMappingURL=nppes.d.ts.map