import { ValidationRule } from './rules/validation-rule';

export interface Validator<T> {
	setDefaultRules(rules: ValidationRule<T>[]): void;
	getRules(): ValidationRule<T>[];
	setAdditionalRules(rules: ValidationRule<T>[]): void;
	validate(): Promise<EvaluateResultBase>;
}
