import { type RuntimeActionRequestProjection } from "#harness/action-presentation.js"; import type { HarnessEmitFn } from "#harness/types.js"; interface ActionEventCoordinates { readonly sequence: number; readonly stepIndex: number; readonly turnId: string; } interface EmittedProviderAction { readonly request: RuntimeActionRequestProjection; readonly toolName: string; } interface ProviderStreamActionBatch { cancel(): Promise; flush(): Promise; observe(action: RuntimeActionRequestProjection, toolName: string): void; } /** Batches provider-managed calls that arrive in one streamed model response. */ export declare function createProviderStreamActionBatch(input: { readonly emitFn: HarnessEmitFn; readonly onActionsEmitted?: (actions: readonly EmittedProviderAction[]) => void; readonly state: ActionEventCoordinates; }): ProviderStreamActionBatch; export {};