using System.Collections.Generic; using System.Threading.Tasks; using API.Parser; using VersOne.Epub; namespace API.Interfaces { public interface IBookService { int GetNumberOfPages(string filePath); byte[] GetCoverImage(string fileFilePath, bool createThumbnail = true); Task> CreateKeyToPageMappingAsync(EpubBookRef book); /// /// Scopes styles to .reading-section and replaces img src to the passed apiBase /// /// /// /// If the stylesheetHtml contains Import statements, when scoping the filename, scope needs to be wrt filepath. /// Book Reference, needed for if you expect Import statements /// Task ScopeStyles(string stylesheetHtml, string apiBase, string filename, EpubBookRef book); string GetSummaryInfo(string filePath); ParserInfo ParseInfo(string filePath); } }