import { type ContextContainer } from "#context/container.js"; import type { DurableStepResult } from "#execution/session/turn-step-types.js"; import type { HarnessSession, StepInput, StepResult } from "#harness/types.js"; export interface CompletedModelCallCheckpoint { readonly result: StepResult; readonly serializedContext: Record; } /** Builds the successful step result that commits a cancelled batch's completed model calls. */ export declare function createCancelledModelCallBatchResult(input: { readonly beforeBatchContext: Record; readonly checkpoint: CompletedModelCallCheckpoint | undefined; readonly ctx: ContextContainer; readonly initialSession: HarnessSession; readonly stepInput: StepInput | undefined; }): Promise;