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: unknown[], instance: Controller, callback: (...args: unknown[]) => unknown, next: () => Promise<unknown>, type?: TContext): Promise<unknown>;
|
7 | createContext(args: unknown[], instance: Controller, callback: (...args: unknown[]) => unknown): ExecutionContextHost;
|
8 | transformDeferred(next: () => Promise<any>): Observable<any>;
|
9 | }
|
10 |
|
\ | No newline at end of file |