import { SessionMetadata, SessionAnalytics, SessionHistory, SessionSummary, SessionTag } from './session-types.js'; /** * Session activity tracker for tasks and errors */ interface SessionActivity { tasksCompleted: number; errorCount: number; } /** * Record a completed task for a session */ export declare function recordTaskCompleted(sessionId: string): void; /** * Record an error for a session */ export declare function recordError(sessionId: string): void; /** * Get session activity metrics */ export declare function getSessionActivity(sessionId: string): SessionActivity; /** * Clear session activity (called when session ends) */ export declare function clearSessionActivity(sessionId: string): void; export declare class SessionManager { private currentSession; private history; startSession(goals: string[], tags?: SessionTag[], notes?: string): Promise; endSession(outcomes: string[], status?: 'completed' | 'abandoned'): Promise; getCurrentSession(): Promise; resumeSession(sessionId: string): Promise; getSessionAnalytics(sessionId: string): Promise; getSessionSummary(sessionId: string): Promise; getHistory(): Promise; searchSessions(query: { tags?: SessionTag[]; startDate?: string; endDate?: string; status?: SessionMetadata['status']; projectPath?: string; }): Promise; private saveCurrentSession; private loadHistory; private addToHistory; private generateSessionId; } export declare function getSessionManager(): SessionManager; export declare function resetSessionManager(): SessionManager; export {}; //# sourceMappingURL=session-manager.d.ts.map