@class NSMutableDictionary, HDProfile, NSDate, HDPairedSyncManager, HDIDSMessageCenter, NSObject, HDNanoSyncStore, NSMutableArray, HDKeyValueDomain, NSString, HKNanoSyncPairedDevicesSnapshot, NSArray, HKObserverSet; @protocol OS_dispatch_queue, OS_dispatch_source, _CDLocalContext; @interface HDNanoSyncManager : NSObject { BOOL _isMaster; _Atomic BOOL _invalidated; id<_CDLocalContext> _context; BOOL _waitingForFirstUnlock; int _tinkerOptInAcceptedToken; int _tinkerOptInDeclinedToken; HKNanoSyncPairedDevicesSnapshot *_pairedDevicesSnapshot; HDProfile *_profile; NSObject *_queue; NSObject *_syncQueue; HDIDSMessageCenter *_messageCenter; HKObserverSet *_observers; HDKeyValueDomain *_nanoSyncDomain; HDNanoSyncStore *_activeSyncStore; HDNanoSyncStore *_activeTinkerSyncStore; NSMutableArray *_tinkerOptInResponseBlocks; NSMutableDictionary *_syncStoresByDeviceIdentifier; NSArray *_pairedDevices; NSObject *_periodicSyncTimer; NSDate *_lastPeriodicSyncDate; } @property double restoreTimeout; @property BOOL enablePeriodicSyncTimer; @property (readonly, nonatomic) HDPairedSyncManager *pairedSyncManager; @property (readonly) BOOL isMaster; @property (readonly) HKNanoSyncPairedDevicesSnapshot *pairedDevicesSnapshot; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; - (void)samplesAdded:(id)a0 anchor:(id)a1; - (void)database:(id)a0 protectedDataDidBecomeAvailable:(BOOL)a1; - (void)profileDidBecomeReady:(id)a0; - (void)messageCenterDidReceiveChangesRequest:(id)a0; - (void)pairedSyncDidBeginForDevice:(id)a0 messagesSentHandler:(id /* block */)a1 completion:(id /* block */)a2; - (void)dealloc; - (void)removeObserver:(id)a0; - (void)requestAuthorizationForRequestRecord:(id)a0 requestSentHandler:(id /* block */)a1 completion:(id /* block */)a2; - (void)messageCenterDidReceiveAuthorizationRequest:(id)a0; - (void)messageCenterDidReceiveStartWorkoutAppRequest:(id)a0; - (void)messageCenterDidReceiveTinkerEndToEndCloudSyncError:(id)a0; - (id)diagnosticDescription; - (void)messageCenterRestoreError:(id)a0; - (void)messageCenterChangesError:(id)a0; - (void)messageCenterDidReceiveRestoreResponse:(id)a0; - (void)messageCenterDidReceiveTinkerPairingError:(id)a0; - (void)_userCharacteristicsDidChange:(id)a0; - (void)messageCenterDidReceiveRoutineRequest:(id)a0; - (void)messageCenterDidReceiveStartWorkoutAppError:(id)a0; - (void)unitTest_performWithActiveSyncStore:(id /* block */)a0; - (id)initWithProfile:(id)a0 isMaster:(BOOL)a1; - (void)updatePairedDevicesWithCompletion:(id /* block */)a0; - (void)messageCenterDidReceiveChangesResponse:(id)a0; - (void)messageCenterDidReceiveTinkerPairingRequest:(id)a0; - (void)messageCenterDidReceiveTinkerOptInRequest:(id)a0; - (void)sendTinkerEndToEndCloudSyncRequestForNRDeviceUUID:(id)a0 completion:(id /* block */)a1; - (void)messageCenterDidReceiveStartWorkoutAppResponse:(id)a0; - (void)messageCenterDidReceiveAuthorizationError:(id)a0; - (void)_workoutSamplesWereAssociated:(id)a0; - (void)messageCenterDidReceiveRestoreRequest:(id)a0; - (void)messageCenterDidReceiveTinkerOptInError:(id)a0; - (void)sendTinkerSharingOptInRequest:(id)a0 forNRDeviceUUID:(id)a1 completion:(id /* block */)a2; - (void)sendCompanionUserNotificationRequest:(id)a0 completion:(id /* block */)a1; - (void)_userPreferencesDidChange:(id)a0; - (void)foregroundClientProcessesDidChange:(id)a0 previouslyForegroundBundleIdentifiers:(id)a1; - (void)messageCenterDidReceiveTinkerOptInResponse:(id)a0; - (void)syncSession:(id)a0 sendChanges:(id)a1 completion:(id /* block */)a2; - (void)sendTinkerWatchPairingRequest:(id)a0 forNRDeviceUUID:(id)a1 completion:(id /* block */)a2; - (void)_deviceDidPair:(id)a0; - (void)syncHealthDataWithOptions:(unsigned long long)a0 reason:(id)a1 completion:(id /* block */)a2; - (void)syncSessionWillBegin:(id)a0; - (void)messageCenterDidReceiveCompanionUserNotificationResponse:(id)a0; - (void)messageCenter:(id)a0 didResolveIDSIdentifierForRequest:(id)a1; - (void)messageCenter:(id)a0 activeDeviceDidChange:(id)a1 acknowledgementHandler:(id /* block */)a2; - (void)_deviceDidBecomeActive:(id)a0; - (void).cxx_destruct; - (void)messageCenterDidReceiveAuthorizationResponse:(id)a0; - (void)waitForLastChanceSyncWithDevicePairingID:(id)a0 timeout:(double)a1 completion:(id /* block */)a2; - (void)nanoSyncStore:(id)a0 remoteSystemBuildVersionDidChange:(id)a1; - (void)nanoSyncStore:(id)a0 restoreStateDidChange:(long long)a1; - (void)syncSession:(id)a0 didFinishSuccessfully:(BOOL)a1 error:(id)a2; - (void)obliterateWithOptions:(unsigned long long)a0 reason:(id)a1; - (void)_deviceDidUnpair:(id)a0; - (void)messageCenterDidReceiveAuthorizationCompleteRequest:(id)a0; - (void)invalidateAndWait; - (void)_scheduleResetReceivedNanoSyncAnchorsForHFD; - (void)syncHealthDataWithOptions:(unsigned long long)a0 completion:(id /* block */)a1; - (void)sendStartWorkoutAppRequest:(id)a0 completion:(id /* block */)a1; - (void)messageCenterDidReceiveCompanionUserNotificationError:(id)a0; - (void)messageCenter:(id)a0 didResolveIDSIdentifierForResponse:(id)a1; - (void)addObserver:(id)a0; - (void)_watchOffWristNotification:(id)a0; - (void)messageCenterDidReceiveTinkerEndToEndCloudSyncRequest:(id)a0; - (void)messageCenterDidReceiveTinkerPairingResponse:(id)a0; - (void)initializeMessageCenterIfNeeded; - (void)nanoSyncStore:(id)a0 deviceNameDidChange:(id)a1; - (void)resetSyncWithCompletion:(id /* block */)a0; - (void)syncHealthDataWithOptions:(unsigned long long)a0 reason:(id)a1 accessibilityAssertion:(id)a2 completion:(id /* block */)a3; - (void)messageCenterDidReceiveTinkerEndToEndCloudSyncResponse:(id)a0; - (void)messageCenterDidReceiveCompanionUserNotificationRequest:(id)a0; @end