luxlabs header browser preview


@class NSURL, NSMutableDictionary, brc_task_tracker, BRContainer, BRMangledID, NSString, BRCPQLConnection, BRCZoneRowID, BRCAccountSessionFPFS, BRCALRowID, BRCPrivateClientZone, NSNumber, NSMutableSet, BRCListDirectoryContentsOperation, BRCSyncContext;
@protocol BRCAppLibraryDelegate;

@interface BRCAppLibrary : NSObject <BRCListOperationDelegate, BRCForegroundClient> {
    _Atomic unsigned long long _activeQueries;
    _Atomic unsigned long long _activeRecursiveQueries;
    _Atomic unsigned long long _activeAliasQueries;
    NSMutableSet *_XPCClientsUsingUbiquity;
    BOOL _activated;
    BOOL _addedToSharedMetadataSyncContextForegroundClient;
    NSMutableSet *_targetSharedServerZones;
    NSMutableSet *_foregroundClients;
    BRCListDirectoryContentsOperation *_pristineFetchOp;
    BRCListDirectoryContentsOperation *_trashFetchOp;
}

@property (retain, nonatomic) NSNumber *fileID;
@property (retain, nonatomic) NSNumber *generationID;
@property (weak, nonatomic) BRCPrivateClientZone *defaultClientZone;
@property (retain, nonatomic) id<BRCAppLibraryDelegate> delegate;
@property (retain, nonatomic) BRCAccountSessionFPFS *session;
@property (readonly, nonatomic) brc_task_tracker *tracker;
@property (readonly, nonatomic) NSString *logName;
@property (readonly, nonatomic) NSString *appLibraryID;
@property (readonly, nonatomic) BRMangledID *mangledID;
@property (readonly, nonatomic) NSString *absolutePath;
@property (readonly, nonatomic) NSString *pathRelativeToRoot;
@property (readonly, nonatomic) NSURL *url;
@property (retain, nonatomic) BRCALRowID *dbRowID;
@property (retain, nonatomic) BRCZoneRowID *zoneRowID;
@property (readonly, nonatomic) BOOL isCloudDocsAppLibrary;
@property (readonly, nonatomic) BOOL isiCloudDesktopAppLibrary;
@property (readonly, nonatomic) BRCPQLConnection *db;
@property (nonatomic) BOOL needsSave;
@property (readonly, nonatomic) unsigned long long syncedFolderType;
@property (readonly, nonatomic) BRCSyncContext *transferSyncContextIfExists;
@property (readonly, nonatomic) BRCSyncContext *transferSyncContext;
@property (readonly, nonatomic) NSMutableDictionary *plist;
@property (readonly, nonatomic) unsigned int state;
@property (readonly, nonatomic) BOOL isForeground;
@property (readonly, nonatomic) BOOL shouldEvictUploadedItems;
@property (readonly) BOOL hasActiveQueries;
@property (readonly) BOOL hasActiveRecursiveQueries;
@property (readonly, nonatomic) BOOL isGreedy;
@property (readonly, nonatomic) BRContainer *containerMetadata;
@property (retain, nonatomic) NSString *containerMetadataEtag;
@property (nonatomic) BOOL containerMetadataNeedsSyncUp;
@property (nonatomic) unsigned long long containerMetadataSyncRequestID;
@property (retain, nonatomic) NSNumber *rootQuotaUsage;
@property (readonly, nonatomic) NSString *identifier;
@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (readonly, copy) NSString *description;
@property (readonly, copy) NSString *debugDescription;

- (void)close;
- (id)init;
- (id)itemIDByRowID:(unsigned long long)a0 db:(id)a1;
- (BOOL)isAppInstalled;
- (void)activate;
- (id)itemByRowID:(unsigned long long)a0 db:(id)a1;
- (id)itemIDByRowID:(unsigned long long)a0;
- (BOOL)hasLocalChanges;
- (void).cxx_destruct;
- (BOOL)isEqual:(id)a0;
- (id)itemByRowID:(unsigned long long)a0;
- (BOOL)isDocumentScopePublic;
- (id)documentsFolder;
- (void)clearStateBits:(unsigned int)a0;
- (void)setIsOverQuota:(BOOL)a0;
- (void)fetchTrashItems;
- (void)scheduleContainerMetadataSyncUp;
- (unsigned int)_activateState:(unsigned int)a0 origState:(unsigned int)a1;
- (void)_addTargetSharedServerZone:(id)a0;
- (void)_addTargetSharedServerZoneForSharedItem:(id)a0;
- (void)_removeAllTargetSharedServerZonesWhenNoLongerForeground;
- (void)_removeTargetSharedServerZoneIfNecessary:(id)a0;
- (void)_resolveTargetSharedClientZonesWhenBecameForeground;
- (id)_targetSharedServerZonesEnumerator;
- (id)_unwrappedDescriptionWithContext:(id)a0;
- (void)_updateContainerMetadataFromRecord:(id)a0 stripIcons:(BOOL)a1;
- (void)_updateIsInCloudDocsZone;
- (void)addClientUsingUbiquity:(id)a0;
- (void)addForegroundClient:(id)a0;
- (void)associateWithClientZone:(id)a0;
- (void)associateWithClientZone:(id)a0 offline:(BOOL)a1;
- (id)containerMetadataFilledWithTCCInfo;
- (id)descriptionWithContext:(id)a0;
- (void)didCreateDataScopedItem;
- (void)didCreateDocumentScopedItem;
- (void)didReceiveHandoffRequest;
- (void)didRemoveDocumentsFolder;
- (void)didUpdateDocumentScopePublic;
- (unsigned long long)documentCountWithDB:(id)a0;
- (unsigned long long)documentSizeUsageWithDB:(id)a0;
- (id)documentsFolderItemID;
- (id)enumerateUserVisibleChildrenDirectoriesOfItemGlobalID:(id)a0 db:(id)a1;
- (id)fetchDocumentsDirectoryItem;
- (id)fetchDocumentsDirectoryItem:(id)a0;
- (void)fetchPristineness;
- (id)fetchRootItem;
- (id)fetchRootItemInDB:(id)a0;
- (BOOL)hasDocumentsOrDirectory;
- (BOOL)hasUbiquitousDocuments;
- (BOOL)hasUbiquityClientsConnected;
- (BOOL)includesDataScope;
- (id)initWithMangledID:(id)a0 dbRowID:(id)a1 zoneRowID:(id)a2 db:(id)a3 plist:(id)a4 session:(id)a5 initialCreation:(BOOL)a6 createdRootOnDisk:(BOOL)a7 createdCZMMoved:(BOOL)a8 rootFileID:(id)a9;
- (BOOL)integrityCheckBoosting;
- (BOOL)isDesktopAppLibrary;
- (BOOL)isDocumentsAppLibrary;
- (BOOL)isEqualToAppLibrary:(id)a0;
- (BOOL)isStillTargetingSharedServerZone:(id)a0;
- (id)itemsEnumeratorChildOf:(id)a0 withDeadItems:(BOOL)a1 rankMin:(unsigned long long)a2 rankMax:(unsigned long long)a3 count:(unsigned long long)a4 db:(id)a5;
- (id)itemsEnumeratorWithRankMin:(unsigned long long)a0 rankMax:(unsigned long long)a1 namePrefix:(id)a2 withDeadItems:(BOOL)a3 shouldIncludeFolders:(BOOL)a4 shouldIncludeOnlyFolders:(BOOL)a5 shouldIncludeDocumentsScope:(BOOL)a6 shouldIncludeDataScope:(BOOL)a7 shouldIncludeExternalScope:(BOOL)a8 shouldIncludeTrashScope:(BOOL)a9 count:(unsigned long long)a10 db:(id)a11;
- (void)listOperation:(id)a0 wasReplacedByOperation:(id)a1;
- (void)recomputeShouldEvictState;
- (void)removeClientUsingUbiquity:(id)a0;
- (void)removeForegroundClient:(id)a0;
- (id)rootItemGlobalID;
- (id)rootItemID;
- (void)scheduleFullLibraryContentsFetch;
- (BOOL)setStateBits:(unsigned int)a0;
- (BOOL)shouldSaveContainerMetadataServerside;
- (BOOL)supportsSpotlightIndexing;
- (long long)throttleHashWithItemID:(id)a0;
- (void)updateWithPlist:(id)a0;
- (BOOL)wasMovedToCloudDocs;
- (void)zoneDidChangeMovedToCloudDocsState;
- (BOOL)zoneHasShareAlias;
- (id)_recursivelyDeleteItemsUnderItemID:(id)a0 filterPredicate:(id)a1;
- (id)createDocumentsFolder;
- (id)deleteAppLibrary;
- (id)documentsFolderFileObjectID;
- (id)documentsFolderWithDB:(id)a0;
- (id)enumerateChildrenOfItemGlobalID:(id)a0 sortOrder:(unsigned char)a1 offset:(unsigned long long)a2 limit:(unsigned long long)a3 db:(id)a4;
- (BOOL)recreateDocumentsFolderIfNeededInDB;
- (void)registerQueryIsRecursive:(BOOL)a0;
- (id)rootFileObjectID;
- (void)unregisterQueryIsRecursive:(BOOL)a0;

@end