import { Validator } from "../validators/validator";
export declare enum FieldType {
    /**
     * @see min: the minimum number that can be assigned
     * @see max: the maximum number that can be assigned
     */
    number = "number",
    /**
     * @see min: the minimum date that can be assigned
     * @see max: the maximum date that can be assigned
     */
    date = "date",
    /**
     * @see min: the minimum length of the string
     * @see max: the maximum length of the string
     */
    string = "string",
    /**
     * @see min: not used
     * @see max: not used
     * @see validators: not used
     */
    boolean = "boolean",
    /**
     * @see min: the minimum length of the array
     * @see max: the maximum length of the array
     * @see validators: validators will be run against JSON.stringify() result...
     */
    array = "array",
    object = "object"
}
export interface IField {
    type: FieldType;
    name: string;
    min?: number | Date;
    max?: number | Date;
    validators?: Validator[];
    optional?: boolean;
}
//# sourceMappingURL=ifield.interface.d.ts.map