import { Injector } from '@angular/core'; /** * Merge two injectors * * This class implements the Injector ng2 interface but delegates * to the Injectors provided in the constructor. */ export declare class MergeInjector implements Injector { static NOT_FOUND: {}; private injectors; constructor(...injectors: Injector[]); /** * Get the token from the first injector which contains it. * * Delegates to the first Injector.get(). * If not found, then delegates to the second Injector (and so forth). * If no Injector contains the token, return the `notFoundValue`, or throw. * * @param token the DI token * @param notFoundValue the value to return if none of the Injectors contains the token. * @returns {any} the DI value */ get(token: any, notFoundValue?: any): any; }