import { NestInterceptor, ExecutionContext, CallHandler } from '@nestjs/common'; import { Reflector } from '@nestjs/core'; import { PusherService } from './pusher.service'; /** * Intercepts the HTTP response and dispatches the pusher-event with the custom decorators * Binding this decorator globally will run just fine, PusherInterceptor checks whether the HTTP method supports or not * pusher events and skip normally if its not supported */ export declare class PusherInterceptor implements NestInterceptor { private readonly reflector; private readonly pusherService; private readonly logger; constructor(reflector: Reflector, pusherService: PusherService); intercept(context: ExecutionContext, next: CallHandler): Promise>; }