import { ValidationErrors } from '@angular/forms'; import { TsDatePipe } from '@terminus/ui/pipes'; /** * Define a service that offers custom validators */ export declare class TsValidationMessagesService { private datePipe; constructor(datePipe: TsDatePipe); /** * Return the correct error message for a validator * * @param validatorName - The name of the validator * @param validatorValue - The value of the validator * @returns The error message */ getValidatorErrorMessage(validatorName: string, validatorValue?: ValidationErrors): string; }