/**
 * Intent infrastructure barrel export.
 *
 * Re-exports all public types and classes for the intent-operation architecture.
 */

// Types
export type { Intent, IntentResult, DomainEvent } from "./types";

// Operation types
export type {
  Operation,
  OperationContext,
  DispatchFn,
  HookContext,
  HookHandler,
  HookResult,
  ResolvedHooks,
} from "./operation";
export { ANY_VALUE } from "./operation";

// Dispatcher
export type { IDispatcher, IntentInterceptor } from "./dispatcher";
export { Dispatcher, IntentHandle } from "./dispatcher";

// Module
export type { IntentModule, HookDeclarations, EventDeclarations, EventHandler } from "./module";

// Idempotency
export type { IdempotencyRule } from "./idempotency-module";
export { createIdempotencyModule } from "./idempotency-module";
