@class NSString, BRMangledID, NSArray, NSMutableDictionary, BRCSyncContext, BRCAccountSession, BRCServerChangeState, CKRecordZoneID, BRCZoneRowID, BRCClientZone, BRCPQLConnection; @interface BRCServerZone : NSObject <BRCJobsMatching, BRCZone> { BRCSyncContext *_metadataSyncContext; NSMutableDictionary *_failedListDirectoryOperations; NSArray *_directoriesCreatedLastSyncUp; } @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; @property (readonly) BRCServerChangeState *changeState; @property (readonly, nonatomic) BRCClientZone *clientZone; @property (retain, nonatomic) BRCAccountSession *session; @property (readonly, nonatomic) NSString *zoneName; @property (readonly, nonatomic) NSString *ownerName; @property (readonly, nonatomic) CKRecordZoneID *zoneID; @property (readonly, nonatomic) BRCSyncContext *metadataSyncContext; @property (readonly, nonatomic) BRCSyncContext *metadataSyncContextIfExists; @property (readonly, nonatomic) BRMangledID *mangledID; @property (readonly, nonatomic) unsigned int state; @property (readonly) BOOL isCloudDocsZone; @property (nonatomic) BOOL needsSave; @property (retain, nonatomic) BRCZoneRowID *dbRowID; @property (readonly, nonatomic) BOOL isSharedZone; @property (readonly, nonatomic) BOOL isPrivateZone; @property (readonly, nonatomic) BRCPQLConnection *db; @property (readonly, nonatomic) NSMutableDictionary *plist; - (void).cxx_destruct; - (BOOL)isEqual:(id)a0; - (BOOL)_saveEditedSymlinkRecord:(id)a0 error:(id *)a1; - (void)activateWithClientZone:(id)a0 offline:(BOOL)a1; - (void)clearStateBits:(unsigned int)a0; - (id)jobsDescription; - (BOOL)resetServerTruthAndDestroyZone:(BOOL)a0; - (void)_collectTombstoneForRank:(unsigned long long)a0; - (BOOL)_markItemDeadForRecordID:(id)a0; - (BOOL)_markShareIDDead:(id)a0; - (void)_recomputeMinLastUsedTime; - (BOOL)_recoverFromCorruptShareOptionsWithItemType:(char)a0 itemID:(id)a1 parentID:(id)a2 sharingOptions:(unsigned long long)a3; - (void)_reportCantSaveProblem:(id)a0 record:(id)a1; - (BOOL)_saveDeletedRecordIDs:(id)a0; - (BOOL)_saveEditedAliasRecord:(id)a0 zonesNeedingAllocRanks:(id)a1 error:(id *)a2; - (BOOL)_saveEditedContentRecords:(id)a0 zonesNeedingAllocRanks:(id)a1; - (BOOL)_saveEditedDirOrDocStructureRecord:(id)a0 error:(id *)a1; - (BOOL)_saveEditedDocumentContentRecord:(id)a0 error:(id *)a1; - (BOOL)_saveEditedFinderBookmarkRecord:(id)a0 error:(id *)a1; - (BOOL)_saveEditedRecord:(id)a0 zonesNeedingAllocRanks:(id)a1 error:(id *)a2; - (BOOL)_saveEditedShareRecord:(id)a0 error:(id *)a1; - (BOOL)_saveEditedShareRecords:(id)a0 deletedShareRecordIDs:(id)a1 zonesNeedingAllocRanks:(id)a2; - (BOOL)_saveEditedStructureRecords:(id)a0 zonesNeedingAllocRanks:(id)a1; - (BOOL)_saveItemID:(id)a0 stat:(id)a1 serverMetrics:(id)a2 record:(id)a3 error:(id *)a4; - (BOOL)_saveItemID:(id)a0 stat:(id)a1 serverMetrics:(id)a2 record:(id)a3 origName:(id)a4 base:(id)a5 no:(id)a6 ext:(id)a7; - (BOOL)_saveItemID:(id)a0 version:(id)a1 record:(id)a2 iWorkSharingOptions:(unsigned long long)a3; - (BOOL)_savePendingChangesDeletedRecordIDsIgnoringRecordIDs:(id)a0 pendingChangeStream:(id)a1; - (BOOL)_savePendingChangesEditedContentRecordsIgnoringRecordIDs:(id)a0 zonesNeedingAllocRanks:(id)a1 pendingChangeStream:(id)a2; - (BOOL)_savePendingChangesEditedStructureRecordsIgnoringRecordIDs:(id)a0 zonesNeedingAllocRanks:(id)a1 pendingChangeStream:(id)a2; - (BOOL)_savePendingChangesSharesIgnoringRecordIDs:(id)a0 zonesNeedingAllocRanks:(id)a1 pendingChangeStream:(id)a2; - (void)addForegroundClient:(id)a0; - (BOOL)allocateRanksWhenCaughtUp:(BOOL)a0; - (id)asPrivateZone; - (id)asSharedZone; - (void)checkIfFinishedFullSync; - (void)collectTombstoneRanks:(id)a0; - (void)deactivateFromClientZone; - (void)deleteAllContentsOnServerWithCompletionBlock:(id /* block */)a0; - (id)deleteAllContentsOperation; - (id)descriptionWithContext:(id)a0; - (unsigned long long)didListDirectoryChangesWithResults:(id)a0 pendingFetchChanges:(id)a1; - (unsigned long long)didSyncDownRequestID:(unsigned long long)a0 serverChangeToken:(id)a1 editedRecords:(id)a2 deletedRecordIDs:(id)a3 deletedShareRecordIDs:(id)a4 allocRankZones:(id *)a5 caughtUp:(BOOL)a6 pendingChanges:(id)a7; - (id)directDirectoryChildItemIDsOfParentEnumerator:(id)a0; - (BOOL)dumpStatusToContext:(id)a0 error:(id *)a1; - (BOOL)dumpTablesToContext:(id)a0 includeAllItems:(BOOL)a1 error:(id *)a2; - (id)failedListItemIDs; - (void)failedListingDirectoryChanges:(id)a0 serverTruthCallback:(id /* block */)a1 clientTruthCallback:(id /* block */)a2 folderItemID:(id)a3; - (void)forceMoveToCloudDocs; - (void)handleMovedZoneNames:(id)a0; - (BOOL)hasFetchedRecentsAndFavorites; - (BOOL)hasFetchedServerZoneState; - (id)initWithMangledID:(id)a0 dbRowID:(id)a1 plist:(id)a2 session:(id)a3; - (id)itemByItemID:(id)a0; - (id)itemByItemID:(id)a0 db:(id)a1; - (id)itemsEnumeratorWithDB:(id)a0; - (id)matchingJobsWhereSQLClause; - (void)removeForegroundClient:(id)a0; - (BOOL)resetServerTruth; - (BOOL)saveQueryRecords:(id)a0 zonesNeedingAllocRanks:(id)a1 error:(id *)a2; - (void)scheduleMoveToCloudDocs; - (BOOL)setStateBits:(unsigned int)a0; - (BOOL)shouldRecreateServerZoneAfterError:(id)a0; - (BOOL)validateItemsLoggingToFile:(struct __sFILE { char *x0; int x1; int x2; short x3; short x4; struct __sbuf { char *x0; int x1; } x5; int x6; void *x7; void /* function */ *x8; void /* function */ *x9; void /* function */ *x10; void /* function */ *x11; struct __sbuf { char *x0; int x1; } x12; struct __sFILEX *x13; int x14; unsigned char x15[3]; unsigned char x16[1]; struct __sbuf { char *x0; int x1; } x17; int x18; long long x19; } *)a0 db:(id)a1; - (BOOL)validateStructureLoggingToFile:(struct __sFILE { char *x0; int x1; int x2; short x3; short x4; struct __sbuf { char *x0; int x1; } x5; int x6; void *x7; void /* function */ *x8; void /* function */ *x9; void /* function */ *x10; void /* function */ *x11; struct __sbuf { char *x0; int x1; } x12; struct __sFILEX *x13; int x14; unsigned char x15[3]; unsigned char x16[1]; struct __sbuf { char *x0; int x1; } x17; int x18; long long x19; } *)a0 db:(id)a1; @end