using FluentResults; namespace NexusReader.Application.Abstractions.Services; /// /// Service abstraction to extract raw text content from EPUB chapters. /// public interface IEpubExtractor { /// /// Extracts the sanitized, plain-text content of each chapter in the EPUB file. /// /// The relative storage path of the EPUB file. /// Cancellation token. /// A list of plain-text chapters, or a failure result. Task>> ExtractChaptersTextAsync(string relativePath, CancellationToken cancellationToken = default); }