import { S } from "effect-app"; import { NonNegativeInt } from "effect-app/Schema"; declare const ValidationError_base: import("effect/Schema").Opaque, {}> & Omit, keyof S.Top>; /** * Represents a single validation error when decoding a repository item. * Contains full context for debugging: raw data, jitM result, and decode error. */ export declare class ValidationError extends ValidationError_base { } declare const ValidationResult_base: import("effect/Schema").Opaque, "Iso" | "Type" | "~type.make"> & { readonly Type: NonNegativeInt; readonly Iso: NonNegativeInt; readonly "~type.make": NonNegativeInt; }> & Omit, "Iso" | "Type" | "~type.make"> & { readonly Type: NonNegativeInt; readonly Iso: NonNegativeInt; readonly "~type.make": NonNegativeInt; } & { withDefault: S.withConstructorDefault, "Iso" | "Type" | "~type.make"> & { readonly Type: NonNegativeInt; readonly Iso: NonNegativeInt; readonly "~type.make": NonNegativeInt; }> & Omit, "Iso" | "Type" | "~type.make"> & { readonly Type: NonNegativeInt; readonly Iso: NonNegativeInt; readonly "~type.make": NonNegativeInt; }>; }; /** number of items that were sampled for validation */ readonly sampled: S.WithDefaults, "Iso" | "Type" | "~type.make"> & { readonly Type: NonNegativeInt; readonly Iso: NonNegativeInt; readonly "~type.make": NonNegativeInt; }> & Omit, "Iso" | "Type" | "~type.make"> & { readonly Type: NonNegativeInt; readonly Iso: NonNegativeInt; readonly "~type.make": NonNegativeInt; } & { withDefault: S.withConstructorDefault, "Iso" | "Type" | "~type.make"> & { readonly Type: NonNegativeInt; readonly Iso: NonNegativeInt; readonly "~type.make": NonNegativeInt; }> & Omit, "Iso" | "Type" | "~type.make"> & { readonly Type: NonNegativeInt; readonly Iso: NonNegativeInt; readonly "~type.make": NonNegativeInt; }>; }; /** number of items that passed validation */ readonly valid: S.WithDefaults, "Iso" | "Type" | "~type.make"> & { readonly Type: NonNegativeInt; readonly Iso: NonNegativeInt; readonly "~type.make": NonNegativeInt; }> & Omit, "Iso" | "Type" | "~type.make"> & { readonly Type: NonNegativeInt; readonly Iso: NonNegativeInt; readonly "~type.make": NonNegativeInt; } & { withDefault: S.withConstructorDefault, "Iso" | "Type" | "~type.make"> & { readonly Type: NonNegativeInt; readonly Iso: NonNegativeInt; readonly "~type.make": NonNegativeInt; }> & Omit, "Iso" | "Type" | "~type.make"> & { readonly Type: NonNegativeInt; readonly Iso: NonNegativeInt; readonly "~type.make": NonNegativeInt; }>; }; /** list of validation errors with full context */ readonly errors: S.$Array & { withDefault: S.withConstructorDefault>; withDecodingDefaultType: S.withDecodingDefaultType>; }; }>, {}> & Omit, "Iso" | "Type" | "~type.make"> & { readonly Type: NonNegativeInt; readonly Iso: NonNegativeInt; readonly "~type.make": NonNegativeInt; }> & Omit, "Iso" | "Type" | "~type.make"> & { readonly Type: NonNegativeInt; readonly Iso: NonNegativeInt; readonly "~type.make": NonNegativeInt; } & { withDefault: S.withConstructorDefault, "Iso" | "Type" | "~type.make"> & { readonly Type: NonNegativeInt; readonly Iso: NonNegativeInt; readonly "~type.make": NonNegativeInt; }> & Omit, "Iso" | "Type" | "~type.make"> & { readonly Type: NonNegativeInt; readonly Iso: NonNegativeInt; readonly "~type.make": NonNegativeInt; }>; }; /** number of items that were sampled for validation */ readonly sampled: S.WithDefaults, "Iso" | "Type" | "~type.make"> & { readonly Type: NonNegativeInt; readonly Iso: NonNegativeInt; readonly "~type.make": NonNegativeInt; }> & Omit, "Iso" | "Type" | "~type.make"> & { readonly Type: NonNegativeInt; readonly Iso: NonNegativeInt; readonly "~type.make": NonNegativeInt; } & { withDefault: S.withConstructorDefault, "Iso" | "Type" | "~type.make"> & { readonly Type: NonNegativeInt; readonly Iso: NonNegativeInt; readonly "~type.make": NonNegativeInt; }> & Omit, "Iso" | "Type" | "~type.make"> & { readonly Type: NonNegativeInt; readonly Iso: NonNegativeInt; readonly "~type.make": NonNegativeInt; }>; }; /** number of items that passed validation */ readonly valid: S.WithDefaults, "Iso" | "Type" | "~type.make"> & { readonly Type: NonNegativeInt; readonly Iso: NonNegativeInt; readonly "~type.make": NonNegativeInt; }> & Omit, "Iso" | "Type" | "~type.make"> & { readonly Type: NonNegativeInt; readonly Iso: NonNegativeInt; readonly "~type.make": NonNegativeInt; } & { withDefault: S.withConstructorDefault, "Iso" | "Type" | "~type.make"> & { readonly Type: NonNegativeInt; readonly Iso: NonNegativeInt; readonly "~type.make": NonNegativeInt; }> & Omit, "Iso" | "Type" | "~type.make"> & { readonly Type: NonNegativeInt; readonly Iso: NonNegativeInt; readonly "~type.make": NonNegativeInt; }>; }; /** list of validation errors with full context */ readonly errors: S.$Array & { withDefault: S.withConstructorDefault>; withDecodingDefaultType: S.withDecodingDefaultType>; }; }>, keyof S.Top>; /** * Result of validating a sample of repository items. */ export declare class ValidationResult extends ValidationResult_base { } export {}; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdGlvbi5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL01vZGVsL1JlcG9zaXRvcnkvdmFsaWRhdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsQ0FBQyxFQUFFLE1BQU0sWUFBWSxDQUFBO0FBQzlCLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQTs7SUFPaEQsZ0RBQWdEOztJQUVoRCxpREFBaUQ7O0lBRWpELGtEQUFrRDs7SUFFbEQsMkNBQTJDOzs7SUFOM0MsZ0RBQWdEOztJQUVoRCxpREFBaUQ7O0lBRWpELGtEQUFrRDs7SUFFbEQsMkNBQTJDOzs7QUFYN0M7OztHQUdHO0FBQ0gscUJBQWEsZUFBZ0IsU0FBUSxvQkFTbEM7Q0FBRzs7SUFNSiw4Q0FBOEM7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0lBRTlDLHVEQUF1RDs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7SUFFdkQsNkNBQTZDOzs7Ozs7Ozs7Ozs7Ozs7Ozs7OztJQUU3QyxrREFBa0Q7Ozs7OztJQU5sRCw4Q0FBOEM7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0lBRTlDLHVEQUF1RDs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7SUFFdkQsNkNBQTZDOzs7Ozs7Ozs7Ozs7Ozs7Ozs7OztJQUU3QyxrREFBa0Q7Ozs7OztBQVZwRDs7R0FFRztBQUNILHFCQUFhLGdCQUFpQixTQUFRLHFCQVNuQztDQUFHIn0=