import { ChatMessage, ChatSession, ChatSessionSummary } from '../types.js'; export declare class SessionManager { private customDir?; private currentUserId; private activeSessionId; constructor(customDir?: string); switchUser(userId?: string): void; getChatsDir(): string; getActiveSessionFile(): string; private ensureDirectory; private initActiveSession; private getSessionFilePath; private saveActiveSessionId; getActiveSessionId(): string; setActiveSessionId(id: string): ChatSession | null; createSession(title?: string): ChatSession; getSession(id: string): ChatSession | null; getActiveSession(): ChatSession; saveSession(session: ChatSession): void; addMessageToActiveSession(message: ChatMessage): ChatSession; listSessions(): ChatSessionSummary[]; deleteSession(id: string): boolean; renameSession(id: string, newTitle: string): boolean; clearActiveSessionMessages(): void; } export declare const sessionManager: SessionManager; //# sourceMappingURL=sessionManager.d.ts.map