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