using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Kavita.Models.DTOs.Font; using Kavita.Models.Entities; namespace Kavita.API.Repositories; public interface IEpubFontRepository { void Add(EpubFont font); void Remove(EpubFont font); void Update(EpubFont font); Task> GetFontDtosAsync(CancellationToken ct = default); Task GetFontDtoAsync(int fontId, CancellationToken ct = default); Task GetFontDtoByNameAsync(string name, CancellationToken ct = default); Task> GetFontsAsync(CancellationToken ct = default); Task GetFontAsync(int fontId, CancellationToken ct = default); Task IsFontInUseAsync(int fontId, CancellationToken ct = default); }