export type WebSocketShardEventsMap = { [WebSocketShardEvents.Closed]: [{ code: number; }]; [WebSocketShardEvents.Debug]: [payload: { message: string; }]; [WebSocketShardEvents.Dispatch]: [payload: { data: GatewayDispatchPayload; }]; [WebSocketShardEvents.Error]: [payload: { error: Error; }]; [WebSocketShardEvents.Hello]: []; [WebSocketShardEvents.Ready]: [payload: { data: GatewayReadyDispatchData; }]; [WebSocketShardEvents.Resumed]: []; [WebSocketShardEvents.HeartbeatComplete]: [payload: { ackAt: number; heartbeatAt: number; latency: number; }];};