declare class FetchHeaders { private headers; constructor(init?: Record); get(name: string): string | null; has(name: string): boolean; entries(): [string, string][]; toJSON(): Record; forEach(callback: (value: string, name: string, headers: FetchHeaders) => void): void; [Symbol.iterator](): Iterator<[string, string]>; } declare class FetchResponse { readonly status: number; readonly statusText: string; readonly ok: boolean; readonly headers: FetchHeaders; readonly url: string; readonly redirectUrls: string[]; private _body; constructor(status: number, body: Uint8Array, headers: Record, url: string, redirectUrls?: string[]); text(): Promise; json(): Promise; blob(): Promise; arrayBuffer(): Promise; } interface RequestInit { method?: string; headers?: Record; body?: string | Uint8Array; signal?: AbortSignal; timeout?: number; rejectUnauthorized?: boolean; redirect?: 'follow' | 'manual' | 'error'; _redirectCount?: number; _redirectUrls?: string[]; } export declare const fetch: (input: string | URL, init?: RequestInit) => Promise; export {}; //# sourceMappingURL=fetch.d.ts.map