/**
 * Coordination Module - Public API
 *
 * Exports the CoordinationManager port interface and related types.
 * All modules should import from this index file.
 *
 * Port-Adapter Pattern:
 * - CoordinationManager is the PORT (interface contract)
 * - Implementations (e.g., InMemoryCoordinationManager) are ADAPTERS
 * - Consumers depend only on the port interface
 * - Adapters can be swapped without changing consumer code
 *
 * This enables:
 * - Testing with mock/in-memory implementations
 * - Future swapping to persistent/distributed implementations
 * - Clean separation between domain logic and infrastructure
 */

// Port interfaces (what consumers depend on)
export type { CoordinationManager } from './types.js';
export type { ConflictResolutionService } from './conflict-resolution-service.js';

// Domain types
export type { MergeQueueItem, MergeStatus, MergeResult } from './types.js';

// Adapters
export { DefaultCoordinationManager } from './manager.js';
export { DefaultConflictResolutionService } from './conflict-resolution-service.js';
