import { Entity } from './Entity';
import { ValidatorType } from '../FormGeneratorEnums/ValidatorTypeEnum';
interface ValidatorEntityAttr {
    type?: ValidatorType;
    errorMessage?: string;
}
export declare abstract class ValidatorEntity extends Entity {
    type?: ValidatorType;
    errorMessage?: string;
    protected constructor(props?: ValidatorEntityAttr);
}
interface RequiredValidatorEntityAttr {
    type?: ValidatorType;
    errorMessage?: string;
}
export declare class RequiredValidatorEntity extends ValidatorEntity {
    constructor(props?: RequiredValidatorEntityAttr);
    toJson(): {
        [key: string]: any;
    };
}
interface RegexValidatorEntityAttr extends ValidatorEntityAttr {
    pattern?: string;
}
export declare class RegexValidatorEntity extends ValidatorEntity {
    pattern: string;
    constructor(props?: RegexValidatorEntityAttr);
    toJson(): {
        [key: string]: any;
    };
}
export declare class EmailValidatorEntity extends RegexValidatorEntity {
    constructor(props?: RegexValidatorEntityAttr);
}
export declare class NumericValidatorEntity extends RegexValidatorEntity {
    constructor(props?: RegexValidatorEntityAttr);
}
export {};
