import type { RunRecorder } from "@mono-agent/observability"; import { type RuntimeResult } from "@mono-agent/runtime-adapter"; import type { BuiltAgentContext, ContextBlockInput, HistoryMessage, SkillIndexSummary } from "../context/index.js"; import type { Semaphore } from "../semaphore.js"; import type { AgentHarnessContinuationClaimCapability, AgentHarnessOptions, AgentHarnessRequest } from "../types.js"; import type { SessionRuntimeResolver } from "../session-runtime.js"; import type { LiveInputMailbox } from "../live-input.js"; import type { AttachmentRequestContext } from "./attachments.js"; import type { UncommittedTurnCollector } from "./turn-continuity.js"; interface HarnessRuntimeRouting { readonly modelKey: string; readonly runtimeForSession: SessionRuntimeResolver; readonly recoveryRevision?: number | undefined; readonly onRuntimeSelected: (modelKey: string) => void; } export declare function runHarnessRuntime(options: AgentHarnessOptions, runLimiter: Semaphore | undefined, sessionsEnabled: boolean, request: AgentHarnessRequest, recorder: RunRecorder, context: BuiltAgentContext, memory: ContextBlockInput | undefined, runId: string, resumeSessionId: string | undefined, providerAttributionSessionId: string | undefined, durablePiSessionsRoot: string | undefined, sessionIsolated: boolean, routing: HarnessRuntimeRouting, skillDisclosureEntries: readonly SkillIndexSummary[], history: readonly HistoryMessage[], historyOmitted: boolean, historyAsMessages: boolean, toolHistoryProjection: string | undefined, attachmentContext: AttachmentRequestContext, continuationCapabilities: AgentHarnessContinuationClaimCapability[], turnContinuityCollector: UncommittedTurnCollector, liveInputMailbox?: LiveInputMailbox, onProviderStart?: () => void): Promise; export {}; //# sourceMappingURL=runtime-execution.d.ts.map