UNPKG

604 BTypeScriptView Raw
1import { Resolver as IResolver } from '@glimmer/di';
2import { ModuleRegistry } from './module-registry';
3import { ResolverConfiguration } from './resolver-configuration';
4export default class Resolver implements IResolver {
5 config: ResolverConfiguration;
6 registry: ModuleRegistry;
7 constructor(config: ResolverConfiguration, registry: ModuleRegistry);
8 identify(specifier: string, referrer?: string): string;
9 retrieve(specifier: string): any;
10 resolve(specifier: string, referrer?: string): any;
11 private _definitiveCollection(type);
12 private _serializeAndVerify(specifier);
13}