export type BackgroundExchangeMode = "resident_endpoint" | "adapter_managed_turn"; export type RuntimeWorkTargetRef = { kind: "projection_endpoint"; projection_endpoint_id: string; background_exchange_mode: "resident_endpoint"; } | { kind: "projection_endpoint"; projection_endpoint_id: string; runtime_session_id: string; background_exchange_mode: "adapter_managed_turn"; }; export type RuntimeProcessingState = "assigned_to_runtime_target" | "delivery_attempted" | "adapter_accepted" | "processing_started" | "reply_requested" | "reply_emitted" | "processing_failed" | "waiting_for_runtime_capability" | "target_lost_before_acceptance" | "processing_interrupted" | "expired"; export interface RuntimeProcessingStateEvent { type: "runtime_processing_state"; version: 1; source_message_id: string; assignment_id: string; state_event_id: string; state_sequence: number; target_ref: RuntimeWorkTargetRef; state: RuntimeProcessingState; occurred_at: number; undispatched_id?: string; retryable?: boolean; reason_code?: string; detail?: string; reply_request_id?: string; outbound_message_id?: string; broker_projection_token?: string; } //# sourceMappingURL=runtime-processing-state-event-types.d.ts.map