import { OnChanges, OnDestroy, AfterViewInit } from '@angular/core'; import { FormGroupDirective, AbstractControl } from '@angular/forms'; import { BehaviorSubject, Subject } from 'rxjs'; import { ErrorDetails, ErrorOptions } from './es-ngxerrors'; import * as i0 from "@angular/core"; export declare class EsErrorsDirective implements OnChanges, OnDestroy, AfterViewInit { private form; esErrors: string; subject: BehaviorSubject; control: AbstractControl; ready: boolean; destroy$: Subject; constructor(form: FormGroupDirective); get errors(): import("@angular/forms").ValidationErrors; get hasErrors(): boolean; hasError(name: string, conditions: ErrorOptions): boolean; isValid(name: string, conditions: ErrorOptions): boolean; getError(name: string): any; private checkPropState; private checkStatus; ngOnChanges(): void; private initControl; ngAfterViewInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }