export type WorkerSendPayload = { nonce: number; ok: boolean; op: WorkerSendPayloadOp.ShardIdentifyResponse;} | { nonce: number; op: WorkerSendPayloadOp.FetchStatus; shardId: number;} | { nonce: number; op: WorkerSendPayloadOp.SessionInfoResponse; session: SessionInfo | null;} | { op: WorkerSendPayloadOp.Connect; shardId: number;} | { op: WorkerSendPayloadOp.Destroy; options?: WebSocketShardDestroyOptions; shardId: number;} | { op: WorkerSendPayloadOp.Send; payload: GatewaySendPayload; shardId: number;};