export declare type CloneableRequest = { body: ArrayBuffer | null; cache: RequestCache; credentials: RequestCredentials; destination: RequestDestination; headers: [string, string][]; integrity: string; keepalive: boolean; method: string; mode: RequestMode; redirect: RequestRedirect; referrer: string; referrerPolicy: ReferrerPolicy; url: string; }; export declare type CloneableResponse = { body: ArrayBuffer | null; headers: [string, string][]; ok: boolean; redirected: boolean; status: number; statusText: string; type: ResponseType; url: string; }; /** * Construct a cloneable object for a given Request or Response. * @see [The structured clone algorithm - Web APIs | MDN]{@link https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm} */ declare function toCloneable(request: Request): Promise; declare function toCloneable(response: Response): Promise; export default toCloneable; //# sourceMappingURL=toCloneable.d.ts.map