/** * Creates a new Request object with the same body, headers, and search params as the original. * * Replaces the URL with the given path, stripping the `.html` extension and `/index.html` for * asset matching. * https://developers.cloudflare.com/pages/platform/serving-pages/#route-matching * * @param req Request object to re-create. * @param path URL to use for the new Request object. * @returns A new Request object with the same body and headers as the original. */ export declare const createRouteRequest: (req: Request, path: string) => Request; //# sourceMappingURL=create-route-request.d.ts.map