@interface RNFileCacheDownloader : NSObject<NSURLSessionDataDelegate, NSURLSessionDelegate, NSURLSessionTaskDelegate>

+ (void)setTimeoutIntervalForRequest:(int)timeoutIntervalForRequest;
+ (void)setTimeoutIntervalForResource:(int)timeoutIntervalForResource;
+ (void)download:(NSURL *)url to:(NSString *)path;
+ (void)cancelDownload:(NSURL *)url;
+ (double)bpsFrom:(double)from to:(double)to;

@end
