import type { BaseFetchOptions, FetchSummary } from "#tools/fetch/download"; /** * Countries fetched when the caller names none. * * Venezuela is deliberately absent because GeoNames doesn't publish it. */ export declare const GEONAMES_POSTAL_DEFAULT_COUNTRIES: readonly ["PT", "AU", "NZ", "IE", "BR", "ZA", "MX"]; export interface FetchGeonamesPostalOptions extends BaseFetchOptions { /** * ISO alpha-2 codes in any casing. * * @defaultValue {@linkcode GEONAMES_POSTAL_DEFAULT_COUNTRIES} */ countries?: readonly string[] | null; /** * Export directory to read from. * * @defaultValue GeoNames' own, so the 404-is-coverage behavior can be exercised against a local server. */ baseURL?: string; } /** * Download the requested GeoNames postal zips into `/geonames-postal/` with * a sibling `manifest.json`; a country the source doesn't cover is counted as failed * and recorded in `failedCodes` without stopping the rest. */ export declare function fetchGeonamesPostal(options: FetchGeonamesPostalOptions, report?: (line: string) => void): Promise; //# sourceMappingURL=postal.d.ts.map