import { OnChanges, SimpleChanges } from '@angular/core'; import { ValidationErrors } from '@angular/forms'; import { IErrorMessages } from '../../form-field.model'; import * as i0 from "@angular/core"; export declare class FormFieldHintComponent implements OnChanges { /** * A hint to display, helping the user when filling a form field. */ help: string | undefined | null; /** * the ValidationErrors of a formControl */ errors: ValidationErrors | undefined | null; /** * Activate the display of error messages (disable for example when formControl is pristine if you don't * want to display errors at initial state) */ showErrors: boolean; /** * Display all errors or only the first error encountered (errors being sorted by key) */ showAllErrors: boolean; /** * Provides default messages to display for the possible error keys when none is present * in the errors object. If a message (string) is provided for a given key, it * will be displayed rather than the message provided in errorMessages. */ errorMessages: IErrorMessages | undefined | null; /** * Id for the hint message, can be used for accessibility aria-describedby attribute in parent component */ set id(val: string | undefined); get id(): string | undefined; readonly autoId: string; private _id?; hint: string | undefined | null; constructor(); ngOnChanges(changes: SimpleChanges): void; /** * Concat all error messages, either from input messages or from the value provided by validators */ buildErrorMessage(errors?: ValidationErrors | null): string | undefined; refreshMessage(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }