import type { BaseFetchOptions, FetchSummary } from "#tools/fetch/download"; /** * The source directory the fetcher writes. */ export declare const OURAIRPORTS_SOURCE_ID = "ourairports"; export type FetchOurAirportsOptions = BaseFetchOptions; /** * One downloaded file as the manifest records it. */ export interface OurAirportsFileEntry { filename: string; source_url: string; sha256: string; bytes: number; /** * The upstream `Last-Modified`, when the CDN gave one. * * It is the data's vintage; `downloaded_at` is only when we asked. */ last_modified: string | null; } /** * What one run recorded. * `files` lists only the files that arrived. */ export interface OurAirportsManifest { source: string; base_url: string; license: string; downloaded_at: string; files: OurAirportsFileEntry[]; } /** * Download the OurAirports CSVs into `/ourairports/`, with a sibling `manifest.json` * carrying each file's origin URL, sha256, byte count and upstream `Last-Modified`. */ export declare function fetchOurAirports(options: FetchOurAirportsOptions, report?: (line: string) => void): Promise; //# sourceMappingURL=ourairports.d.ts.map