@class HMDCloudHomeManagerZone, HMDCloudMetadataZone, HMFMessageDispatcher, NSObject, NSMutableArray, HMDCloudDataSyncStateFilter, NSString, CKDatabase, HMDCloudCache, NSData, HMDSyncOperationManager, CKContainer, HMDCloudLegacyZone; @protocol HMDCloudManagerDataSource, OS_dispatch_source, OS_os_log, HMDCloudManagerDelegate, HMMLogEventSubmitting, OS_dispatch_queue; @interface HMDCloudManager : HMFObject { NSObject *_logger; } @property (readonly, weak) id delegate; @property (readonly, weak) id dataSource; @property (readonly, nonatomic) id logEventSubmitter; @property (readonly, nonatomic) CKContainer *container; @property (retain, nonatomic) CKDatabase *database; @property (retain, nonatomic) HMDCloudCache *cloudCache; @property (readonly, nonatomic) HMDCloudLegacyZone *legacyZone; @property (readonly, nonatomic) HMDCloudMetadataZone *metadataZone; @property (readonly, nonatomic) HMDCloudHomeManagerZone *homeManagerZone; @property (retain, nonatomic) HMFMessageDispatcher *configSyncDispatcher; @property (retain, nonatomic) NSObject *workQueue; @property (nonatomic) BOOL accountActive; @property (copy, nonatomic) id /* block */ fetchCompletionHandler; @property (retain, nonatomic) NSObject *clientCallbackQueue; @property (nonatomic) BOOL cloudHomeDataRecordExists; @property (nonatomic) BOOL keychainSyncEnabled; @property (readonly, nonatomic) BOOL decryptionFailed; @property (retain, nonatomic) NSObject *retryTimer; @property (retain, nonatomic) NSObject *pollTimer; @property (retain, nonatomic) NSObject *controllerKeyPollTimer; @property (retain, nonatomic) NSObject *watchdogControllerKeyPollTimer; @property (copy, nonatomic) id /* block */ cloudDataDeletedNotificationHandler; @property (copy, nonatomic) id /* block */ cloudMetadataDeletedNotificationHandler; @property (copy, nonatomic) id /* block */ controllerKeyAvailableNotificationHandler; @property (retain, nonatomic) HMDCloudDataSyncStateFilter *cloudDataSyncStateFilter; @property (retain, nonatomic) HMFMessageDispatcher *msgDispatcher; @property (weak, nonatomic) HMDSyncOperationManager *syncManager; @property (retain, nonatomic) NSMutableArray *currentBackoffTimerValuesInMinutes; @property (copy, nonatomic) id /* block */ dataDecryptionFailedHandler; @property (copy, nonatomic) id /* block */ accountActiveUpdateHandler; @property (nonatomic, getter=isFirstV3FetchRun) BOOL firstV3FetchRun; @property (nonatomic, getter=isFirstDBQueryRun) BOOL firstDBQueryRun; @property (readonly, nonatomic) NSData *serverTokenData; @property (retain, nonatomic) NSObject *callbackQueue; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (id)logCategory; - (void)handler:(id)a0 didReceiveCKNotification:(id)a1; - (void)dealloc; - (void)registerForPushNotifications; - (void).cxx_destruct; - (void)_accountIsActive; - (void)handler:(id)a0 didReceivePushForTopic:(id)a1; - (void)updateCloudDataSyncFilterState:(BOOL)a0; - (void)setAccountActiveUpdateCallback:(id /* block */)a0; - (void)__addCKDatabaseOperation:(id)a0; - (void)__deleteRecordWithID:(id)a0 completionHandler:(id /* block */)a1; - (void)__deleteRecordZoneWithID:(id)a0 completionHandler:(id /* block */)a1; - (void)__deleteRecordZonesWithIDs:(id)a0 completionHandler:(id /* block */)a1; - (void)__fetchAllRecordZonesWithCompletionHandler:(id /* block */)a0; - (void)__fetchRecordZoneWithID:(id)a0 completionHandler:(id /* block */)a1; - (void)__fetchSubscriptionWithID:(id)a0 completionHandler:(id /* block */)a1; - (void)__saveRecordZone:(id)a0 completionHandler:(id /* block */)a1; - (void)__saveSubscription:(id)a0 completionHandler:(id /* block */)a1; - (void)_addHomeZoneName:(id)a0 owner:(id)a1; - (void)_auditProxSetupNotification:(id)a0; - (id)_changeTokenFromData:(id)a0; - (void)_checkZoneAndUploadTransaction:(id)a0 completionHandler:(id /* block */)a1; - (void)_createZoneAndFetchChanges:(id /* block */)a0; - (void)_createZoneAndUploadTransaction:(id)a0 completionHandler:(id /* block */)a1; - (void)_fetchAndVerifyZoneRootRecord:(id)a0 completionHandler:(id /* block */)a1; - (void)_fetchDatabaseZoneChangesCompletion:(id /* block */)a0; - (void)_fetchLegacyTransaction:(id)a0 forceFetch:(BOOL)a1 accountCompletionHandler:(id /* block */)a2 dataCompletionHandler:(id /* block */)a3; - (void)_fetchTransaction:(id)a0 completionHandler:(id /* block */)a1; - (void)_forceCleanCloud:(BOOL)a0 fetchTransaction:(id)a1 completionHandler:(id /* block */)a2; - (void)_handleAccountStatus:(long long)a0 completionHandler:(id /* block */)a1; - (void)_handleControllerKeyAvailable; - (void)_handleKeychainSyncStateChanged:(BOOL)a0; - (void)_processFetchCompletedWithError:(id)a0 serverToken:(id)a1 fetchTransaction:(id)a2 migrationOptions:(unsigned long long)a3 completionHandler:(id /* block */)a4 moreRecordsComing:(BOOL)a5 emptyRecord:(BOOL)a6; - (BOOL)_processFetchedTransaction:(id)a0; - (void)_registerForProxSetupNotifications; - (void)_removeAllHomeZonesCompletionHandler:(id /* block */)a0; - (void)_removeHomeZoneName:(id)a0; - (void)_removeZonesTransactions:(id)a0 completionHandler:(id /* block */)a1; - (void)_resetCloudCache:(id /* block */)a0; - (void)_resetCloudDataAndDeleteMetadataForCurrentAccount:(BOOL)a0 completionHandler:(id /* block */)a1; - (void)_resetCloudServerTokenData; - (void)_resetCloudZonesIgnoreHomeManager:(BOOL)a0 completionHandler:(id /* block */)a1; - (void)_resetHomeDataRecordState; - (void)_scheduleZoneFetch:(id)a0; - (id)_serverTokenData; - (void)_setupSubscriptionForZone:(id)a0; - (void)_startControllerKeyPollTimer; - (void)_startControllerKeyPollTimerWithBackoff; - (void)_startControllerKeyPollTimerWithValue:(long long)a0; - (void)_startFetchPollTimer; - (void)_startFetchRetryTimer; - (void)_startWatchdogControllerKeyPollTimer; - (void)_stopControllerKeyPollTimer; - (void)_stopFetchPollTimer; - (void)_stopFetchRetryTimer; - (void)_stopWatchdogControllerKeyPollTimer; - (void)_updateServerTokenStatusOnCloudFilter; - (void)_uploadLegacyTransaction:(id)a0 completionHandler:(id /* block */)a1; - (void)_uploadTransaction:(id)a0 completionHandler:(id /* block */)a1; - (BOOL)_validFetchRetryCKErrorCode:(long long)a0; - (void)_verifyAndRemoveAllHomeZonesCompletionHandler:(id /* block */)a0; - (void)_verifyAndRemoveZone:(id)a0 completionHandler:(id /* block */)a1; - (void)_verifyHH2SentinelCloudZoneExist:(id /* block */)a0; - (void)_verifyZoneHasBeenDeletedTransaction:(id)a0 completionHandler:(id /* block */)a1; - (void)_verifyZonesExist:(id)a0 zoneIndex:(unsigned long long)a1 completion:(id /* block */)a2; - (void)addHomeZoneName:(id)a0 owner:(id)a1; - (void)cacheDatabaseServerToken; - (void)fetchCurrentAccountStateWithCompletionHandler:(id /* block */)a0; - (void)fetchDatabaseZoneChanges; - (void)fetchLegacyTransaction:(id)a0 forceFetch:(BOOL)a1 accountCompletionHandler:(id /* block */)a2 dataCompletionHandler:(id /* block */)a3; - (void)fetchTransaction:(id)a0 completionHandler:(id /* block */)a1; - (void)handleKeychainStateChangedNotification:(id)a0; - (id)initWithMessageDispatcher:(id)a0 cloudDataSyncStateFilter:(id)a1 cloudCache:(id)a2 delegate:(id)a3 dataSource:(id)a4 syncManager:(id)a5 callbackQueue:(id)a6 container:(id)a7 logEventSubmitter:(id)a8 workQueue:(id)a9; - (id)initWithMessageDispatcher:(id)a0 cloudDataSyncStateFilter:(id)a1 cloudCache:(id)a2 delegate:(id)a3 dataSource:(id)a4 syncManager:(id)a5 logEventSubmitter:(id)a6 callbackQueue:(id)a7; - (void)initializeServerTokenStatusOnCloudFilter; - (BOOL)legacyZoneHasRecordsAvailable; - (void)removeHomeZoneName:(id)a0; - (void)removeZonesTransactions:(id)a0 completionHandler:(id /* block */)a1; - (void)resetCloudCache:(id /* block */)a0; - (void)resetCloudDataAndDeleteMetadataForCurrentAccount:(BOOL)a0 completionHandler:(id /* block */)a1; - (void)resetCloudServerTokenData:(id)a0; - (void)setCloudDataDeletedNotificationBlock:(id /* block */)a0; - (void)setCloudMetadataDeletedNotificationBlock:(id /* block */)a0; - (void)setControllerKeyAvailableNotificationBlock:(id /* block */)a0; - (void)setDataAvailableFromCloudCompletionBlock:(id /* block */)a0; - (void)setDataDecryptionFailedCompletionBlock:(id /* block */)a0; - (void)updateAccountStatusChanged:(BOOL)a0 completionHandler:(id /* block */)a1; - (void)updateServerTokenStatusOnCloudFilter; - (void)uploadLegacyTransaction:(id)a0 completionHandler:(id /* block */)a1; - (void)uploadTransaction:(id)a0 completionHandler:(id /* block */)a1; - (void)verifyAndRemoveZone:(id)a0 completionHandler:(id /* block */)a1; @end