1 | import { NestInterceptor } from '@nestjs/common';
|
2 | import { ContextType, Controller } from '@nestjs/common/interfaces';
|
3 | import { Observable } from 'rxjs';
|
4 | import { ExecutionContextHost } from '../helpers/execution-context-host';
|
5 | export declare class InterceptorsConsumer {
|
6 | intercept<TContext extends string = ContextType>(interceptors: NestInterceptor[], args: any[], instance: Controller, callback: (...args: any[]) => any, next: () => Promise<any>, type?: TContext): Promise<any>;
|
7 | createContext(args: any[], instance: Controller, callback: (...args: any[]) => any): ExecutionContextHost;
|
8 | transformDeffered(next: () => Promise<any>): Observable<any>;
|
9 | }
|
10 |
|
\ | No newline at end of file |