import type { CallHandler, ExecutionContext, NestInterceptor } from '@nestjs/common'; import type { Observable } from 'rxjs'; import { ILogger } from '../logging'; import { ProtocolDetector } from '../transport/protocol.detector'; import type { ITransport, PlatformAppPlugin } from '../types'; import type { TracingHeaderMappings } from './types'; /** * Extracts headers that should be passed to all logging messages * and external calls */ export declare class TracingInterceptor implements NestInterceptor { private logger; private transports; private plugins; private mappings; private detector; /** * Extractors can be either transports or additional strategies * supplied by plugins */ private readonly extractors; constructor(logger: ILogger, transports: Set, plugins: Set, mappings: TracingHeaderMappings[], detector: ProtocolDetector); intercept(ctx: ExecutionContext, next: CallHandler): Observable; }