import { OnModuleInit } from '@nestjs/common'; import { DiscoveryService } from '@nestjs/core'; import { ClsInitContext } from './cls-plugin.interface'; /** * This class gathers all the plugin hooks registered in the DI * and makes them available to the CLS-initializers (Cls-Middleware, -Guard, -Interceptor) * via a singleton instance. */ export declare class ClsPluginsHooksHost implements OnModuleInit { private readonly discoveryService; private beforeSetupHooks; private afterSetupHooks; private readonly cls; private static _instance; static getInstance(): ClsPluginsHooksHost; constructor(discoveryService: DiscoveryService); onModuleInit(): void; beforeSetup(context: ClsInitContext): Promise; afterSetup(context: ClsInitContext): Promise; } //# sourceMappingURL=cls-plugin-hooks-host.d.ts.map