@class NSString, NSManagedObjectContext, PLPhotoLibraryPathManager, PLLibraryServicesManager, PLRoutineService, NSDictionary, CNContactStore, PLCameraAppWatcher, NSObject, PLPhotoLibrary, PLMomentGeneration; @protocol OS_dispatch_queue; @interface PLMomentGenerationDataManager : NSObject { id /* block */ _reachabilityBlock; CNContactStore *_contactStore; PLMomentGeneration *_generator; NSDictionary *_generationOptions; BOOL _observingReachability; struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _lightweightMigrationLock; PLPhotoLibraryPathManager *_lightWeightMigrationPathManager; PLLibraryServicesManager *_libraryServicesManager; PLRoutineService *_routineManager; } @property (readonly, weak, nonatomic) CNContactStore *_contactStore; @property (retain, nonatomic) PLPhotoLibrary *momentGenerationLibrary; @property (readonly, nonatomic) PLCameraAppWatcher *cameraWatcher; @property (retain, nonatomic) NSManagedObjectContext *managedObjectContext; @property (readonly, nonatomic) BOOL isLightweightMigrationManager; @property (nonatomic) BOOL shouldPerformLightweightValidation; @property (nonatomic) long long previousValidatedModelVersion; @property (nonatomic) BOOL previousValidationSucceeded; @property (readonly, nonatomic) NSObject *isolationQueue; @property (readonly, nonatomic) NSDictionary *generationOptions; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (void)initialize; + (void)setManagedObjectContextMomentarilyBlessed:(id)a0; + (void)setManagerMomentarilyBlessed:(id)a0; + (BOOL)isManagedObjectContextMomentarilyBlessed:(id)a0; + (id)processingMomentsFromMoments:(id)a0; - (id)initWithLibraryServicesManager:(id)a0; - (BOOL)save:(id *)a0; - (void)resetOnFailure; - (void)refreshAllObjects; - (BOOL)hasChanges; - (id)_highlightRelationshipsToPrefetchForHighlightKind:(unsigned short)a0; - (id)locationsOfInterest; - (BOOL)_batchDeleteForEntityName:(id)a0 error:(id *)a1; - (id)allPhotosHighlightsWithPredicate:(id)a0 error:(id *)a1; - (void)verifyAndRepairOrphanedAssets:(id)a0 completionBlock:(id /* block */)a1; - (void)performDataTransaction:(id /* block */)a0 synchronously:(BOOL)a1 completionHandler:(id /* block */)a2; - (id)allAssetIDsToBeIncludedInMomentsWithError:(id *)a0; - (id)allInvalidMomentsWithError:(id *)a0; - (BOOL)routineIsAvailable; - (id)fetchChildHighlightItemsForHighlightItem:(id)a0; - (void)_initIsolationQueue; - (id)momentsWithUniqueIDs:(id)a0 error:(id *)a1; - (id)allEmptyPhotosHighlightsOfKind:(unsigned short)a0 error:(id *)a1; - (id)highlightsIntersectingDateInterval:(id)a0 ofKind:(unsigned short)a1; - (id)allMomentIDsWithError:(id *)a0; - (id)allMomentsWithError:(id *)a0; - (Class)momentAssetDataClass; - (id)momentsBetweenDate:(id)a0 andDate:(id)a1 sorted:(BOOL)a2 excludeExternal:(BOOL)a3; - (id)lastLocationOfInterestVisit; - (void)_networkReachabilityDidChange:(id)a0; - (id)momentsRequiringLocationProcessingWhenFrequentLocationsChangedWithError:(id *)a0; - (id)generator; - (id)initWithManagedObjectContext:(id)a0 pathManagerForLightweightMigration:(id)a1; - (id)momentsRequiringLocationProcessingWhenFrequentLocationsAreAvailable:(id *)a0; - (id)allPhotosHighlightsOfAllKindsWithError:(id *)a0; - (id)assetWithUniqueID:(id)a0 error:(id *)a1; - (id)orphanedAssetIDsWithError:(id *)a0; - (id)momentsIntersectingDateInterval:(id)a0; - (void)_finalizeInit; - (id)insertNewPhotosHighlight; - (unsigned long long)hardGenerationBatchSizeLimit; - (id)fetchNeighborHighlightItemsForHighlightItems:(id)a0; - (Class)momentDataClass; - (id)momentsRequiringLocationProcessingWhenCoreRoutineIsAvailable:(id *)a0; - (id)allInvalidPhotosHighlightsOfAllKindsWithError:(id *)a0; - (void)performBlock:(id /* block */)a0 synchronously:(BOOL)a1 priority:(long long)a2 completionHandler:(id /* block */)a3; - (void)reloadGenerationOptions; - (id)allPhotosHighlightsOfKind:(unsigned short)a0 withPredicate:(id)a1 error:(id *)a2; - (id)insertNewMoment; - (BOOL)cameraIsActive; - (void).cxx_destruct; - (BOOL)deleteAllMomentsWithError:(id *)a0; - (BOOL)wantsMomentReplayLogging; - (id)_highlightRelationshipsToPrefetchForHighlightOfAnyKind; - (id)homeAddressDictionary; - (id)updatedObjects; - (void)logRoutineInformation; - (void)performBlock:(id /* block */)a0 synchronously:(BOOL)a1 completionHandler:(id /* block */)a2; - (id)momentsForAssetsWithUniqueIDs:(id)a0 error:(id *)a1; - (id)_currentHomeAddressDictionary; - (void)fetchLocationsOfInterestIfNeeded; - (id)deletedObjects; - (id)allAssetsToBeIncludedInMomentsWithError:(id *)a0; - (id)insertedObjects; - (void)runPeriodicMaintenanceTasks:(unsigned long long)a0 withTransaction:(id)a1; - (void)invalidateAllHighlightSubtitles; - (id)replayLogPath; - (BOOL)_deleteAllObjectsForEntityName:(id)a0 error:(id *)a1; - (id)momentWithUniqueID:(id)a0 error:(id *)a1; - (id)fetchParentHighlightItemsForHighlightItems:(id)a0; - (id)assetsWithUniqueIDs:(id)a0 error:(id *)a1; - (id)allPhotosHighlightsOfKind:(unsigned short)a0 error:(id *)a1; - (BOOL)deleteAllHighlightsWithError:(id *)a0; - (id)allInvalidAssetsWithError:(id *)a0; - (void)performDataTransaction:(id /* block */)a0 synchronously:(BOOL)a1 priority:(long long)a2 completionHandler:(id /* block */)a3; @end