/** * `StructFailure` objects represent a specific failure in validation. They are * used internally for validation and can be turned into real `StructError` * objects when necessary. */ export declare class StructFailure { branch: Array; path: Array; type: string; value: any; [key: string]: any; constructor(props: { value: any; type: string; branch: Array; path: Array; [key: string]: any; }); } /** * Wrap every child `StructFailure` in an iterable so that they refer to the * same failures but from the context of a parent value. */ export declare function wrap(iterable: Iterable, value: any, key: string | number): Iterable;