import { AbstractControl } from '../../abstract/abstract-control' ; export interface ValidatorFn { ( control ) : { [ key ] : any ; } | null ; } export interface AsyncValidatorFn { ( control ) : Promise < { [ key ] : any ; } | null > ; }