using System; using System.Threading.Tasks; using StabilityMatrix.Core.Models.Api; using StabilityMatrix.Core.Models.Api.Lykos; namespace StabilityMatrix.Avalonia.Services; public interface IAccountsService { event EventHandler? LykosAccountStatusUpdate; event EventHandler? CivitAccountStatusUpdate; LykosAccountStatusUpdateEventArgs? LykosStatus { get; } Task LykosSignupAsync(string email, string password, string username); Task LykosLoginAsync(string email, string password); Task LykosLogoutAsync(); Task LykosPatreonOAuthLogoutAsync(); Task CivitLoginAsync(string apiToken); Task CivitLogoutAsync(); Task RefreshAsync(); }