import { ListSessionsOptions, SessionDisplayInfo, DeleteSessionOptions, ExportSessionsOptions, SessionStats, SessionSelectionResult } from '../../cli/commands/chat/types.cjs'; import { DatabaseManager } from '../database/manager.cjs'; import { ChatSession, ChatMessage, HistoryStats } from '../shared/types.cjs'; interface SessionCreationOptions { title?: string; generateTitle?: boolean; type?: 'ask' | 'chat'; } declare class SessionManager { #private; constructor(databaseManager?: DatabaseManager); createSession(profile: string, options?: SessionCreationOptions): Promise; getSession(sessionId: string, profile?: string): Promise; listSessions(options?: ListSessionsOptions): Promise; deleteSession(sessionId: string, options?: DeleteSessionOptions): Promise; updateSessionTitle(sessionId: string, title: string, profile?: string): Promise; exportSessions(_format: 'json' | 'markdown', options?: Omit): Promise<{ sessions: ChatSession[]; messages: Record; stats: HistoryStats; }>; getSessionStats(profile?: string): Promise; selectSession(): Promise; } export { type SessionCreationOptions, SessionManager };