/// import { HeadersShorthands } from "../context"; /** * Proxies a Request object such that the body parsing functions are consumable multiple * times by caching the result. It also parses JSON with protection against prototype poisoning. * * This is a proxy in the Javascript Proxy sense - not a proxied/forwarded request, nothing goes over the network. * @param request */ export declare function proxyRequest(request: Request): Request & HeadersShorthands;