1 | import { Controller, NestInterceptor, Type } from '@nestjs/common/interfaces';
|
2 | import { ApplicationConfig } from '../application-config';
|
3 | import { ContextCreator } from '../helpers/context-creator';
|
4 | import { NestContainer } from '../injector/container';
|
5 | import { InstanceWrapper } from '../injector/instance-wrapper';
|
6 | export declare class InterceptorsContextCreator extends ContextCreator {
|
7 | private readonly container;
|
8 | private readonly config?;
|
9 | private moduleContext;
|
10 | constructor(container: NestContainer, config?: ApplicationConfig);
|
11 | create(instance: Controller, callback: (...args: unknown[]) => unknown, module: string, contextId?: import("../injector/instance-wrapper").ContextId, inquirerId?: string): NestInterceptor[];
|
12 | createConcreteContext<T extends any[], R extends any[]>(metadata: T, contextId?: import("../injector/instance-wrapper").ContextId, inquirerId?: string): R;
|
13 | getInterceptorInstance(metatype: Function | NestInterceptor, contextId?: import("../injector/instance-wrapper").ContextId, inquirerId?: string): NestInterceptor | null;
|
14 | getInstanceByMetatype(metatype: Type<unknown>): InstanceWrapper | undefined;
|
15 | getGlobalMetadata<T extends unknown[]>(contextId?: import("../injector/instance-wrapper").ContextId, inquirerId?: string): T;
|
16 | }
|