/** * @fileoverview General-purpose validation types for use across MemberJunction * * These types provide a standard way to represent validation results and errors * throughout the framework, independent of any specific validation implementation. * * @module @memberjunction/global * @author MemberJunction.com * @since 2.68.0 */ /** * Enumeration of validation error types */ export declare const ValidationErrorType: { readonly Failure: "Failure"; readonly Warning: "Warning"; }; export type ValidationErrorType = typeof ValidationErrorType[keyof typeof ValidationErrorType]; /** * Information about a single validation error */ export declare class ValidationErrorInfo { Source: string; Message: string; Value: any; Type: ValidationErrorType; constructor(Source: string, Message: string, Value: any, Type?: ValidationErrorType); } /** * Result of a validation operation */ export declare class ValidationResult { Success: boolean; Errors: ValidationErrorInfo[]; } //# sourceMappingURL=ValidationTypes.d.ts.map