import { ChatAggregate } from '../Chat/ChatAggregate'; import { ChatArchiveAggregate } from '../Chat/ChatArchiveAggregate'; export interface IChatRepository { create(chat: Partial): Promise; findByPage(from: number, to: number): Promise<{ chats: ChatAggregate[]; totalCount: number; }>; findByPageIncludingDeleted(from: number, to: number): Promise<{ chats: ChatAggregate[]; totalCount: number; }>; findById(id: string): Promise; findByIdIncludingDeleted(id: string): Promise; findByUserId(userId: string): Promise; findByUserIdIncludingDeleted(userId: string): Promise; findByGameId(gameId: string): Promise; findActiveChatsForUser(userId: string): Promise; findInactiveChats(inactivityMinutes: number): Promise; update(id: string, update: Partial): Promise; delete(id: string): Promise; softDelete(id: string): Promise; archiveChat(chat: ChatAggregate): Promise; getArchivedChat(chatId: string): Promise; restoreFromArchive(chatId: string): Promise; } //# sourceMappingURL=IChatRepository.d.ts.map