/** Core */ import { Generic } from "cmf.core/src/core"; import { ModuleLoaderComponent } from 'cmf.core/src/domain/extensions/module.loader'; /** Angular2 */ import * as ng from "@angular/core"; /** * @whatItDoes * Lazy loads a component based on a module path and component as part of the module's declarations * * ### Inputs * `Array` : **components** - Specifies the module path, component (name or type) and all its inputs and outputs ; * * ### Outputs * `Error` : **error** - Error to instantiate component ; * `ng.ComponentRef[]` : **componentRef** - Reference of instantiate component . * * ### Example * To use the component, assume this HTML Template as an example: * * ```HTML * * ``` * */ export declare class Dynamic extends Generic implements ng.OnInit { private viewContainerRef; private loader; components: Array; error: ng.EventEmitter; componentRef: ng.EventEmitter[]>; constructor(viewContainerRef: ng.ViewContainerRef, loader: ng.NgModuleFactoryLoader); ngOnInit(): void; } export declare class DynamicModule { }