/**
 * Type Definitions
 *
 * @module lib/types
 */

// Event types for SSE
export {
  EventType,
  type ActorType,
  type ProjectEvent,
  type EventPayload,
  type AgentSpawnedPayload,
  type AgentStatusChangedPayload,
  type AgentMessagePayload,
  type AgentTerminatedPayload,
  type IssueCreatedPayload,
  type IssueUpdatedPayload,
  type IssueAssignedPayload,
  type IssueClosedPayload,
  type SprintStartedPayload,
  type SprintCompletedPayload,
  type ApprovalRequestedPayload,
  type ApprovalGrantedPayload,
  type ApprovalDeniedPayload,
  type WorkflowStartedPayload,
  type WorkflowStepCompletedPayload,
  type WorkflowCompletedPayload,
  type WorkflowFailedPayload,
  type ConnectionState,
  type SSEError,
  isEventType,
  isAgentEvent,
  isIssueEvent,
  isSprintEvent,
  isApprovalEvent,
  isWorkflowEvent,
  isProjectEvent,
} from './events';
