import { ErrorMessagesMap } from '../interfaces/errors'; import { AbstractControl, FormGroupDirective, NgForm } from '@angular/forms'; import * as i0 from "@angular/core"; export declare const DEFAULT_ERROR_MESSAGES: ErrorMessagesMap; export declare class ErrorControl { private _parentForm; private _parentFormGroup; errorMessages: ErrorMessagesMap; constructor(_parentForm: NgForm, _parentFormGroup: FormGroupDirective); errorOutput(control: AbstractControl): string; isErrorState(control: AbstractControl): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }