import { NestInterceptor } from '@nestjs/common'; import { ContextType, Controller } from '@nestjs/common/interfaces'; import { Observable } from 'rxjs'; import { ExecutionContextHost } from '../helpers/execution-context-host'; export declare class InterceptorsConsumer { intercept(interceptors: NestInterceptor[], args: any[], instance: Controller, callback: (...args: any[]) => any, next: () => Promise, type?: TContext): Promise; createContext(args: any[], instance: Controller, callback: (...args: any[]) => any): ExecutionContextHost; transformDeffered(next: () => Promise): Observable; }