import { OnGatewayConnection, OnGatewayDisconnect } from '@nestjs/websockets';
import { Server, Socket } from 'socket.io';
import { JwtService } from '@nestjs/jwt';
import { NotificationsService } from './notifications.service.js';
import { Notification } from './entities/notification.entity.js';
export declare class NotificationsGateway implements OnGatewayConnection, OnGatewayDisconnect {
    private readonly jwtService;
    private readonly notificationsService;
    server: Server;
    private userSockets;
    constructor(jwtService: JwtService, notificationsService: NotificationsService);
    handleConnection(client: Socket): Promise<void>;
    handleDisconnect(client: Socket): void;
    sendNotification(userId: string, notification: Notification): Promise<void>;
    sendToMultipleUsers(userIds: string[], notification: Notification): Promise<void>;
}
