import { ComponentRef, Type } from '@angular/core'; import { AfterViewInit, OnInit, OnDestroy, ComponentFactoryResolver } from '@angular/core'; import { OnChanges, SimpleChange, ViewContainerRef } from '@angular/core'; import { FormGroup } from '@angular/forms'; import { AngularmService } from '../angularm.service'; import { EntityType, PropertyType, Entity, Property } from '../entitytype'; export declare class AbstractPortDirective implements AfterViewInit, OnChanges, OnDestroy, OnInit { private componentTarget; private compiler; private angularm; protected componentRefs: Array>; protected wasViewInitialized: boolean; constructor(componentTarget: ViewContainerRef, compiler: ComponentFactoryResolver, angularm: AngularmService); protected foreachEntityType(cb: (entityType: EntityType) => void): void; protected foreachPropertyType(entityType: EntityType, cb: (propertyType: PropertyType) => void): void; protected foreachEntity(entitytype: EntityType, cb: (entity: Entity) => void): void; protected foreachProperty(entity: Entity, cb: (property: Property) => void): void; protected createEntityTypeWidget(entityType: EntityType, port: string): void; protected createPropertyTypeWidget(propertyType: PropertyType, port: string, mgForm: FormGroup): void; protected createEntityWidget(entity: Entity, port: string): void; protected createPropertyWidget(property: Property, port: string, mgForm: FormGroup): void; refreshContent(): void; private destroyCurrentComponentRefs(); createComponent(componentType: Type): ComponentRef; ngOnInit(): void; ngAfterViewInit(): void; ngOnChanges(changes: { [key: string]: SimpleChange; }): void; ngOnDestroy(): void; }