import { MatrixManager } from '@ixo/matrix'; import { type Database } from 'better-sqlite3'; import { type UserContextData } from '../memory-engine/types.js'; import { type ChatSession, type CreateChatSessionDto, type CreateChatSessionResponseDto, type DeleteChatSessionDto, type ListChatSessionsDto, type ListChatSessionsResponseDto } from './dto.js'; export interface IDatabaseSyncService { getUserDatabase(userDid: string): Promise; } export declare class SessionManagerService { private readonly syncService; readonly matrixManger: MatrixManager; constructor(syncService: IDatabaseSyncService, matrixManger?: MatrixManager); getSessionsStateKey({ oracleEntityDid, }: { oracleEntityDid: string; }): `${string}_${string}`; private createMessageTitle; updateLastProcessedCount({ sessionId, did, lastProcessedCount, }: { sessionId: string; did: string; lastProcessedCount: number; }): Promise; syncSessionSet({ sessionId, did, messages, oracleEntityDid, oracleName, roomId, lastProcessedCount, oracleDid, userContext, slackThreadTs, }: { sessionId: string; did: string; messages: string[]; oracleEntityDid: string; oracleName: string; roomId?: string; lastProcessedCount?: number; oracleDid: string; userContext?: UserContextData; slackThreadTs?: string; }): Promise; getSession(sessionId: string, did: string, throwOnNotFound?: boolean): Promise; listSessions(listSessionsDto: ListChatSessionsDto): Promise; createSession(createSessionDto: CreateChatSessionDto, overrideEventId?: string): Promise; deleteSession(deleteSessionDto: DeleteChatSessionDto): Promise; } //# sourceMappingURL=session-manager.service.d.ts.map