import type { AgentResponse, Message as AgentMessage } from "../schemas/index.js"; import type { ForkRuntimeStep } from "./fork-runtime-types.js"; export interface ForkRuntimeProgress { steps: ForkRuntimeStep[]; currentMessages: AgentMessage[]; accumulatedInputTokens: number; accumulatedOutputTokens: number; } /** Build a fork runtime step from an agent response. */ export declare function buildForkRuntimeStepFromResponse(response: AgentResponse): ForkRuntimeStep; /** Should continue fork runtime step helper. */ export declare function shouldContinueForkRuntimeStep(step: ForkRuntimeStep, response: AgentResponse): boolean; export declare function createForkRuntimeProgress(currentMessages: AgentMessage[]): ForkRuntimeProgress; export declare function commitForkRuntimeStep(progress: ForkRuntimeProgress, response: AgentResponse): ForkRuntimeStep; export declare function getForkRuntimeProgressUsage(progress: ForkRuntimeProgress): { inputTokens: number; outputTokens: number; }; //# sourceMappingURL=fork-runtime-step-progress.d.ts.map