import { NestInterceptor, ExecutionContext, CallHandler } from '@nestjs/common';
import { InternalContext } from './internal';
import EventEmitter from 'events';
export declare class NewRelicInterceptor implements NestInterceptor {
    private readonly customContext;
    private readonly emitter;
    constructor(customContext: InternalContext, emitter: EventEmitter);
    intercept(context: ExecutionContext, next: CallHandler): import("rxjs").Observable<any>;
    private readonly finishTransaction;
}
