using FluentResults; namespace NexusReader.UI.Shared.Services; public interface ISyncService { Task InitializeAsync(); Task UpdateProgressAsync(string pageId, Guid ebookId, double progress, string? chapterTitle, int chapterIndex); event Func OnProgressReceived; event Func? OnIngestionProgressReceived; Task DisposeAsync(); }