1 | import { Factory } from './factory';
|
2 | export declare const OWNER = "__owner__";
|
3 | export declare function getOwner(object: object): Owner;
|
4 | export declare function setOwner(object: object, owner: Owner): void;
|
5 | export interface Owner {
|
6 | identify(specifier: string, referrer?: string): string;
|
7 | factoryFor(specifier: string, referrer?: string): Factory<any>;
|
8 | lookup(specifier: string, referrer?: string): any;
|
9 | }
|