import { a as ChatRunState, c as ToolEventRecipientRegistry, o as SessionEventSubscriberRegistry, s as SessionMessageSubscriberRegistry, t as ChatAbortControllerEntry } from "./chat-abort-DsCJCeT_.js"; //#region src/gateway/server-runtime-subscriptions.d.ts declare function startGatewayEventSubscriptions(params: { broadcast: (event: string, payload: unknown, opts?: { dropIfSlow?: boolean; }) => void; broadcastToConnIds: (event: string, payload: unknown, connIds: ReadonlySet, opts?: { dropIfSlow?: boolean; }) => void; nodeSendToSession: (sessionKey: string, event: string, payload: unknown) => void; agentRunSeq: Map; chatRunState: ChatRunState; toolEventRecipients: ToolEventRecipientRegistry; sessionEventSubscribers: SessionEventSubscriberRegistry; sessionMessageSubscribers: SessionMessageSubscriberRegistry; chatAbortControllers: Map; }): { agentUnsub: () => void; heartbeatUnsub: () => void; transcriptUnsub: () => void; lifecycleUnsub: () => void; }; //#endregion export { startGatewayEventSubscriptions };