1 | import { Abstract, Type } from '@nestjs/common';
|
2 | import { GetOrResolveOptions } from '@nestjs/common/interfaces';
|
3 | import { Injector } from './injector';
|
4 | import { InstanceLinksHost } from './instance-links-host';
|
5 | import { ContextId } from './instance-wrapper';
|
6 | import { Module } from './module';
|
7 | export declare abstract class AbstractInstanceResolver {
|
8 | protected abstract instanceLinksHost: InstanceLinksHost;
|
9 | protected abstract injector: Injector;
|
10 | protected abstract get<TInput = any, TResult = TInput>(typeOrToken: Type<TInput> | Function | string | symbol, options?: GetOrResolveOptions): TResult | Array<TResult>;
|
11 | protected find<TInput = any, TResult = TInput>(typeOrToken: Type<TInput> | Abstract<TInput> | string | symbol, options: {
|
12 | moduleId?: string;
|
13 | each?: boolean;
|
14 | }): TResult | Array<TResult>;
|
15 | protected resolvePerContext<TInput = any, TResult = TInput>(typeOrToken: Type<TInput> | Abstract<TInput> | string | symbol, contextModule: Module, contextId: ContextId, options?: GetOrResolveOptions): Promise<TResult | Array<TResult>>;
|
16 | }
|