/** * Session history with focus changes and completed tasks. * * @task T4782 * @epic T4654 */ import type { SessionHistoryParams } from '@cleocode/contracts/operations/session'; export type { SessionHistoryParams } from '@cleocode/contracts/operations/session'; export interface SessionHistoryEntry { id: string; name?: string; status: string; startedAt: string; endedAt?: string | null; tasksCompleted: number; focusChanges: number; focusHistory: Array<{ taskId: string; timestamp: string; }>; } /** * List session history with focus changes and completed tasks. * If sessionId is provided, returns history for that specific session. * Otherwise, returns history across all sessions. */ export declare function getSessionHistory(projectRoot: string, params?: SessionHistoryParams): Promise<{ sessions: SessionHistoryEntry[]; }>; //# sourceMappingURL=session-history.d.ts.map