/// import * as Koa from 'koa'; import { NestMiddleware } from '@nestjs/common'; export type NestKoaFunctionalMiddleware = (req: Koa.Request, res: Koa.Response, next: Koa.Next) => Promise | any; export interface NestKoaMiddleware { use(req: Koa.Request, res: Koa.Response, next: Koa.Next): Promise | any; } export declare const koaToNestMiddleware: (middleware: Koa.Middleware) => NestKoaFunctionalMiddleware; export declare const nestToKoaMiddleware: (middleware: NestMiddleware['use']) => Koa.Middleware; //# sourceMappingURL=NestKoaMiddleware.d.ts.map