export declare class Registry { /** * List of all callbacks */ protected callbacks: { [key: string]: () => any; }; /** * List of all fresh resources */ protected fresh: { [key: string]: boolean; }; /** * List of all connections */ protected registry: { [key: string]: { [key: string]: any; }; }; /** * Current context */ protected _context: string; /** * Set a new connection callback */ set(name: string, callback: () => any, fresh?: boolean): this; /** * If connection has been created returns it, otherwise create and then return it */ get(name: string, fresh?: boolean): any; /** * Set the current context */ context(name: string): this; }