/** * ThinkingEngine — tracks and renders AI execution stages * Exposes what the AI is doing without exposing chain-of-thought. */ export type StageStatus = 'pending' | 'running' | 'done' | 'error'; export interface ExecutionStage { id: string; label: string; icon: string; status: StageStatus; startedAt?: number; completedAt?: number; } export declare class ThinkingEngine { stages: ExecutionStage[]; private startTime; private currentStageId; private compact; constructor(stages?: ExecutionStage[]); start(): void; setCompact(compact: boolean): void; advance(stageId: string): void; completeCurrent(): void; markError(stageId?: string): void; reset(): void; getElapsed(): number; /** * Render the thinking state as compact string (for spinner text) */ renderCompact(): string; /** * Render full multiline thinking diagram */ renderFull(): string; private statusPrefix; } /** * Infer which stage a tool call belongs to */ export declare function inferStageFromTool(toolName: string): string; //# sourceMappingURL=thinking.d.ts.map