import { Injector } from './Injector'; /** * Set the global injector instance. * This should be used only in a final project. * * Relying on the global injector instance should never be used in a library project * because it reduce its usability. * @param injector The injector that will be made available statically available in all the application */ export declare function configureGlobalInjector(injector: Injector): void; /** * Get the instance of the global injector. * * This should be used only to dynamically modify the current global instance. * Instances should be fetched using {@link getGlobalInstance} */ export declare function exportGlobalInjector(): Injector | undefined; /** * Get instances configure in the global injector instance. See {@link Injector.getInstance} * @param type The type for which an instance of is required */ export declare function getGlobalInstance(type: Function & { prototype: T; }): T;