import { MastraServerBase } from '@mastra/core/server'; import type { ServerRoute } from '@mastra/server/server-adapter'; import type { Application } from 'express'; import type { RouteHandlerService } from './services/route-handler.service.js'; /** * Mastra server adapter wrapper for NestJS. * Provides app access and delegates dynamic route registration to the catch-all controller. */ export declare class NestMastraServer extends MastraServerBase { private readonly routeHandler; constructor(app: Application, routeHandler: RouteHandlerService); registerRoute(_app: Application, route: ServerRoute, _options?: { prefix?: string; }): Promise; } //# sourceMappingURL=mastra-server.adapter.d.ts.map