declare type ValidationError = string | null | undefined; export declare type ValidationResult = TValue extends Array ? Record> | ValidationError : TValue extends object ? { [TKey in keyof TValue]?: ValidationResult; } | ValidationError : ValidationError; export {};