luxlabs header browser preview


@class NSHashTable, PAVideoConversionServiceClient, PLPhotoLibraryBundle, PLPhotoKitVariationCache, PAImageConversionServiceClient, PLLazyObject, NSString, NSError, PLFileSystemVolume, PLPhotoAnalysisServiceClient, NSMutableDictionary, PLPhotoLibrary, CPLStatus, NSObject, PHPhotoLibraryAppPrivateData, PHPerformChangesRequest, PLAssetsdClient, PHFetchOptions, PLCacheMetricsCollectorClient, NSURL, NSProgress, PHPersistentChangeToken, NSManagedObjectID;
@protocol OS_dispatch_queue;

@interface PHPhotoLibrary : NSObject <PHBatchFetchingArrayDataSource, CPLStatusDelegate, PHPerformChangesRequest> {
    PLLazyObject *_lazyPhotoLibrary;
    PLLazyObject *_lazyMainQueueConcurrencyPhotoLibrary;
    PLLazyObject *_lazyMainQueuePhotoLibrary;
    PLLazyObject *_lazyBackgroundQueuePhotoLibrary;
    PLLazyObject *_lazyUserInitiatedQueuePhotoLibrary;
    PLLazyObject *_lazyBackgroundQueueObjectFetchingPhotoLibrary;
    PLLazyObject *_lazyChangeHandlingPhotoLibrary;
    PLLazyObject *_lazyAlbumRootFolderObjectID;
    PLLazyObject *_lazyProjectAlbumRootFolderObjectID;
    PLLazyObject *_lazyAppPrivateData;
    PLLazyObject *_lazyCacheMetricsCollectorClient;
    PLLazyObject *_lazyCPLStatus;
    PLLazyObject *_lazyIsReadyForAnalysis;
    PLLazyObject *_lazyIsReadyForAnalysisQuickCheck;
    PLLazyObject *_lazySearchIndex;
    PLFileSystemVolume *_libraryFileSystemVolume;
    _Atomic BOOL _isCompletedPostOpenInitialization;
    struct atomic_flag { _Atomic BOOL _Value; } _isChangeProcessingPending;
    NSProgress *_postOpenProgress;
    long long _wellKnownPhotoLibraryIdentifier;
    BOOL _postsPersistentHistoryChangedNotifications;
    BOOL _opened;
    NSError *_openError;
    PHFetchOptions *_customLibrarySpecificFetchOptions;
}

@property (class, readonly) const char *systemPhotoLibraryURLChangeNotificationName;
@property (class, readonly) const char *systemPhotoLibraryAvailableNotificationName;
@property (class, readonly) BOOL isPhotosApplicationInstalled;

@property (readonly, nonatomic) NSString *uuid;
@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (readonly, copy) NSString *description;
@property (readonly, copy) NSString *debugDescription;
@property (retain, nonatomic) NSObject<OS_dispatch_queue> *isolationQueue;
@property (readonly) PLPhotoLibrary *photoLibrary;
@property (readonly) PLPhotoLibrary *mainQueuePhotoLibrary;
@property (readonly) PLPhotoLibrary *userInitiatedQueuePhotoLibrary;
@property (readonly) PLPhotoLibrary *backgroundQueuePhotoLibrary;
@property (readonly) PLPhotoLibrary *backgroundQueueObjectFetchingPhotoLibrary;
@property (readonly) PLPhotoLibrary *transactionPhotoLibrary;
@property (retain, nonatomic) NSObject<OS_dispatch_queue> *transactionQueue;
@property (retain, nonatomic) PHPerformChangesRequest *performChangesRequest;
@property (retain, nonatomic) NSHashTable *fetchResultsRegisteredForChangeNotifications;
@property (retain, nonatomic) NSHashTable *internalChangeObservers;
@property (retain, nonatomic) NSHashTable *externalChangeObservers;
@property (nonatomic) BOOL isChangeHandlingActive;
@property (nonatomic) BOOL isChangeHandlingAuthorized;
@property (retain, nonatomic) NSMutableDictionary *changeNotificationInfo;
@property (nonatomic) BOOL unknownMergeEvent;
@property (nonatomic) double lastChangeProcessingStarted;
@property (retain, nonatomic) NSHashTable *availabilityObservers;
@property (retain) NSError *unavailabilityReason;
@property (readonly) PLPhotoLibrary *changeHandlingPhotoLibrary;
@property (readonly, nonatomic) NSManagedObjectID *albumRootFolderObjectID;
@property (readonly, nonatomic) NSManagedObjectID *projectAlbumRootFolderObjectID;
@property (readonly, nonatomic) unsigned short type;
@property (readonly, nonatomic) long long wellKnownPhotoLibraryIdentifier;
@property (readonly, nonatomic) BOOL isSystemPhotoLibrary;
@property (readonly, nonatomic) BOOL isCloudPhotoLibrary;
@property (readonly, nonatomic, getter=isCloudPhotoLibraryEnabled) BOOL cloudPhotoLibraryEnabled;
@property (readonly, nonatomic) BOOL isReadOnlyCloudPhotoLibrary;
@property (readonly, nonatomic) CPLStatus *cplStatus;
@property (readonly, nonatomic) BOOL isWalrusEnabled;
@property (readonly, nonatomic) BOOL isSharedAlbumsEnabled;
@property (readonly, copy, nonatomic) NSString *databaseUUID;
@property (readonly, nonatomic) NSURL *photoLibraryURL;
@property (readonly) PLPhotoLibraryBundle *photoLibraryBundle;
@property (readonly) PLPhotoKitVariationCache *variationCache;
@property (readonly, nonatomic) PLPhotoLibrary *mainQueueConcurrencyPhotoLibrary;
@property (readonly, nonatomic) NSProgress *postOpenProgress;
@property (readonly, nonatomic) PHPhotoLibraryAppPrivateData *appPrivateData;
@property (nonatomic) BOOL clearsOIDCacheAfterFetchResultDealloc;
@property (readonly, nonatomic) PLPhotoAnalysisServiceClient *photoAnalysisClient;
@property (readonly, nonatomic) PLAssetsdClient *assetsdClient;
@property (readonly, nonatomic) PLCacheMetricsCollectorClient *cacheMetricsCollector;
@property (retain, nonatomic) PAImageConversionServiceClient *imageConversionServiceClient;
@property (retain, nonatomic) PAVideoConversionServiceClient *videoConversionServiceClient;
@property BOOL postsPersistentHistoryChangedNotifications;
@property (readonly, nonatomic) PHPersistentChangeToken *currentToken;
@property (readonly, nonatomic) BOOL isReadyForAnalysis;
@property (readonly, nonatomic) BOOL isReadyForAnalysis_FOR_UI_USE_ONLY;
@property (readonly, nonatomic) PHPersistentChangeToken *currentChangeToken;
@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (readonly, copy) NSString *description;
@property (readonly, copy) NSString *debugDescription;

+ (long long)authorizationStatus;
+ (void)initialize;
+ (BOOL)isSystemPhotoLibraryURL:(id)a0;
+ (id)wellKnownPhotoLibraryURLForIdentifier:(long long)a0;
+ (id)sharedPhotoLibrary;
+ (void)requestAuthorization:(id /* block */)a0;
+ (double)nextOverrideTimeIntervalForSystemBudgets:(unsigned long long)a0;
+ (id)sharedContactStore;
+ (BOOL)isMultiLibraryModeEnabled;
+ (id)openPhotoLibraryWithWellKnownIdentifier:(long long)a0 error:(id *)a1;
+ (id)sharedMomentSharePhotoLibrary;
+ (Class)PHObjectClassForOID:(id)a0;
+ (id)PHObjectClassesByEntityName;
+ (id)PHObjectClasses;
+ (Class)PHObjectClassForEntityName:(id)a0;
+ (Class)PHObjectClassForObjectType:(long long)a0;
+ (BOOL)setSystemPhotoLibraryURL:(id)a0 error:(id *)a1;
+ (BOOL)_checkAuthorizationStatusForAPIAccessLevel:(long long)a0 suppressPrompt:(BOOL)a1;
+ (id)_countOfAnalysisVersionsForKey:(id)a0 inLibrary:(id)a1;
+ (unsigned long long)_countOfAssetsWithPredicate:(id)a0 entityName:(id)a1 inLibrary:(id)a2;
+ (id)_effectiveRootEntity:(id)a0;
+ (void)_forceUserInterfaceReload;
+ (BOOL)_isInternalObserver:(id)a0;
+ (long long)_photosAccessAllowedForAccessLevel:(long long)a0;
+ (void)_requestAuthorizationForAccessLevel:(long long)a0 supportsLimited:(BOOL)a1 handler:(id /* block */)a2;
+ (id)_sharedPhotoLibrary;
+ (void)assertRunningInExtension;
+ (void)assertTransaction;
+ (long long)authorizationStatusForAccessLevel:(long long)a0;
+ (BOOL)checkAuthorizationStatusForAPIAccessLevel:(long long)a0;
+ (Class)classForFetchType:(id)a0;
+ (long long)collectionListTypeForIdentifierCode:(id)a0;
+ (BOOL)createOrUpgradePhotoLibraryWithWellKnownIdentifier:(long long)a0 error:(id *)a1;
+ (void)enableMultiLibraryMode;
+ (id)fetchTypeForLocalIdentifierCode:(id)a0;
+ (BOOL)hasSharedPhotoLibrary;
+ (id)imagePickerPhotoLibrary;
+ (id)mediaProcessingDeviceIndependentFacesSortDescriptors;
+ (id)mediaProcessingFacesSortDescriptorsForGeneratingPersonModel;
+ (id)photoLibraryForCurrentTransaction;
+ (void)removeAllUniquedOIDs;
+ (void)requestAuthorizationForAccessLevel:(long long)a0 handler:(id /* block */)a1;
+ (BOOL)setImagePickerPhotoLibrary:(id)a0 error:(id *)a1;
+ (void)setNeedsToRepairKeyCuratedAssetForMemories:(id)a0;
+ (void)setSharedPhotoLibrary:(id)a0;
+ (id)sharedLazyPhotoLibraryForCMM;
+ (BOOL)shouldDisplayMergeCandidates:(id)a0 forPerson:(id)a1;
+ (id)stringFromPHPhotoLibraryType:(unsigned short)a0;
+ (id)systemPhotoLibraryURL;
+ (id)uniqueObjectIDCache;
+ (id)uniquedOID:(id)a0;
+ (id)uniquedOIDs:(id)a0;
+ (id)uniquedOIDsFromObjects:(id)a0;

- (id)managedObjectContext;
- (id)pathManager;
- (void)_removeObserver:(id)a0;
- (BOOL)requestStartSharedLibrarySuggestionResultWithError:(id *)a0;
- (id)libraryID;
- (void)close;
- (BOOL)requestHighlightCollectionEnrichmentWithOptions:(id)a0 error:(id *)a1;
- (void)_endTransaction;
- (id)requestGraphMomentLocalIdentifiersWithDateInterval:(id)a0 error:(id *)a1;
- (id)init;
- (void)registerChangeObserver:(id)a0;
- (void)countOfReferencedMediaWithCompletionHandler:(id /* block */)a0;
- (void)dealloc;
- (void)accountDidChange:(id)a0;
- (void)unregisterChangeObserver:(id)a0;
- (void)requestGenerateQuestionsWithOptions:(id)a0 reply:(id /* block */)a1;
- (void)_processPendingChanges;
- (void)statusDidChange:(id)a0;
- (void)resetLimitedLibraryAccessForApplication:(id)a0 completionHandler:(id /* block */)a1;
- (id)requestGraphInferencesSummaryWithDateInterval:(id)a0 error:(id *)a1;
- (id)requestTextFeaturesForMomentLocalIdentifiers:(id)a0 error:(id *)a1;
- (void)cancelOperationsWithIdentifiers:(id)a0 reply:(id /* block */)a1;
- (void)requestExternalAssetRelevanceProcessingWithReply:(id /* block */)a0;
- (BOOL)requestAssetRevGeocodingForAssetLocalIdentifiers:(id)a0 withError:(id *)a1;
- (BOOL)isInitialDuplicateDetectorProcessingCompleted;
- (void)observeValueForKeyPath:(id)a0 ofObject:(id)a1 change:(id)a2 context:(void *)a3;
- (void)setWidgetTimelineGeneratedForDisplaySize:(struct CGSize { double x0; double x1; })a0;
- (id)allowedEntities;
- (void).cxx_destruct;
- (void)_beginTransaction;
- (id)changeRequestForUUID:(id)a0;
- (BOOL)requestEnrichmentWithOptions:(id)a0 error:(id *)a1;
- (void)requestSyndicationProcessingWithOptions:(id)a0 reply:(id /* block */)a1;
- (void)resetFaceAnalysisWithResetLevel:(long long)a0 completionHandler:(id /* block */)a1;
- (BOOL)requestHighlightEnrichmentWithOptions:(id)a0 error:(id *)a1;
- (BOOL)requestAssetRevGeocodingWithError:(id *)a0;
- (void)recordInsertRequest:(id)a0;
- (id)requestGraphInferencesSummaryWithMomentLocalIdentifiers:(id)a0 error:(id *)a1;
- (void)simulateMemoriesNotificationWithOptions:(id)a0 reply:(id /* block */)a1;
- (void)setChangeRequest:(id)a0 forUUID:(id)a1;
- (void)recordDeleteRequest:(id)a0;
- (id)initWithPhotoLibraryURL:(id)a0;
- (void)recordUpdateRequest:(id)a0;
- (void)performChanges:(id /* block */)a0 completionHandler:(id /* block */)a1;
- (id)librarySpecificFetchOptions;
- (id)searchIndex;
- (void)_handleServiceConnectionClosed:(id)a0;
- (BOOL)_isValidTaskID:(unsigned long long)a0;
- (id)newUnclusteredFacesFetchOptions;
- (double)ratioOfAssetsWithFacesProcessed;
- (id)highlightDebugInformationForHighlightWithLocalIdentifier:(id)a0 error:(id *)a1;
- (void)unregisterAvailabilityObserver:(id)a0;
- (void)_addObservers:(id)a0 authorizationStatus:(long long)a1;
- (id)_adjustedSincePredicateWithDate:(id)a0;
- (double)_analysisProgressForHighlight:(id)a0 fetchCountBlock:(id /* block */)a1;
- (id)_assetFetchOptionsForMediaProcessing;
- (id)_assetKindPredicateForTaskID:(unsigned long long)a0;
- (id)_assetOIDsForHighlight:(id)a0 withContext:(id)a1;
- (id)_baseFetchOptionsForMediaProcessing;
- (void)_callLegacyCompletionTarget:(id)a0 completionSelector:(SEL)a1 contextInfo:(void *)a2 withSuccess:(BOOL)a3 error:(id)a4;
- (void)_cancelTransactionOnExecutionContext:(id)a0 withInstrumentation:(id)a1 completionHandler:(id /* block */)a2;
- (void)_commitTransactionOnExecutionContext:(id)a0 withInstrumentation:(id)a1 completionHandler:(id /* block */)a2;
- (void)_denyTransactionOnExecutionContext:(id)a0 withInstrumentation:(id)a1 authorizationStatus:(long long)a2 accessLevel:(long long)a3 completionHandler:(id /* block */)a4;
- (id)_errorForAuthorizationStatus:(long long)a0 accessLevel:(long long)a1;
- (id)_facesFetchOptionsForMediaProcessing;
- (id)_fetchOptionsForMediaProcessingTaskID:(unsigned long long)a0 priority:(unsigned long long)a1 analysisVersion:(int)a2 sceneConfidenceThreshold:(float)a3 adjustedSinceDate:(id)a4 error:(id *)a5;
- (id)_fetchPersistentChangesSinceToken:(id)a0 options:(id)a1 error:(id *)a2;
- (void)_handleLibraryBecameUnavailable:(id)a0 reason:(id)a1;
- (BOOL)_hasChangeObservers;
- (id)_imagesInternalPredicate;
- (void)_importExportRequests:(id)a0 assetCollection:(id)a1 bundleStagingDirectoryURL:(id)a2 resultHandler:(id /* block */)a3;
- (void)_importIntoLibraryWithAssetCollection:(id)a0 assetBundles:(id)a1 resultHandler:(id /* block */)a2;
- (void)_importRenderedAssets:(id)a0 assetCollection:(id)a1 bundleStagingDirectoryURL:(id)a2 resultHandler:(id /* block */)a3;
- (long long)_initialRetryCountForChangesRequest:(id)a0;
- (id)_initializeAppPrivateData;
- (id)_initializeCPLStatus;
- (id)_initializeIsReadyForAnalysis;
- (id)_initializeIsReadyForAnalysisQuickCheck;
- (id)_initializeSearchIndex;
- (id)_internalPredicateForTaskID:(unsigned long long)a0 priority:(unsigned long long)a1 analysisVersion:(int)a2 sceneConfidenceThreshold:(float)a3 adjustedSinceDate:(id)a4;
- (void)_invalidateEverythingWithReason:(id)a0;
- (id)_lazyPhotoLibrary;
- (id)_livePhotosInternalPredicate;
- (id)_moviesInternalPredicate;
- (id)_needsProcessingPredicateForTaskID:(unsigned long long)a0 analysisVersion:(int)a1;
- (id)_nonPanoInternalPredicate;
- (void)_notifyAvailabilityObserversWithReason:(id)a0;
- (void)_notifyPersistentChangeObservers;
- (void)_onQueueNotifyAvailabilityObserversWithReason:(id)a0;
- (void)_pauseChangeHandlingIfNeeded;
- (id)_photoLibraryForAnalysisState;
- (id)_popChangesRequest;
- (BOOL)_postOpenInitializationWithError:(id *)a0;
- (BOOL)_preflightRequest:(id)a0 withError:(id *)a1;
- (id)_priorityPredicateForTaskID:(unsigned long long)a0 priority:(unsigned long long)a1 sceneConfidenceThreshold:(float)a2;
- (id)_propertySetsForTaskID:(unsigned long long)a0;
- (double)_ratioOfAssetsAtOrAboveVersion:(short)a0 forKey:(id)a1;
- (void)_resumeChangeHandlingIfNeeded;
- (void)_sendChangesRequest:(id)a0 onExecutionContext:(id)a1 withInstrumentation:(id)a2 remainingRetryCount:(long long)a3 reply:(id /* block */)a4;
- (void)_sendChangesRequest:(id)a0 onExecutionContext:(id)a1 withInstrumentation:(id)a2 reply:(id /* block */)a3;
- (BOOL)_setUnavailabilityReason:(id)a0;
- (BOOL)_shouldIncludeAllBurstAssetsForTaskID:(unsigned long long)a0;
- (BOOL)_shouldIncludeGuestAssetsForTaskID:(unsigned long long)a0;
- (BOOL)_shouldIncludeHiddenAssetsForTaskID:(unsigned long long)a0;
- (BOOL)_shouldIncludeTrashedAssetsForTaskID:(unsigned long long)a0;
- (void)_startObservingServiceConnectionInvalidated;
- (void)_startWatchingFileSystemVolumeForLibraryAvailability;
- (void)_startWatchingForLibraryAvailability;
- (void)_stopObservingServiceConnectionInvalidated;
- (void)_stopWatchingFileSystemVolumeForLibraryAvailability;
- (void)_stopWatchingForLibraryAvailability;
- (id)allSocialGroupsForPersonLocalIdentifier:(id)a0 options:(id)a1 error:(id *)a2;
- (void)appPrivateDataWriteFailedWithError:(id)a0;
- (void)assertTransaction;
- (id)assetIdentifiersForPersonIdentifiers:(id)a0 error:(id *)a1;
- (BOOL)assetsArePendingForDuplicateMergeProcessingWithLocalIdentifiers:(id)a0;
- (id)bfa_fetchObjectsForOIDs:(id)a0 propertyHint:(unsigned long long)a1 overrideResultsWithClass:(Class)a2;
- (id)bfa_fetchUUIDsForRestrictedOIDs:(id)a0;
- (id)bfa_fetchedObjectsForOIDs:(id)a0 propertySetClass:(Class)a1;
- (id)bfa_photoLibrary;
- (BOOL)bfa_supportsPrivacyRestrictionsForOIDs:(id)a0;
- (id)bfa_tombstoneObjectForOID:(id)a0 uuid:(id)a1 propertyHint:(unsigned long long)a2 overrideResultsWithClass:(Class)a3;
- (void)closeWithReason:(id)a0;
- (id)cloudIdentifierMappingsForLocalIdentifiers:(id)a0;
- (id)cloudIdentifiersForLocalIdentifiers:(id)a0;
- (BOOL)cloudQuotaResourceBytesUsed:(id *)a0 error:(id *)a1;
- (BOOL)cloudQuotaResourceBytesUsed:(id *)a0 minVideoSize:(unsigned long long)a1 error:(id *)a2;
- (void)cloudQuotaResourceBytesUsedForMinVideoSize:(unsigned long long)a0 completion:(id /* block */)a1;
- (unsigned long long)countOfClusteringEligibleFaces;
- (unsigned long long)countOfDirtyFaceGroups;
- (unsigned long long)countOfFaceCropsToBeGenerated;
- (unsigned long long)countOfUnclusteredFaces;
- (unsigned long long)countOfUnprocessedFaceCrops;
- (BOOL)createOrUpgradeLibraryUsingOptions:(id)a0 error:(id *)a1;
- (BOOL)createPhotoLibraryUsingOptions:(id)a0 error:(id *)a1;
- (BOOL)createPhotoLibraryWithError:(id *)a0;
- (BOOL)createPhotoLibraryWithOptions:(unsigned long long)a0 error:(id *)a1;
- (id)curationDebugInformationForAssetCollectionWithLocalIdentifier:(id)a0 options:(id)a1 error:(id *)a2;
- (id)curationDebugInformationForAssetLocalIdentifier:(id)a0 error:(id *)a1;
- (id)exportGraphForPurpose:(id)a0 error:(id *)a1;
- (id)faceAnalysisProcessingCounts;
- (id)faceAnalysisProgressCounts;
- (double)faceAnalysisProgressForHighlight:(id)a0;
- (id)faceClusterSequenceNumbersOfFacesWithClusterSequenceNumbers:(id)a0 error:(id *)a1;
- (id)faceClusterSequenceNumbersOfKeyFacesInAlgorithmicFaceGroupsForPerson:(id)a0 verifiedClusterSequenceNumbers:(id)a1;
- (id)fetchAssetsForMediaProcessingTaskID:(unsigned long long)a0 priority:(unsigned long long)a1 analysisVersion:(int)a2 sceneConfidenceThreshold:(float)a3 adjustedSinceDate:(id)a4 error:(id *)a5;
- (long long)fetchCountOfAssetsWithAllowedForAnalysis;
- (long long)fetchCountOfAssetsWithFacesProcessedToAnyVersion;
- (long long)fetchCountOfAssetsWithFacesProcessedToLatestVersion;
- (long long)fetchCountOfAssetsWithMediaAnalysisProcessed;
- (long long)fetchCountOfAssetsWithScenesProcessed;
- (id)fetchDictionariesByPHClassForOIDs:(id)a0 propertyHint:(unsigned long long)a1 includeTrash:(BOOL)a2 overrideWithPHClass:(Class)a3;
- (id)fetchFacesForMediaProcessingWithPersonLocalIdentifiers:(id)a0 inMoment:(id)a1;
- (id)fetchPHObjectsForOIDs:(id)a0;
- (id)fetchPHObjectsForOIDs:(id)a0 propertyHint:(unsigned long long)a1 includeTrash:(BOOL)a2 overrideResultsWithClass:(Class)a3;
- (id)fetchPHObjectsForUUIDs:(id)a0 entityName:(id)a1;
- (id)fetchPersistentChangesSinceToken:(id)a0 error:(id *)a1;
- (id)fetchPersistentChangesWithRequest:(id)a0 error:(id *)a1;
- (id)fetchPropertiesByOID:(id)a0 propertyNamesByEntityName:(id)a1;
- (id)fetchUpdatedObject:(id)a0;
- (id)fetchedObjectsForOIDs:(id)a0 propertySetClass:(Class)a1;
- (void)getCPLConfigrationValueForClient:(unsigned long long)a0 completionHandler:(id /* block */)a1;
- (id)graphStatisticsDescription:(id *)a0;
- (id)graphStatusDescription:(id *)a0;
- (void)handleMergeNotification:(id)a0;
- (void)importAssetsFromLibrary:(id)a0 assetIdentifiers:(id)a1 containerIdentifier:(id)a2 resultHandler:(id /* block */)a3;
- (id)initMomentShareLibrary;
- (id)initSharedLibrary;
- (id)initWithPLPhotoLibrary:(id)a0;
- (id)initWithPLPhotoLibrary:(id)a0 type:(unsigned short)a1;
- (id)initWithPhotoLibraryBundle:(id)a0 type:(unsigned short)a1;
- (id)initWithPhotoLibraryURL:(id)a0 type:(unsigned short)a1;
- (BOOL)internal_processIdenticalDuplicatesWithError:(id *)a0;
- (BOOL)invalidatePersistentGraphCachesAndReturnError:(id *)a0;
- (BOOL)invalidateTransientGraphCachesAndReturnError:(id *)a0;
- (BOOL)isFaceProcessingFinished;
- (BOOL)isPHPhotoLibraryForCMM;
- (void)legacySaveImageDataToCameraRoll:(id)a0 completionTarget:(id)a1 completionSelector:(SEL)a2 contextInfo:(void *)a3;
- (void)legacySaveImageToCameraRoll:(id)a0 completionTarget:(id)a1 completionSelector:(SEL)a2 contextInfo:(void *)a3;
- (void)legacySaveScreenshotToCameraRoll:(id)a0 completionTarget:(id)a1 completionSelector:(SEL)a2 contextInfo:(void *)a3;
- (void)legacySaveVideoToCameraRoll:(id)a0 completionTarget:(id)a1 completionSelector:(SEL)a2 contextInfo:(void *)a3;
- (id)limitedLibraryPredicateForApplication:(id)a0 fetchType:(id)a1;
- (id)localIdentifierMappingsForCloudIdentifiers:(id)a0;
- (id)localIdentifiersForCloudIdentifiers:(id)a0;
- (id)mainQueueManagedObjectContext;
- (id)managedObjectContextForCurrentQueueQoS;
- (id)memoryDebugInformationForMemoryWithLocalIdentifier:(id)a0 error:(id *)a1;
- (void)mergeDuplicateAssetsWithLocalIdentifiers:(id)a0 completionHandler:(id /* block */)a1;
- (id)migrationDate;
- (id)newClusteringEligibleFacesFetchOptions;
- (id)newFaceCropsToBeGeneratedFetchOptions;
- (id)objectFetchingContextForCurrentQueueQoS;
- (id)objectFetchingManagedObjectContextForObject:(id)a0 propertySet:(id)a1;
- (BOOL)openAndWaitWithUpgrade:(BOOL)a0 error:(id *)a1;
- (BOOL)openAndWaitWithUpgrade:(BOOL)a0 options:(id)a1 error:(id *)a2;
- (void)performCancellableChanges:(id /* block */)a0 completionHandler:(id /* block */)a1;
- (BOOL)performCancellableChangesAndWait:(id /* block */)a0 error:(id *)a1;
- (BOOL)performChangesAndWait:(id /* block */)a0 error:(id *)a1;
- (void)personPromotionProcessingStatusForUserInterface:(id /* block */)a0;
- (BOOL)petVIPModelExists;
- (BOOL)photoAnalysisClientAllowed;
- (id)photoLibraryForCurrentQueueQoS;
- (id)plLibraryOptionsFromPHOptions:(id)a0 createOptions:(unsigned long long *)a1;
- (id)pl_photoLibraryForCMM;
- (id)pl_syncProgressAlbums;
- (BOOL)processUniversalSearchJITForAssetLocalIdentifier:(id)a0 processingTypes:(unsigned long long)a1 error:(id *)a2;
- (id)processUniversalSearchJITForCoreSpotlightUniqueIdentifier:(id)a0 bundleID:(id)a1 processingTypes:(unsigned long long)a2 error:(id *)a3;
- (id)queryForType:(id)a0 withIdentifiers:(id)a1 local:(BOOL)a2;
- (double)ratioOfAssetsAtOrAboveFaceAnalysisVersion:(short)a0;
- (double)ratioOfAssetsAtOrAboveSceneAnalysisVersion:(short)a0;
- (double)ratioOfAssetsWithMediaAnalysisProcessed;
- (double)ratioOfAssetsWithScenesProcessed;
- (void)registerAvailabilityObserver:(id)a0;
- (void)registerFetchResult:(id)a0;
- (id)relatedDebugInformationBetweenAssetForLocalIdentifier:(id)a0 andRelatedAssetCollectionForLocalIdentifier:(id)a1 options:(id)a2 relatedType:(unsigned long long)a3 error:(id *)a4;
- (id)relatedDebugInformationBetweenReferenceAssetCollectionForLocalIdentifier:(id)a0 andRelatedAssetCollectionForLocalIdentifier:(id)a1 options:(id)a2 relatedType:(unsigned long long)a3 error:(id *)a4;
- (void)requestGraphModelResultWithOptions:(id)a0 progress:(id)a1 completion:(id /* block */)a2;
- (void)requestGraphReadyNotificationWithCoalescingIdentifier:(id)a0 completion:(id /* block */)a1;
- (void)requestGraphRebuildProgressWithCompletion:(id /* block */)a0;
- (void)requestGraphRebuildWithOptions:(id)a0 progress:(id)a1 completion:(id /* block */)a2;
- (void)requestGraphRebuildWithProgress:(id)a0 completion:(id /* block */)a1;
- (void)requestHighlightEstimatesWithCompletion:(id /* block */)a0;
- (int)requestProcessingTypes:(unsigned long long)a0 forAssetsWithLocalIdentifiers:(id)a1 progressHandler:(id /* block */)a2 completionHandler:(id /* block */)a3;
- (BOOL)requestSandboxExtensionsIfNeededWithError:(id *)a0;
- (void)requestSearchIndexGraphUpdates:(id)a0 supportingData:(id)a1 withCompletion:(id /* block */)a2;
- (void)requestSearchIndexUpdates:(id)a0 withCompletion:(id /* block */)a1;
- (void)requestTotalProgressCountsForWorkerType:(short)a0 states:(id)a1 completion:(id /* block */)a2;
- (void)runPFLWithAttachments:(id)a0 recipeUserInfo:(id)a1 resultBlock:(id /* block */)a2;
- (void)runShadowEvaluationWithRecipe:(id)a0 models:(id)a1 trialDeploymentID:(id)a2 trialExperimentID:(id)a3 trialTreatmentID:(id)a4 resultBlock:(id /* block */)a5;
- (double)sceneAnalysisProgressForHighlight:(id)a0;
- (id)sceneTaxonomyDetectorNodeSceneIDsFromSceneID:(unsigned int)a0 sceneTaxonomy:(id)a1;
- (void)setCustomLibrarySpecificFetchOptions:(id)a0;
- (id)sharingMessageSuggestionDebugInformationForAssetCollectionLocalIdentifier:(id)a0 error:(id *)a1;
- (id)sharingSuggestionDebugInformationForAssetCollectionLocalIdentifier:(id)a0 error:(id *)a1;
- (id)sharingSuggestionWithRandomPick:(BOOL)a0 fallbackToRecentMoments:(BOOL)a1 needsNotification:(BOOL)a2;
- (BOOL)shouldMobileSlideShowLaunchWithError:(id *)a0;
- (id)socialGroupsOverlappingPersonLocalIdentifiers:(id)a0 error:(id *)a1;
- (id)sortedArrayOfPersonIdentifiers:(id)a0 error:(id *)a1;
- (id)suggestedMePersonIdentifierWithError:(id *)a0;
- (id)suggestionsForPersonLocalIdentifier:(id)a0 clusterSequenceNumbers:(id)a1 excludePersonLocalIdentifiers:(id)a2 minimumSuggestionFaceCount:(unsigned long long)a3;
- (id)summaryCurationForHighlightForLocalIdentifier:(id)a0 options:(id)a1 error:(id *)a2;
- (void)unregisterFetchResult:(id)a0;
- (id)upgradePhotoLibraryUsingOptions:(id)a0 completion:(id /* block */)a1;
- (id)urlForApplicationDataFolderIdentifier:(long long)a0;

@end