import type { RunChunkControl } from "../run-manager.js"; import type { AgentHarnessEvent, AgentHarnessSession, AgentHarnessTurnInput } from "./types.js"; export interface DriveAgentHarnessTurnChunksOptions { session: AgentHarnessSession; input?: AgentHarnessTurnInput; control: Pick; consume: (stream: AsyncIterable) => Promise<"stop" | void>; beforeStream?: () => Promise; onProviderDispatch?: () => void; afterStream?: () => Promise<"stop" | void>; } export declare function driveAgentHarnessTurnChunks(options: DriveAgentHarnessTurnChunksOptions): Promise;