/** * Maps runtime lifecycle and connector events into typed per-run agent streams * and user notifications. Consumers may omit either optional service; failures * in present observers are reported without interrupting the message loop. */ import type { ActionEventPayload, EvaluatorEventPayload, MessagePayload, RunEventPayload } from "../types/events.js"; export declare const CONNECTOR_MESSAGE_RECEIVED_EVENT_TYPES: readonly ["line:message_received", "GOOGLE_CHAT_MESSAGE_RECEIVED", "TWITCH_MESSAGE_RECEIVED", "NOSTR_MESSAGE_RECEIVED"]; /** * Bridge connector-specific inbound message events that do not yet emit the * canonical `EventType.MESSAGE_RECEIVED` payload. This is intentionally * activity/notification-only: it never runs the message loop or sends replies. */ export declare function bridgeConnectorMessageReceivedToStreams(eventType: string, payload: unknown): Promise; /** * Bridge `MESSAGE_RECEIVED` → AgentEventService `message` stream and, for real * external connector traffic, a canonical user-facing notification. */ export declare function bridgeMessageReceivedToStreams(payload: MessagePayload): Promise; /** * Bridge `ACTION_STARTED` → AgentEventService `action` + `lifecycle` streams. */ export declare function bridgeActionStartedToStreams(payload: ActionEventPayload): void; /** * Bridge `ACTION_COMPLETED` → AgentEventService `action` + `lifecycle` streams. */ export declare function bridgeActionCompletedToStreams(payload: ActionEventPayload): void; /** * Bridge `RUN_STARTED` → AgentEventService `lifecycle` stream. */ export declare function bridgeRunStartedToStreams(payload: RunEventPayload): void; /** * Bridge `RUN_ENDED` → AgentEventService `lifecycle` stream. */ export declare function bridgeRunEndedToStreams(payload: RunEventPayload): void; /** * Bridge `EVALUATOR_STARTED` → AgentEventService `evaluator` stream. */ export declare function bridgeEvaluatorStartedToStreams(payload: EvaluatorEventPayload): void; /** * Bridge `EVALUATOR_COMPLETED` → AgentEventService `evaluator` stream. */ export declare function bridgeEvaluatorCompletedToStreams(payload: EvaluatorEventPayload): void;