import { Repository } from 'typeorm';
import { UsersService } from '../users/users.service';
import { SendLobbyMessageDto } from './dto/send-lobby-message.dto';
import { LobbyMessage } from './entities/lobby-message.entity';
export declare class LobbyService {
    private readonly usersService;
    private readonly lobbyMessagesRepository;
    constructor(usersService: UsersService, lobbyMessagesRepository: Repository<LobbyMessage>);
    getMainLobby(): Promise<{
        announcement: string;
        onlineUsers: import("../users/entities/user.entity").User[];
        lastVisitedUsers: import("../users/entities/user.entity").User[];
        topRankUsers: import("../users/entities/user.entity").User[];
    }>;
    sendMessage(senderId: string, dto: SendLobbyMessageDto): Promise<LobbyMessage>;
    history(room?: string, limit?: number): Promise<LobbyMessage[]>;
    editMessage(messageId: string, senderId: string, content: string): Promise<LobbyMessage>;
    removeMessage(messageId: string, senderId: string): Promise<{
        success: boolean;
        messageId: string;
    }>;
}
