export type WorkerReceivePayload = { data: any[]; event: WebSocketShardEvents; op: WorkerReceivePayloadOp.Event; shardId: number;} | { nonce: number; op: WorkerReceivePayloadOp.CancelIdentify;} | { nonce: number; op: WorkerReceivePayloadOp.FetchStatusResponse; status: WebSocketShardStatus;} | { nonce: number; op: WorkerReceivePayloadOp.RetrieveSessionInfo; shardId: number;} | { nonce: number; op: WorkerReceivePayloadOp.WaitForIdentify; shardId: number;} | { op: WorkerReceivePayloadOp.Connected; shardId: number;} | { op: WorkerReceivePayloadOp.Destroyed; shardId: number;} | { op: WorkerReceivePayloadOp.UpdateSessionInfo; session: SessionInfo | null; shardId: number;} | { op: WorkerReceivePayloadOp.WorkerReady;};