/** * Dispatches runtime actions originating from code mode. * * Reads the pending code mode runtime action from session state, * builds a runtime action request from the interrupt payload, stores * it as a temporary PendingRuntimeActionBatch, and delegates to the * standard dispatch step. The batch is only needed for dispatch — * the harness never sees it because results flow through * continuePendingCodeModeRuntimeAction, not resolvePendingRuntimeActions. */ import type { RuntimeSubagentResultActionResult } from "#runtime/actions/types.js"; import { type DurableSessionState } from "#execution/durable-session-store.js"; export declare function dispatchCodeModeRuntimeActionsStep(input: { readonly callbackBaseUrl?: string; readonly parentWritable: WritableStream; readonly serializedContext: Record; readonly sessionState: DurableSessionState; }): Promise<{ readonly results: readonly RuntimeSubagentResultActionResult[]; readonly sessionState: DurableSessionState; }>;