import { OnInit } from '@angular/core'; import { AbstractControl } from '@angular/forms'; import * as i0 from "@angular/core"; export declare class ControlErrorsComponent implements OnInit { control?: AbstractControl; errorMessages: { [key: string]: string; }; error?: string; touched: boolean; constructor(); ngOnInit(): void; getErrors(): Array; getErrorMessage(error: string): string; getServerErrorMessage: (error: string | number) => string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }