import type { FetchSummary } from "#tools/fetch/download"; import { type SnapshotFetchOptions } from "#tools/fetch/storage"; export type FetchHoujinJPOptions = SnapshotFetchOptions; /** * The date a nationwide file's attachment name states, as the vintage `YYYY-MM-DD`: * `00_zenkoku_all_20260831.zip` is `2026-08-31`. * * @throws When the name states no date, as the fallback name `zenkoku_all_.zip` does. */ export declare function houjinVintage(filename: string): string; /** * Downloads the nationwide Unicode CSV into its snapshot, `houjin-jp//`. * * The date is known only from the download's attachment header, so the file is first * written to `houjin-jp/.download-/` beside the vintages. * The vintage is then read off its name, and the file moves into the vintage through `writeSnapshot`. * A refused vintage removes the download. */ export declare function fetchHoujinJP(options: FetchHoujinJPOptions, report?: (line: string) => void): Promise; //# sourceMappingURL=houjin.d.ts.map