import nodeFetch from 'node-fetch'; import { SelfThrottle } from 'self-throttle'; import { Duration, Instant } from './temporal'; export declare type Fetch = typeof nodeFetch; declare type BytesParams = { gigabytes?: number; megabytes?: number; kilobytes?: number; bytes?: number; }; export declare class Bytes { readonly bytes: number; private constructor(); static from(from: BytesParams): Bytes; } export declare type SnarfetchOptions = { fetch?: Fetch; throttle?: new () => SelfThrottle; gcInterval?: Duration; maximumStorageBytes?: Bytes; maximumStoragePerTargetBytes?: Bytes; now?: () => Instant; }; export declare const SNARFETCH_DEFAULTS: Required; export {};