import type { ProviderUsage } from '../../../provider.js'; import type { SOFT_DEADLINE_WIND_DOWN } from '../../shared/soft-deadline.js'; import type { TOOL_USE_LOOP_CAPPED } from '../../shared/tool-loop-cap.js'; export type WindDownReason = typeof TOOL_USE_LOOP_CAPPED | typeof SOFT_DEADLINE_WIND_DOWN; export declare class TurnAccumulator { usage: ProviderUsage; iterations: number; toolCallCount: number; windDownReason: WindDownReason | null; readonly taskId: string; readonly startedAt: number; elapsedMs(): number; withDuration(usage: ProviderUsage): ProviderUsage; terminalUsage(): ProviderUsage; addRoundUsage(roundUsage: ProviderUsage): void; }