import type { ResponseMetadata, ToolResultChunk } from '../../agent/types/message-types.js'; import { ThinkingLane } from '../commands/interactive/thinking-lane.js'; declare const ORCHESTRATOR_SOURCE_KEY = "__main__"; interface SourceState { agentType?: string; syntheticAgentToolUseId?: string; startedAt: number; stats: { tokens: number; toolUses: number; progressReportedToolUses?: number; }; lastProgressSummary?: string; contentBuffer: string; currentTextEntryId?: string; done: boolean; responseMetadata?: ResponseMetadata; errored: boolean; lastEventAt: number; pauseAnnotation?: string; quietBannerAnnounced?: boolean; stalledTicks: number; thinkingLane?: ThinkingLane; thinkingPhaseStartedAt?: number; } declare function freshSourceState(agentType: string | undefined): SourceState; declare function syntheticResult(content: string, isError: boolean): ToolResultChunk; declare function formatDoneSummary(source: SourceState): string; export { ORCHESTRATOR_SOURCE_KEY, type SourceState, freshSourceState, syntheticResult, formatDoneSummary, };