import type { ProviderEvent } from '../../../provider.js'; import type { RunTurnInput } from '../types.js'; import type { RetryOutcome, RetryReason } from './outcomes.js'; import { type RoundRetryBudget } from './retry-budget.js'; import type { TurnAccumulator } from './turn-accumulator.js'; export interface RoundRetryContext { input: RunTurnInput; turn: TurnAccumulator; retry: RoundRetryBudget; requestStartedAt: number; } export declare function handleRoundRetry(reason: RetryReason, { input, turn, retry, requestStartedAt }: RoundRetryContext): AsyncGenerator;