using RdtClient.Data.Models.Data; using RdtClient.Data.Models.TorrentClient; namespace RdtClient.Service.Services.TorrentClients; public interface ITorrentClient { Task> GetTorrents(); Task GetUser(); Task AddMagnet(String magnetLink); Task AddFile(Byte[] bytes); Task> GetAvailableFiles(String hash); Task SelectFiles(Torrent torrent); Task Delete(String torrentId); Task Unrestrict(String link); Task UpdateData(Torrent torrent, TorrentClientTorrent? torrentClientTorrent); Task?> GetDownloadLinks(Torrent torrent); Task GetFileName(Download download); }