import { IDictionary, INewable } from './interfaces'; /** * Loader */ export declare class Loader { private static controllers; private static instances; static setControllers(controllers: IDictionary>): void; static addController(name: string, controller: any): void; static getInstance(name: string): any; static clearInstances(): void; } /** * Singleton decorator * When creating a controller using this decorator the controller is not cleared by Loader class * @param constructorFunction constructor */ export declare function Singleton(constructorFunction: Function): void;