import type { NestMiddleware } from '@nestjs/common'; import type { Request, Response, NextFunction } from 'express'; import type { MastraModuleOptions } from '../mastra.module.js'; /** * Middleware that parses JSON request bodies. * Uses express.json() with size limits from configuration. * * This middleware is essential for JSON request bodies to work properly. * NestJS does not automatically parse JSON bodies unless body-parser is configured. */ export declare class JsonBodyMiddleware implements NestMiddleware { private readonly options; private readonly jsonParser; constructor(options: MastraModuleOptions); use(req: Request, res: Response, next: NextFunction): void; } //# sourceMappingURL=json-body.middleware.d.ts.map