@class HDAuthorizationServer, NSString, HDQueryControlServer, HDDaemon, NSMutableDictionary, _HKExpiringCompletionTimer, HDClientAuthorizationOracle, HDProfile, NSObject, HDHealthStoreClient, HKHealthStoreConfiguration; @protocol OS_dispatch_queue; @interface HDHealthStoreServer : NSObject <HDDiagnosticObject, HDUnitPreferencesManagerObserver, HDSampleSaving, HDTaskServerEndpointDelegate, HDConceptIndexManagerObserver, HDCurrentWorkoutObserver, HDTaskServerDelegate, HKHealthStoreServerInterface> { NSObject<OS_dispatch_queue> *_connectionQueue; NSObject<OS_dispatch_queue> *_queue; _HKExpiringCompletionTimer *_clientTransactionTimer; struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _lock; NSMutableDictionary *_taskServerEndpointsByUUID; HDQueryControlServer *_queryControlServer; HDClientAuthorizationOracle *_clientAuthorizationOracle; } @property (readonly, weak, nonatomic) HDDaemon *daemon; @property (readonly, nonatomic) HDProfile *profile; @property (readonly, copy, nonatomic) HKHealthStoreConfiguration *configuration; @property (readonly, nonatomic) HDHealthStoreClient *client; @property (readonly, nonatomic) HDAuthorizationServer *authorizationServer; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; - (void)saveSamples:(id)a0 withCompletion:(id /* block */)a1; - (void)remote_getHealthLiteValueForKey:(id)a0 completion:(id /* block */)a1; - (void)workoutManager:(id)a0 didUpdateCurrentWorkout:(id)a1; - (void)taskServerDidFailToInitializeForUUID:(id)a0; - (void)remote_requestPerObjectReadAuthorizationForType:(id)a0 filter:(id)a1 completion:(id /* block */)a2; - (void)remote_restoreEntitlement:(id)a0 completion:(id /* block */)a1; - (void)remote_setPreferredUnit:(id)a0 forType:(id)a1 completion:(id /* block */)a2; - (void)remote_authorizationStatusForType:(id)a0 completion:(id /* block */)a1; - (void)performIfAuthorizedToSaveObjectTypes:(id)a0 usingBlock:(id /* block */)a1 errorHandler:(id /* block */)a2; - (void)start; - (id /* block */)objectAuthorizationPromptHandler; - (id)diagnosticDescription; - (void)remote_recalibrateEstimatesForSampleType:(id)a0 atDate:(id)a1 completion:(id /* block */)a2; - (void)remote_saveDataObjects:(id)a0 skipInsertionFilter:(BOOL)a1 transactionIdentifier:(id)a2 final:(BOOL)a3 handler:(id /* block */)a4; - (void)remote_addSamples:(id)a0 toWorkout:(id)a1 completion:(id /* block */)a2; - (void)remote_startWatchAppWithWorkoutPlanData:(id)a0 processIdentifier:(int)a1 completion:(id /* block */)a2; - (void)invalidate; - (void)_remote_associateSampleUUIDs:(id)a0 withSampleUUID:(id)a1 completion:(id /* block */)a2; - (void)remote_deleteAllSamplesWithTypes:(id)a0 sourceBundleIdentifier:(id)a1 options:(unsigned long long)a2 completion:(id /* block */)a3; - (void)remote_setBackgroundDeliveryFrequency:(long long)a0 forDataType:(id)a1 handler:(id /* block */)a2; - (void)remote_clientWillSuspendWithCompletion:(id /* block */)a0; - (void)remote_getAllHealthDataAccessForSiriWithCompletion:(id /* block */)a0; - (void)remote_recoverActiveWorkoutSessionWithCompletion:(id /* block */)a0; - (void)remote_fetchCharacteristicWithDataType:(id)a0 handler:(id /* block */)a1; - (void)remote_createTaskServerEndpointForIdentifier:(id)a0 pluginURL:(id)a1 taskUUID:(id)a2 instanceUUID:(id)a3 configuration:(id)a4 completion:(id /* block */)a5; - (void)_performIfAuthorizedToSaveObjects:(id)a0 usingBlock:(id /* block */)a1 errorHandler:(id /* block */)a2; - (void)remote_fetchUnitPreferencesForTypes:(id)a0 version:(long long)a1 withCompletion:(id /* block */)a2; - (void)remote_saveDataObjects:(id)a0 skipInsertionFilter:(BOOL)a1 creationDateOverride:(id)a2 handler:(id /* block */)a3; - (void)remote_deleteDataObjectsOfType:(id)a0 matchingFilter:(id)a1 options:(unsigned long long)a2 handler:(id /* block */)a3; - (void)remote_startWatchAppWithWorkoutConfiguration:(id)a0 completion:(id /* block */)a1; - (void)_performIfAuthorizedToDeleteObjects:(id)a0 usingBlock:(id /* block */)a1 errorHandler:(id /* block */)a2; - (void)_serverActivityChanged; - (void)remote_setAllHealthDataAccessForSiri:(long long)a0 completion:(id /* block */)a1; - (id)sampleSavingDelegate; - (void)taskServerDidInvalidate:(id)a0; - (void)remote_setHealthLiteValue:(id)a0 forKey:(id)a1 completion:(id /* block */)a2; - (void)remote_fetchDaemonPreferenceForKey:(id)a0 completion:(id /* block */)a1; - (void)_saveDataObjects:(id)a0 sourceEntity:(id)a1 sourceVersion:(id)a2 handler:(id /* block */)a3; - (void)remote_closeTransactionWithDataTypes:(id)a0 anchor:(id)a1 ackTime:(id)a2 completion:(id /* block */)a3; - (void)_remote_saveObjects:(id)a0 deleteObjects:(id)a1 associations:(id)a2 completion:(id /* block */)a3; - (void)remote_dropEntitlement:(id)a0 completion:(id /* block */)a1; - (id)clientSourceWithError:(id *)a0; - (void).cxx_destruct; - (id)initWithClient:(id)a0 profile:(id)a1 configuration:(id)a2 connectionQueue:(id)a3; - (void)remote_clientResumedWithCompletion:(id /* block */)a0; - (void)remote_fetchServerURLForAssetType:(id)a0 completion:(id /* block */)a1; - (void)remote_requestAuthorizationToShareTypes:(id)a0 readTypes:(id)a1 shouldPrompt:(BOOL)a2 completion:(id /* block */)a3; - (void)remote_fetchPluginServiceEndpointWithIdentifier:(id)a0 completion:(id /* block */)a1; - (void)remote_setDaemonPreferenceValue:(id)a0 forKey:(id)a1 completion:(id /* block */)a2; - (void)remote_setCharacteristic:(id)a0 forDataType:(id)a1 handler:(id /* block */)a2; - (void)remote_setServerURL:(id)a0 forAssetType:(id)a1 completion:(id /* block */)a2; - (void)remote_splitTotalCalories:(double)a0 timeInterval:(double)a1 withCompletion:(id /* block */)a2; - (void)remote_beginAuthorizationDelegateTransactionWithSessionIdentifier:(id)a0 handler:(id /* block */)a1; - (void)remote_endAuthorizationDelegateTransactionWithSessionIdentifier:(id)a0 error:(id)a1; - (void)conceptIndexManagerDidChangeExecutionState:(unsigned long long)a0; - (void)performIfAuthorizedToDeleteObjectTypes:(id)a0 usingBlock:(id /* block */)a1 errorHandler:(id /* block */)a2; - (void)remote_fetchModificationDateForCharacteristicWithDataType:(id)a0 handler:(id /* block */)a1; - (void)remote_replaceWorkout:(id)a0 withWorkout:(id)a1 completion:(id /* block */)a2; - (void)remote_removePreferredUnitForType:(id)a0 completion:(id /* block */)a1; - (void)remote_setMirroredWorkoutSessionObserverStateToEnabled:(BOOL)a0 completion:(id /* block */)a1; - (void)unitPreferencesManagerDidUpdateUnitPreferences:(id)a0; - (void)taskServerDidFinishInitialization:(id)a0; - (void)remote_createQueryServerEndpointForIdentifier:(id)a0 queryUUID:(id)a1 configuration:(id)a2 forceReactivation:(BOOL)a3 completion:(id /* block */)a4; - (void)remote_getIsFeatureSetAvailable:(unsigned long long)a0 completion:(id /* block */)a1; - (void)remote_deleteObjectsWithUUIDs:(id)a0 options:(unsigned long long)a1 completion:(id /* block */)a2; - (void)remote_deleteDataObjects:(id)a0 options:(unsigned long long)a1 handler:(id /* block */)a2; - (void)remote_deleteClientSourceWithCompletion:(id /* block */)a0; - (void)remote_handleAuthorizationForExtensionWithCompletion:(id /* block */)a0; - (void)remote_getRequestStatusForAuthorizationToShareTypes:(id)a0 readTypes:(id)a1 completion:(id /* block */)a2; - (void)conceptIndexManagerDidBecomeQuiescent:(id)a0 samplesProcessedCount:(long long)a1; @end