export declare type IType = 'string' | 'number' | 'password' | 'email' | 'textarea';
export declare type ValidatorOuput = string | boolean;
export interface ValidatorFunc {
    (value: string): ValidatorOuput | Promise<ValidatorOuput>;
}
export interface IValidatorField {
    required: string;
    maxlength: string;
    minlength: string;
    max: string;
    min: string;
    pattern: string;
    email: string;
}
export declare type IValidatorMessage = Partial<IValidatorField>;
