import { UntypedFormGroup, UntypedFormControl } from '@angular/forms'; export declare class FormUtil { /** It triggers the validation of every form-control from a formGroup */ static validateFormFields(formGroup: UntypedFormGroup): void; /** It returns a set of invalid controls */ static getInvalidControls(formGroup: UntypedFormGroup): any[]; /** It validates if a formcontrol has any error */ static hasErrors(formControl: UntypedFormControl): boolean; /** It validates if a formcontrol has a specific error */ static hasError(formControl: UntypedFormControl, error: string): any; }