import { OnChanges, Provider, SimpleChanges } from '@angular/core'; import { AbstractControl, ValidationErrors, Validator } from '@angular/forms'; import * as i0 from "@angular/core"; export declare const MIN_VALIDATOR: Provider; /** * A directive which installs the MinValidator for any `formControlName`, * `formControl`, or control with `ngModel` that also has a `min` attribute. */ export declare class MinValidator implements Validator, OnChanges { min: number; private validator; private onChange; ngOnChanges(changes: SimpleChanges): void; validate(c: AbstractControl): ValidationErrors | null; registerOnValidatorChange(fn: () => void): void; private createValidator; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare const MAX_VALIDATOR: Provider; /** * A directive which installs the MaxValidator for any `formControlName`, * `formControl`, or control with `ngModel` that also has a `min` attribute. */ export declare class MaxValidator implements Validator, OnChanges { max: number | string; private validator; private onChange; ngOnChanges(changes: SimpleChanges): void; validate(c: AbstractControl): ValidationErrors | null; registerOnValidatorChange(fn: () => void): void; private createValidator; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }