import { Repository } from 'typeorm'; import { Conversation } from './entities/conversation.entity'; import { User } from '../users/entities/user.entity'; export declare class ConversationsService { private conversationsRepository; constructor(conversationsRepository: Repository); create(participants: User[], name?: string, isGroup?: boolean): Promise; findAllForUser(userId: string): Promise; findOne(id: string, userId: string): Promise; findOrCreatePrivate(user1Id: string, user2Id: string): Promise; addParticipant(conversationId: string, userId: string, participantId: string): Promise; }