import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core'; import { FormControl } from '@angular/forms'; import { SubSink } from 'subsink'; import * as i0 from "@angular/core"; export declare class FormErrorsComponent implements OnInit, OnDestroy { private cdr; private elRef; type: string; formElement: any; subs: SubSink; control: FormControl; controls: FormControl[]; mainErrorControl: FormControl; errors: { [key: string]: string; }; set Errors(value: { [key: string]: string; }); controlsErrors: any; constructor(cdr: ChangeDetectorRef, elRef: ElementRef); ngOnInit(): void; focus(): void; hasError(): boolean; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }