@class NSURL, TSPObjectContext, NSObject, TSUPathSet; @protocol OS_dispatch_queue, OS_dispatch_group; @interface TSPDataManager : NSObject { NSObject *_datasQueue; long long _nextNewIdentifier; struct unordered_map, std::allocator>> { struct __hash_table, std::__unordered_map_hasher, TSP::ObjectIdentifierHash, std::equal_to>, std::__unordered_map_equal, std::equal_to, TSP::ObjectIdentifierHash>, std::allocator>> { struct unique_ptr, void *> *> *[], std::__bucket_list_deallocator, void *> *> *>>> { struct __compressed_pair, void *> *> **, std::__bucket_list_deallocator, void *> *> *>>> { void **__value_; struct __bucket_list_deallocator, void *> *> *>> { struct __compressed_pair, void *> *> *>> { unsigned long long __value_; } __data_; } __value_; } __ptr_; } __bucket_list_; struct __compressed_pair, void *> *>, std::allocator, void *>>> { struct __hash_node_base, void *> *> { void *__next_; } __value_; } __p1_; struct __compressed_pair, TSP::ObjectIdentifierHash, std::equal_to>> { unsigned long long __value_; } __p2_; struct __compressed_pair, std::equal_to, TSP::ObjectIdentifierHash>> { float __value_; } __p3_; } __table_; } _identifierToDataMap; struct unordered_map, TSPData *__weak, TSP::DataDigestHash, TSP::DataDigestEqualTo, std::allocator, TSPData *__weak>>> { struct __hash_table, TSPData *__weak>, std::__unordered_map_hasher, std::__hash_value_type, TSPData *__weak>, TSP::DataDigestHash, TSP::DataDigestEqualTo>, std::__unordered_map_equal, std::__hash_value_type, TSPData *__weak>, TSP::DataDigestEqualTo, TSP::DataDigestHash>, std::allocator, TSPData *__weak>>> { struct unique_ptr, TSPData *__weak>, void *> *> *[], std::__bucket_list_deallocator, TSPData *__weak>, void *> *> *>>> { struct __compressed_pair, TSPData *__weak>, void *> *> **, std::__bucket_list_deallocator, TSPData *__weak>, void *> *> *>>> { void **__value_; struct __bucket_list_deallocator, TSPData *__weak>, void *> *> *>> { struct __compressed_pair, TSPData *__weak>, void *> *> *>> { unsigned long long __value_; } __data_; } __value_; } __ptr_; } __bucket_list_; struct __compressed_pair, TSPData *__weak>, void *> *>, std::allocator, TSPData *__weak>, void *>>> { struct __hash_node_base, TSPData *__weak>, void *> *> { void *__next_; } __value_; } __p1_; struct __compressed_pair, std::__hash_value_type, TSPData *__weak>, TSP::DataDigestHash, TSP::DataDigestEqualTo>> { unsigned long long __value_; } __p2_; struct __compressed_pair, std::__hash_value_type, TSPData *__weak>, TSP::DataDigestEqualTo, TSP::DataDigestHash>> { float __value_; } __p3_; } __table_; } _digestToDataMap; NSObject *_temporaryDirectoryQueue; NSURL *_lastDocumentURL; NSURL *_temporaryDirectoryURL; NSURL *_temporaryUniqueDirectoryURL; TSUPathSet *_temporaryPathSet; BOOL _hasExternalReferences; NSObject *_externalReferenceRemovalGroup; } @property (readonly, weak, nonatomic) TSPObjectContext *context; + (void)readWithChannel:(id)a0 handler:(id /* block */)a1; + (id)stringForDigest:(const void *)a0; - (void)dealloc; - (id)initWithContext:(id)a0; - (id).cxx_construct; - (void).cxx_destruct; - (void)removeFileAtPath:(id)a0; - (void)addData:(id)a0; - (void)setDocumentURL:(id)a0; - (void)enumerateDatasUsingBlock:(id /* block */)a0; - (void)removeTemporaryDirectory; - (void)dataForDigest:(const void *)a0 queue:(id)a1 completion:(id /* block */)a2; - (id)addNewDataForStorage:(id)a0 digest:(const void *)a1 filename:(id)a2; - (id)checkForPersistenceWarningsWithPackageURL:(id)a0; - (void)coordinateReadingNewFileURL:(id)a0 byAccessor:(id /* block */)a1; - (id)copyData:(id)a0; - (id)createTemporaryDirectoryForPackageURL:(id)a0; - (id)dataForDigest:(const void *)a0; - (id)dataForDigestImpl:(const void *)a0 accessorBlock:(id /* block */)a1; - (id)dataForDigestImpl:(const void *)a0 skipDocumentResourcesLookup:(BOOL)a1 accessorBlock:(id /* block */)a2; - (id)dataForExistingData:(id)a0 digest:(const void *)a1 filename:(id)a2 temporaryPath:(id)a3; - (id)dataForIdentifier:(long long)a0; - (id)dataForIdentifierImpl:(long long)a0; - (id)dataFromExternalReferenceURL:(id)a0 useFileCoordination:(BOOL)a1; - (id)dataFromFileURL:(id)a0 useFileCoordination:(BOOL)a1; - (id)dataFromNSData:(id)a0 filename:(id)a1; - (id)dataFromReadChannel:(id)a0 filename:(id)a1; - (id)dataFromReadChannel:(id)a0 filename:(id)a1 linkURLOrNil:(id)a2; - (id)dataFromReadChannel:(id)a0 filename:(id)a1 temporaryPath:(id)a2; - (id)dataFromURL:(id)a0 useFileCoordination:(BOOL)a1; - (id)dataOrNilForIdentifier:(long long)a0; - (id)dataWithStorage:(id)a0 digest:(const void *)a1 filename:(id)a2 skipDocumentResourcesLookup:(BOOL)a3 accessorBlock:(id /* block */)a4; - (id)dataWithTemporaryPath:(id)a0 digest:(const void *)a1 filename:(id)a2; - (void)didCloseDocument; - (id)documentResourceDataWithStorage:(id)a0 digestString:(id)a1 filename:(id)a2; - (void)findExistingDataForReadChannel:(id)a0 dataURL:(id)a1 readHandler:(id /* block */)a2 completion:(id /* block */)a3; - (void)findExistingDataForReadChannel:(id)a0 dataURL:(id)a1 temporaryPath:(id)a2 shouldWriteIfFound:(BOOL)a3 completion:(id /* block */)a4; - (BOOL)linkTemporaryPath:(id)a0 fromURL:(id)a1; - (int)openTemporaryPath:(id)a0; - (void)removeExternalReferenceForData:(id)a0 storage:(id)a1; - (void)removeExternalReferences; - (id)temporaryPathForFilename:(id)a0; - (void)waitForRemoveExternalReferencesToComplete; @end