/** * Structured input validation errors for the contracts leaf. * * These mirror the kernel's `KernelInputError` pattern: a `TypeError` * subclass carrying a stable error code and a label parameterised message. * The contracts leaf and the kernel each own their own class so neither * package depends on the other; message text is byte-identical by convention. */ /** Stable error codes for contracts-leaf input validation. */ export declare const CONTRACTS_INPUT_ERROR_CODES: { readonly NON_EMPTY_STRING_REQUIRED: "contracts_non_empty_string_required"; readonly NON_NEGATIVE_INTEGER_REQUIRED: "contracts_non_negative_integer_required"; readonly SHA256_HASH_REQUIRED: "contracts_sha256_hex_required"; readonly OBJECT_REQUIRED: "contracts_object_required"; }; export type ContractsInputErrorCode = (typeof CONTRACTS_INPUT_ERROR_CODES)[keyof typeof CONTRACTS_INPUT_ERROR_CODES]; /** Typed error for contracts-leaf input validation failures (identity, SQL row decoding). */ export declare class ContractsInputError extends TypeError { readonly code: ContractsInputErrorCode; constructor(code: ContractsInputErrorCode, label: string); } //# sourceMappingURL=input.d.ts.map