@class WDProfile, NSArray, NSString, NSDateFormatter, NSDictionary, NSMutableArray, NSObject; @protocol OS_dispatch_queue, OS_dispatch_semaphore; @interface WDExportManager : NSObject { WDProfile *_profile; NSObject *_outputSerialQueue; struct _xmlTextWriter { } *_writer; struct _xmlTextWriter { } *_writerCDA; NSObject *_sem; NSMutableArray *_resultsTypes; NSMutableArray *_vitalsTypes; NSArray *_completedRecords; NSString *_documentsPath; NSString *_exportPath; NSString *_filePath; NSString *_CDAFilePath; NSString *_archivePath; NSDateFormatter *_xmlDateFormatter; NSDateFormatter *_cdaDateFormatter; NSDictionary *_dateIntervalsBySampleType; } @property BOOL exportInProgress; @property BOOL exportFailed; + (id)allSupportedMedicalTypes; - (id)initWithProfile:(id)a0; - (void).cxx_destruct; - (void)_archiveExportDirectory:(id)a0 toFile:(id)a1; - (void)_writeVisionRx:(id)a0; - (id)_formatBPMForBeatToBeatReading:(id)a0; - (void)createExportFileWithCompletion:(id /* block */)a0; - (BOOL)_addSourceDirectory:(id)a0 asPath:(id)a1 archive:(id)a2 fileManager:(id)a3; - (void)_completeAndCloseStreamingXML; - (id)_electrocardiogramHeaderWithName:(id)a0 dateOfBirth:(id)a1; - (void)_exportElectrocardiogramsWithName:(id)a0 dateOfBirth:(id)a1; - (void)_exportHealthRecords; - (id)_formatTimeForBeatToBeatReading:(id)a0; - (void)_getAllOrdinaryDataTypesOfCategory:(long long)a0 withArray:(id)a1; - (void)_getAllOrdinaryDataTypesOfClass:(Class)a0 withArray:(id)a1; - (void)_outputSerialQueue_beginWritingQuantityType:(id)a0 startDate:(id)a1 endDate:(id)a2; - (void)_outputSerialQueue_finishWritingQuantityType:(id)a0 count:(unsigned long long)a1; - (void)_outputSerialQueue_writeSamples:(id)a0 forQuantityType:(id)a1; - (id)_preferredUnitForObjectType:(id)a0; - (void)_queryForDateRanges; - (void)_queryForSamplesOfType:(id)a0 batchHandler:(id /* block */)a1; - (void)_writeActivitySummaries; - (void)_writeAudiogramType; - (void)_writeCDAEntryWithValue:(id)a0 type:(id)a1 sourceName:(id)a2 sourceVersion:(id)a3 device:(id)a4 unit:(id)a5 metadata:(id)a6 startDate:(id)a7 endDate:(id)a8; - (void)_writeCDAHeaderWithName:(id)a0 birthData:(id)a1 biologicalSex:(long long)a2; - (void)_writeCDAOrganizerEnd; - (void)_writeCDAResultsHeader; - (void)_writeCDAResultsOrganizerStart; - (void)_writeCDASectionFooter; - (void)_writeCDAVitalHeader; - (void)_writeCDAVitalsOrganizerStartWithStartDate:(id)a0 endDate:(id)a1; - (void)_writeCategoryType:(id)a0; - (void)_writeContactsRx:(id)a0; - (void)_writeContactsRxSphere:(id)a0 cylinder:(id)a1 axis:(id)a2 add:(id)a3 baseCurve:(id)a4 diameter:(id)a5; - (void)_writeCorrelationType:(id)a0; - (void)_writeDataForActivitySummaries; - (void)_writeDataForAudiogramType; - (void)_writeDataForCategoryType:(id)a0; - (void)_writeDataForCorrelationType:(id)a0; - (void)_writeDataForHRVAndTachograms; - (void)_writeDataForMedicalRecords:(id)a0; - (void)_writeDataForVisionRx; - (void)_writeDataForWorkoutRoutes:(id)a0 semaphore:(id)a1; - (void)_writeDataForWorkoutType; - (BOOL)_writeElectrocardiogramsToDisk:(id)a0 header:(id)a1 version:(id)a2; - (void)_writeGlassesRx:(id)a0; - (void)_writeGlassesRxSphere:(id)a0 cylinder:(id)a1 axis:(id)a2 add:(id)a3 vertex:(id)a4 prismAmount:(id)a5 prismAngle:(id)a6 farPD:(id)a7 nearPD:(id)a8; - (void)_writeHRVAndTachograms; - (void)_writeHealthRecord:(id)a0 documentDirectory:(id)a1 fileNamesInUse:(id)a2; - (void)_writeMedicalRecords; - (void)_writePrescriptionType; - (void)_writeQuantityType:(id)a0; - (void)_writeVisionRxDevice:(id)a0 metadata:(id)a1; - (void)_writeVisionRxSphere:(id)a0 cylinder:(id)a1 axis:(id)a2 add:(id)a3; - (void)_writeVisionRxType:(unsigned long long)a0 dateIssued:(id)a1 expirationDate:(id)a2; - (void)_writeWorkoutRouteForWorkout:(id)a0 semaphore:(id)a1; - (void)_writeWorkoutType; - (void)_writeXMLActivitySummary:(id)a0 activeEnergyBurnedUnit:(id)a1; - (void)_writeXMLAudiogramEnd; - (void)_writeXMLAudiogramSensitivityPoint:(id)a0; - (void)_writeXMLAudiogramStartWithAudiogram:(id)a0; - (void)_writeXMLCorrelationEnd; - (void)_writeXMLCorrelationStartWithType:(id)a0 sourceName:(id)a1 sourceVersion:(id)a2 device:(id)a3 metadata:(id)a4 creationDate:(id)a5 startDate:(id)a6 endDate:(id)a7; - (void)_writeXMLMedicalRecordWithType:(id)a0 identifier:(id)a1 sourceName:(id)a2 sourceURL:(id)a3 fhirVersion:(id)a4 receivedDate:(id)a5 jsonFilePath:(id)a6; - (void)_writeXMLMetadataEntries:(id)a0; - (void)_writeXMLObjectAttributes:(id)a0; - (void)_writeXMLPersonWithDateOfBirth:(id)a0 biologicalSex:(long long)a1 bloodType:(long long)a2 skinType:(long long)a3 cardioFitnessMedicationsUse:(id)a4; - (void)_writeXMLRecordWithType:(id)a0 sourceName:(id)a1 sourceVersion:(id)a2 device:(id)a3 unit:(id)a4 metadata:(id)a5 hrvMetadataList:(id)a6 creationDate:(id)a7 startDate:(id)a8 endDate:(id)a9 value:(id)a10; - (void)_writeXMLSampleAttributes:(id)a0; - (void)_writeXMLWorkoutActivity:(id)a0; - (void)_writeXMLWorkoutEnd; - (void)_writeXMLWorkoutEvent:(id)a0; - (void)_writeXMLWorkoutRouteEnd; - (void)_writeXMLWorkoutRouteFileReference:(id)a0; - (void)_writeXMLWorkoutRouteStart:(id)a0; - (void)_writeXMLWorkoutStartWithActivityType:(id)a0 duration:(id)a1 durationUnit:(id)a2 sourceName:(id)a3 sourceVersion:(id)a4 device:(id)a5 metadata:(id)a6 creationDate:(id)a7 startDate:(id)a8 endDate:(id)a9; - (void)_writeXMLWorkoutStatistics:(id)a0; - (void)cancelCurrentExport; - (void)cleanupExportFilesWithError:(id)a0; @end