import type { Readable } from "node:stream"; export interface HttpDownload { getStream(url: string): Promise; headCheck(url: string): Promise<{ ok: boolean; status: number; size?: number; }>; close?(): Promise; } export declare class FetchHttpDownload implements HttpDownload { private readonly rateLimitMs; private lastRequest; constructor(rateLimitMs?: number); headCheck(url: string): Promise<{ ok: boolean; status: number; size?: number; }>; getStream(url: string): Promise; } //# sourceMappingURL=http.d.ts.map