1 | import { Factory } from './factory';
|
2 | import { RegistryReader } from './registry';
|
3 | import { Resolver } from './resolver';
|
4 | export default class Container {
|
5 | private _registry;
|
6 | private _resolver;
|
7 | private _lookups;
|
8 | private _factoryDefinitionLookups;
|
9 | constructor(registry: RegistryReader, resolver?: Resolver);
|
10 | factoryFor(specifier: string): Factory<any>;
|
11 | lookup(specifier: string): any;
|
12 | defaultInjections(specifier: string): object;
|
13 | teardown(): void;
|
14 | defaultTeardown(instance: any): void;
|
15 | private buildInjections;
|
16 | private buildFactory;
|
17 | }
|