using Shogi.Contracts.Api; using Shogi.Contracts.Types; using Shogi.UI.Pages.Home.Account; using System.Net; namespace Shogi.UI.Pages.Home.Api; public interface IShogiApi { Task GetSession(string name); Task GetSessionsPlayerCount(); Task GetToken(WhichAccountPlatform whichAccountPlatform); Task GuestLogout(); Task Move(string sessionName, MovePieceCommand move); Task PostSession(string name, bool isPrivate); }