export interface ActiveChatData { chatId: string; participants: string[]; lastActivity: Date; messageCount: number; chatType: 'direct' | 'group' | 'game'; gameId?: string; name?: string; } export interface ActiveUserData { userId: string; activeChatIds: string[]; lastActivity: Date; isOnline: boolean; } export declare class RedisService { private static instance; private client; private isConnected; private constructor(); static getInstance(): RedisService; connect(): Promise; disconnect(): Promise; setActiveChat(chatId: string, chatData: ActiveChatData): Promise; getActiveChat(chatId: string): Promise; removeActiveChat(chatId: string): Promise; getAllActiveChats(): Promise; setActiveUser(userId: string, userData: ActiveUserData): Promise; getActiveUser(userId: string): Promise; removeActiveUser(userId: string): Promise; addUserToChat(userId: string, chatId: string): Promise; removeUserFromChat(userId: string, chatId: string): Promise; getUserActiveChats(userId: string): Promise; updateChatActivity(chatId: string, messageCount?: number): Promise; getInactiveChats(inactivityMinutes: number): Promise; cleanupInactiveChats(inactivityMinutes: number): Promise; ping(): Promise; isRedisConnected(): boolean; } //# sourceMappingURL=RedisService.d.ts.map