using ScrapperAPI.Dtos; using ScrapperAPI.Records; namespace ScrapperAPI.Interfaces; public interface IContentRepository { Task SaveAsync(int queueId, string content, CancellationToken ct); /// /// Saves already-compressed content (e.g. from a remote agent) without recompressing. /// Task SaveCompressedAsync( int queueId, string contentEncoding, byte[] contentBytes, int originalLength, int compressedLength, CancellationToken ct); Task GetByQueueIdAsync(int queueId, CancellationToken ct); Task GetCompressedByQueueIdAsync(int queueId, CancellationToken ct); }