import type { ValidationRuleResult } from './types';
export declare class ValidationResult {
    private validationResults;
    constructor(results: ValidationRuleResult[]);
    /** Checks if all validation rules have passed */
    get isValid(): boolean;
    /** Checks if any validation rule returned an error */
    hasError(): boolean;
    /** Returns the first validation result that returned an error */
    getError(): ValidationRuleResult;
    /** Used to add async validation results to the static validation result*/
    addError(result: ValidationRuleResult): ValidationRuleResult[];
}
