import { OnInit, OnDestroy, ComponentRef, ComponentFactoryResolver, ViewContainerRef } from '@angular/core'; import { NgControl } from '@angular/forms'; import { Subscription, Observable, Subject } from 'rxjs'; import { ErrorDictionary } from './form-errors'; import { ControlErrorsFormDirective } from './control-errors-form.directive'; import { ControlErrorComponent } from './control-error/control-error.component'; import { ControlErrorContainerDirective } from './control-error-container.directive'; export declare class ControlErrorsDirective implements OnInit, OnDestroy { private control; private form; private vcr; private resolver; ref: ComponentRef; container: ViewContainerRef; submit$: Observable<{}>; blur$: Subject; subs: Subscription[]; errors: ErrorDictionary; handleBlur(): void; constructor(control: NgControl, form: ControlErrorsFormDirective, controlErrorContainer: ControlErrorContainerDirective, vcr: ViewContainerRef, resolver: ComponentFactoryResolver); ngOnInit(): void; ngOnDestroy(): void; getInteractionHandler(): Observable; setError(text: string): void; getErrorMessage(): string; }