import { OnModuleDestroy } from "@nestjs/common"; import { EventEmitter2 } from "@nestjs/event-emitter"; import { JwtService } from "@nestjs/jwt"; import { OnGatewayConnection, OnGatewayDisconnect, OnGatewayInit } from "@nestjs/websockets"; import { ClsService } from "nestjs-cls"; import { Server, Socket } from "socket.io"; import { AppLoggingService } from "../../logging/services/logging.service"; import { Neo4jService } from "../../neo4j/services/neo4j.service"; import { PresenceService } from "../services/presence.service"; import { WebSocketService } from "../services/websocket.service"; export declare class EventsGateway implements OnGatewayInit, OnGatewayConnection, OnGatewayDisconnect, OnModuleDestroy { private readonly webSocketService; private readonly jwtService; private readonly cls; private readonly neo4j; private readonly logger; private readonly presenceService; private readonly eventEmitter; server: Server; private isShuttingDown; constructor(webSocketService: WebSocketService, jwtService: JwtService, cls: ClsService, neo4j: Neo4jService, logger: AppLoggingService, presenceService: PresenceService, eventEmitter: EventEmitter2); afterInit(): void; handleConnection(client: Socket): Promise; handleDisconnect(client: Socket): Promise; onModuleDestroy(): Promise; handleHeartbeat(client: Socket): Promise<{ event: string; data: { status: string; }; }>; handleMessage(data: { type: string; message: any; }, client: Socket): { event: string; data: any; }; private extractTokenFromHandshake; } //# sourceMappingURL=event.gateway.d.ts.map