Provides a set of built-in validators that can be used by form controls.
class Validators { static min(min: number): ValidatorFn; static max(max: number): ValidatorFn; static required(control: AbstractControl<any, any>): ValidationErrors | null; static requiredTrue(control: AbstractControl<any, any>): ValidationErrors | null; static email(control: AbstractControl<any, any>): ValidationErrors | null; static minLength(minLength: number): ValidatorFn; static maxLength(maxLength: number): ValidatorFn; static pattern(pattern: string | RegExp): ValidatorFn; static nullValidator(control: AbstractControl<any, any>): ValidationErrors | null; static compose(validators: null): null; static compose(validators: (ValidatorFn | null | undefined)[]): ValidatorFn | null; static composeAsync(validators: (AsyncValidatorFn | null)[]): AsyncValidatorFn | null;}