/** * State Tracker * * Tracks active CLI state and accumulated entries. */ import type { NormalizedEntry } from '../../agents/types/agent-executor.js'; import type { CliState } from './types.js'; /** * Tracks CLI state for active task */ export declare class StateTracker { private state; /** * Initialize state for new task */ initialize(taskId: string, processId: string, agentName: string, workDir: string): void; /** * Add a normalized entry to state */ addEntry(entry: NormalizedEntry): void; /** * Get current state */ getState(): CliState | null; /** * Get all accumulated entries */ getEntries(): NormalizedEntry[]; /** * Get task ID */ getTaskId(): string | null; /** * Get process ID */ getProcessId(): string | null; /** * Get task duration in milliseconds */ getDuration(): number; /** * Count tools used in accumulated entries */ countToolsUsed(): number; /** * Count files changed in accumulated entries */ countFilesChanged(): number; /** * Clear state */ clear(): void; } //# sourceMappingURL=tracker.d.ts.map