import { OnGatewayConnection, OnGatewayDisconnect } from '@nestjs/websockets';
import { Server, Socket } from 'socket.io';
import { JwtService } from '@nestjs/jwt';
export declare class NotificationsGateway implements OnGatewayConnection, OnGatewayDisconnect {
    private jwtService;
    server: Server;
    private readonly logger;
    private connectedClients;
    constructor(jwtService: JwtService);
    handleConnection(client: Socket): Promise<void>;
    handleDisconnect(client: Socket): void;
    handlePing(client: Socket): void;
    sendToOrganization(organizationId: string, notification: any): void;
    sendToUser(userId: string, notification: any): void;
    broadcast(notification: any): void;
    sendUnreadCount(organizationId: string, userId: string, count: number): void;
    getConnectedClientsCount(): number;
    getOrganizationClientsCount(organizationId: string): number;
}
