import { ValidationErrors } from "@angular/forms";
export type IErrorMessageParams = {
    controllerErrors: ValidationErrors | null;
    label: string;
    language: 'en' | 'ar';
};
export type IErrorMessage = {
    required: (params: IErrorMessageParams) => string;
    minlength: (params: IErrorMessageParams) => string;
    maxlength: (params: IErrorMessageParams) => string;
    email: (params: IErrorMessageParams) => string;
    phone: (params: IErrorMessageParams) => string;
    number: (params: IErrorMessageParams) => string;
    date: (params: IErrorMessageParams) => string;
};
