import type { ProviderEvent } from '../../../provider.js'; import type { RunTurnInput } from '../types.js'; import type { RetryTierContext, TierGenerator } from './retry-context.js'; export declare function turnWithUsageLimitRetry(ctx: RetryTierContext, runInput: RunTurnInput, isClosed: () => boolean, next: TierGenerator): AsyncGenerator;