namespace SVSim.BattleNode.Sessions;
public interface IBattleSessionStore
{
/// Register a battle minted by the matching bridge, awaiting a WS connect.
void RegisterPending(PendingBattle battle);
/// Look up the pending battle. Returns null if not present.
PendingBattle? TryGetPending(string battleId);
/// Mark a battle as no longer pending (e.g. on successful connect or explicit close).
bool RemovePending(string battleId);
}