export interface IValidation {
    required?: {
        value: boolean;
        message: string;
    };
    pattern?: {
        value: string;
        message: string;
    };
    custom?: {
        isValid: (value: string) => boolean;
        message: string;
    };
}
export declare type TValidations<T extends {}> = Partial<Record<keyof T, IValidation>>;
