import { DatabaseManager } from '../database/manager.js'; import { ChatMessage } from '../shared/types.js'; import { SessionPersistenceOptions, SessionRestoreOptions, SessionState, SessionHistoryEntry } from './session-state.js'; declare class SessionStateManager { #private; constructor(databaseManager?: DatabaseManager, options?: SessionPersistenceOptions); restoreSessionState(sessionId: string, options?: SessionRestoreOptions): Promise; persistSessionState(sessionId: string): Promise; addMessageToSession(sessionId: string, message: ChatMessage): Promise; updateSessionTitle(sessionId: string, title: string): Promise; getSessionHistory(_sessionId: string): Promise; deactivateSession(sessionId: string): Promise; getActiveSessionIds(): string[]; getActiveSessionState(sessionId: string): SessionState | undefined; cleanupInactiveSessions(maxAge?: number): Promise; } export { SessionStateManager };