using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Kavita.Models.DTOs.Theme; using Kavita.Models.Entities; namespace Kavita.API.Services; public interface IThemeService { Task GetContent(int themeId, CancellationToken ct = default); Task UpdateDefault(int themeId, CancellationToken ct = default); /// /// Browse theme repo for themes to download /// /// /// Task> GetDownloadableThemes(CancellationToken ct = default); Task DownloadRepoTheme(DownloadableSiteThemeDto dto, CancellationToken ct = default); Task DeleteTheme(int siteThemeId, CancellationToken ct = default); Task CreateThemeFromFile(string tempFile, string username, CancellationToken ct = default); Task SyncThemes(CancellationToken ct = default); }