import { StructFailure } from './failure'; /** * `StructError` objects are thrown (or returned) by Superstruct when its * validation fails. The error represents the first error encountered during * validation. But they also have an `error.failures` property that holds * information for all of the failures encountered. */ export declare class StructError extends TypeError { value: any; type: string; path: Array; branch: Array; failures: () => Iterable; [key: string]: any; constructor(failure: StructFailure, iterable: Iterable); }