export type JsonMessage = Record | Record>; export type ErrorWhenType = 'dirty' | 'invalid' | 'pristine' | 'touched' | 'untouched'; export interface ClassNames { control: string; message: string; } export interface ErrorMessageConfig { validationsPrefix?: string; patternsPrefix?: string; errorMessages?: Record>; }