import type { ArgumentsHost, ExecutionContext } from '@nestjs/common'; import type { Request } from 'express'; export declare function getRequestResponseFromHost(host: ArgumentsHost): { req: Request>; res: import("express-serve-static-core").Response, number> | undefined; } | { req: Request>; res?: undefined; }; export declare function getRequestFromHost(host: ArgumentsHost): Request>; export declare function getRequestResponseFromContext(ctx: ExecutionContext): { req: Request>; res: import("express-serve-static-core").Response, number> | undefined; } | { req: Request>; res?: undefined; }; /** * simple patch for request not protected by `cookie-parser` * only take effect if `req.cookies` is not defined */ export declare function parseCookies(req: Request): void; //# sourceMappingURL=request.d.ts.map