/** * Injects an instance of the specifed type. That instance maybe come from higer level relation provide it. * * @param classType - Type to inject * @param constructorArgs - Optional arguments for the constructor, by naming convention an interface should be supplied specifying the expected parameters * the name of the interface should follow Constructor i.e. * Type: HttpClient, if supporting constructor arguments an interface named: "HttpClientConstructor" should be supplied. * * E.g.: * Inject(HttpClient,{someConstructorArg1:"",someConstructorArg2}) */ export declare function Inject(classType: any, constructorArgs?: T): any; type Class = { new (...args: any[]): T; }; /** * Injects an instance of the specifed type. That instance maybe come from higer level relation provide it. * * @param classType - Type to inject * @param constructorArgs - Optional arguments for the constructor, by naming convention an interface should be supplied specifying the expected parameters * the name of the interface should follow Constructor i.e. * Type: HttpClient, if supporting constructor arguments an interface named: "HttpClientConstructor" should be supplied. * * E.g.: * useInject(HttpClient,{someConstructorArg1:"",someConstructorArg2}) */ export declare function useInject(classType: Class, constructorArgs?: TConstructor): TClass; export {};