@class NSError, NSString, NSMutableDictionary, NSMutableSet, TSUBasicProgress, NSObject, TSUDownloadManager; @protocol OS_dispatch_group, OS_dispatch_queue, TSUDownloadSessionDelegate; @interface TSUDownloadSession : NSObject { TSUDownloadManager *_manager; id _delegate; BOOL _didFinishInitialization; NSObject *_initializationGroup; NSObject *_accessQueue; NSObject *_delegateQueue; NSMutableSet *_remainingTasks; NSMutableDictionary *_taskProgress; double _lastProgressValue; NSObject *_completionGroup; NSError *_error; } @property (readonly, nonatomic) BOOL isCancelled; @property (readonly, nonatomic) BOOL isActive; @property (readonly, nonatomic) NSString *sessionDescription; @property (readonly, nonatomic) TSUBasicProgress *progress; @property (readonly, nonatomic) long long totalBytesDownloaded; @property (readonly, nonatomic) long long totalBytesExpectedToBeDownloaded; - (id)init; - (void)dealloc; - (id)description; - (void).cxx_destruct; - (void)cancel; - (void)updateProgressAndNotifyDelegate; - (void)cancelRemainingTasksNotifyingDelegate:(BOOL)a0; - (void)didFinishInitialization; - (BOOL)hasActiveTaskWithDescription:(id)a0; - (void)headRequestForDownloadItem:(id)a0 taskProgress:(id)a1; - (id)initWithManager:(id)a0 downloadItems:(id)a1 description:(id)a2 willRequestDownload:(BOOL)a3 delegate:(id)a4; - (void)notifyCompletionWithQueue:(id)a0 completionHandler:(id /* block */)a1; - (void)taskWithDescription:(id)a0 didCompleteWithError:(id)a1 totalBytesWritten:(long long)a2 totalBytesExpectedToWrite:(long long)a3; - (void)taskWithDescription:(id)a0 didWriteData:(long long)a1 totalBytesWritten:(long long)a2 totalBytesExpectedToWrite:(long long)a3; - (void)updateTaskProgress:(id)a0 withTotalBytesWritten:(long long)a1 totalBytesExpectedToWrite:(long long)a2; - (id)waitUntilTimeout:(unsigned long long)a0; @end