import { CoreErrorException } from "../../../contracts/domain/errors/index.js"; /** * Stable error codes for persisted outbox value contract violations. * * Raised inside `toProviderEffect` when a persisted `effect_kind`, * `projection`, or `target_kind` does not match the closed union in * `@hikoutei/contracts`. The message carries the persisted value verbatim * for diagnostic traceability (it is never logged by the runtime). */ export declare const SYNC_EFFECT_CONTRACT_ERROR_CODES: { readonly UNSUPPORTED_SYNC_EFFECT_KIND: "unsupported_sync_effect_kind"; readonly UNSUPPORTED_SYNC_PROJECTION: "unsupported_sync_projection"; readonly UNSUPPORTED_SYNC_EFFECT_TARGET_KIND: "unsupported_sync_effect_target_kind"; }; export type SyncEffectContractErrorCode = (typeof SYNC_EFFECT_CONTRACT_ERROR_CODES)[keyof typeof SYNC_EFFECT_CONTRACT_ERROR_CODES]; /** * Thrown when a persisted outbox value fails its contracts-level closed-union * check. Carries `domain` and `code` for structured observation while keeping * the message byte-identical to the original raw `Error`. */ export declare class SyncEffectContractError extends CoreErrorException<"sync.outbound", SyncEffectContractErrorCode> { constructor(code: SyncEffectContractErrorCode, persistedValue: string); } //# sourceMappingURL=errors.d.ts.map