import { RuntimeMethodIds } from '../method-ids.js';
import { AccountSessionEvent, SubscribeAccountSessionEventsRequest, } from '../generated/runtime/v1/account.js';
import { RealtimeEvent, ReadRealtimeEventsRequest, ScenarioJobEvent, StreamScenarioEvent, StreamScenarioRequest, SubscribeScenarioJobEventsRequest, } from '../generated/runtime/v1/ai.js';
import { LocalTransferProgressEvent, WatchLocalTransfersRequest, } from '../generated/runtime/v1/local_runtime.js';
import { MemoryEvent, SubscribeMemoryEventsRequest, } from '../generated/runtime/v1/memory.js';
import { AgentEvent, SubscribeAgentEventsRequest, } from '../generated/runtime/v1/agent_service.js';
import { AppInstallJobEvent, AppMessageEvent, SubscribeAppMessagesRequest, WatchAppInstallJobEventsRequest, } from '../generated/runtime/v1/app.js';
import { AIProviderHealthEvent, AuditExportChunk, ExportAuditEventsRequest, RuntimeHealthEvent, SubscribeAIProviderHealthEventsRequest, SubscribeRuntimeHealthEventsRequest, } from '../generated/runtime/v1/audit.js';
export const runtimeStreamMethodCodecs = {
    [RuntimeMethodIds.account.subscribeAccountSessionEvents]: {
        requestType: SubscribeAccountSessionEventsRequest,
        eventType: AccountSessionEvent,
    },
    [RuntimeMethodIds.ai.streamScenario]: {
        requestType: StreamScenarioRequest,
        eventType: StreamScenarioEvent,
    },
    [RuntimeMethodIds.ai.subscribeScenarioJobEvents]: {
        requestType: SubscribeScenarioJobEventsRequest,
        eventType: ScenarioJobEvent,
    },
    [RuntimeMethodIds.aiRealtime.readRealtimeEvents]: {
        requestType: ReadRealtimeEventsRequest,
        eventType: RealtimeEvent,
    },
    [RuntimeMethodIds.local.watchLocalTransfers]: {
        requestType: WatchLocalTransfersRequest,
        eventType: LocalTransferProgressEvent,
    },
    [RuntimeMethodIds.memory.subscribeEvents]: {
        requestType: SubscribeMemoryEventsRequest,
        eventType: MemoryEvent,
    },
    [RuntimeMethodIds.agent.subscribeEvents]: {
        requestType: SubscribeAgentEventsRequest,
        eventType: AgentEvent,
    },
    [RuntimeMethodIds.app.subscribeAppMessages]: {
        requestType: SubscribeAppMessagesRequest,
        eventType: AppMessageEvent,
    },
    [RuntimeMethodIds.app.watchAppInstallJobEvents]: {
        requestType: WatchAppInstallJobEventsRequest,
        eventType: AppInstallJobEvent,
    },
    [RuntimeMethodIds.audit.exportAuditEvents]: {
        requestType: ExportAuditEventsRequest,
        eventType: AuditExportChunk,
    },
    [RuntimeMethodIds.audit.subscribeAIProviderHealthEvents]: {
        requestType: SubscribeAIProviderHealthEventsRequest,
        eventType: AIProviderHealthEvent,
    },
    [RuntimeMethodIds.audit.subscribeRuntimeHealthEvents]: {
        requestType: SubscribeRuntimeHealthEventsRequest,
        eventType: RuntimeHealthEvent,
    },
};
//# sourceMappingURL=method-codecs-stream.js.map