interface ValidatorResult { data: any } interface ValidatorSingleResult { field: string; value: any; } interface ValidatorInterface { validateAll() : Promise validate(fieldName : string , scope : string) : Promise; setErrors(errorsObj : string, scope : string) : void } export { ValidatorResult, ValidatorSingleResult, ValidatorInterface }