export type SecureFetchOptions = { label: string; maxBytes: number; timeoutMs: number; }; /** Read a small HTTPS resource with redirect, timeout, and streamed size bounds. */ export declare function fetchHttpsBytes(url: string, options: SecureFetchOptions): Promise; export declare function fetchHttpsText(url: string, options: SecureFetchOptions): Promise; /** Stream a large HTTPS artifact to a new private file while hashing it. */ export declare function downloadHttpsFile(url: string, destination: string, options: SecureFetchOptions): Promise; /** Hash a local file without buffering the complete artifact in memory. */ export declare function sha256File(path: string): Promise; //# sourceMappingURL=secure-fetch.d.ts.map