/** * NestJS integration exports */ import type { INestApplication } from '@nestjs/common'; import { getDefaultNestJsConfig, type ConfigureNestAppResult } from './configureNestApp'; export { CoreModule, CORE_OPTIONS, DB_SERVICE } from './CoreModule'; export { StreamingModule } from './StreamingModule'; export { StreamingController, STREAM_SERVER } from './StreamingController'; export { getDefaultNestJsConfig, type ConfigureNestAppResult }; /** * Configure a NestJS application with middleware based on CoreInitOptions. * Uses the options passed to CoreModule.forRoot() automatically. * * @param app - NestJS application instance * @returns Configuration result with enabled/skipped features * * @example * ```typescript * import { NestFactory } from '@nestjs/core'; * import { configureNestApp } from '@plyaz/core/nestjs'; * * const app = await NestFactory.create(AppModule); * const result = await configureNestApp(app); * console.log('Enabled:', result.enabled); * ``` */ export declare function configureNestApp(app: INestApplication): Promise; //# sourceMappingURL=index.d.ts.map