import { FormField } from './form-field'; export declare class Validators { /** * Validator for required field */ static required: (formField: FormField) => { required: boolean; }; /** * Validator required the value be true */ static requiredTrue: (formField: FormField) => { required: boolean; }; /** * Validator for minimum numberic value */ static min(value: number): (formField: FormField) => { min: number; } | { min: boolean; }; /** * Validator for maximum numberic value */ static max(value: number): (formField: FormField) => { max: number; } | { max: boolean; }; /** * Validator for minimum character length */ static minLength(value: number): (formField: FormField) => { minLength: number | boolean; }; /** * Validator for maximum character length */ static maxLength(value: number): (formField: FormField) => { maxLength: number | boolean; }; /** * Validator for minimum checkbox checked */ static minChecked(value: number): (formField: FormField) => { minChecked: number | boolean; }; /** * Validator for maximum checkbox checked */ static maxChecked(value: number): (formField: FormField) => { maxChecked: number | boolean; }; /** * Validator for email matcher */ static email: (formField: FormField) => { email: boolean; }; /** * Validator for regular expressions matcher */ static pattern(value: string | RegExp): (formField: FormField) => { pattern: boolean; }; }