text: /*
  * This header is generated by classdump-dyld 1.0
  * on Wednesday, March 22, 2017 at 9:08:16 AM Mountain Standard Time
  * Operating System: Version 10.1 (Build 14U593)
  * Image Source: /System/Library/PrivateFrameworks/CoreThemeDefinition.framework/CoreThemeDefinition
  * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos.
  */
  
  #import <CoreThemeDefinition/CoreThemeDefinition-Structs.h>
  #import <CoreThemeDefinition/TDPersistentDocument.h>
  
  @protocol TDAssetManagementDelegate, TDCustomAssetProvider;
  @class NSMutableDictionary, TDHistorian, TDThreadMOCOrganizer, NSManagedObjectModel, NSString, TDDeviceTraits, NSUUID, NSURL;
  
  @interface CoreThemeDocument : TDPersistentDocument {
  
  	NSMutableDictionary* constantArrayControllers;
  	NSMutableDictionary* cachedConstantArrays;
  	long long cachedMaxIdentifierInUse;
  	TDHistorian* m_historian;
  	TDThreadMOCOrganizer* m_mocOrganizer;
  	NSManagedObjectModel* m_managedObjectModel;
  	NSString* pathToRepresentedDocument;
  	NSString* _relativePathToProductionData;
  	NSString* _targetPlatform;
  	NSMutableDictionary* _packableRenditions;
  	NSMutableDictionary* _explicitlyPackedIdentifiers;
  	NSMutableDictionary* _explicitlyPackedPackings;
  	NSMutableDictionary* _explicitlyPackedContents;
  	BOOL m_didMigrate;
  	int _updateVersionMetadataState;
  	NSString* _minimumDeploymentVersion;
  	int _majorVersion;
  	int _minorVersion;
  	int _patchVersion;
  	TDDeviceTraits* _optimizeForDeviceTraits;
  	renditionkeyfmt* _keyFormat;
  	long long _capabilities;
  	id<TDAssetManagementDelegate> _assetManagementDelegate;
  	id<TDCustomAssetProvider> _customAssetProvider;
  
  }
  
  @property (copy) NSString * pathToRepresentedDocument; 
  @property (assign,nonatomic) id<TDAssetManagementDelegate> assetManagementDelegate;              //@synthesize assetManagementDelegate=_assetManagementDelegate - In the implementation block
  @property (assign,nonatomic) id<TDCustomAssetProvider> customAssetProvider;                      //@synthesize customAssetProvider=_customAssetProvider - In the implementation block
  @property (assign,nonatomic) long long documentCapabilities;                                     //@synthesize capabilities=_capabilities - In the implementation block
  @property (nonatomic,retain) TDDeviceTraits * optimizeForDeviceTraits;                           //@synthesize optimizeForDeviceTraits=_optimizeForDeviceTraits - In the implementation block
  @property (nonatomic,copy) NSString * minimumDeploymentVersion;                                  //@synthesize minimumDeploymentVersion=_minimumDeploymentVersion - In the implementation block
  @property (nonatomic,readonly) int majorVersion; 
  @property (nonatomic,readonly) int minorVersion; 
  @property (nonatomic,readonly) int patchVersion; 
  @property (nonatomic,copy) NSUUID * uuid; 
  @property (assign,nonatomic) int defaultBlendMode; 
  @property (assign,nonatomic) BOOL allowsVibrancy; 
  @property (nonatomic,readonly) NSURL * themeBitSourceURL; 
  +(void)initialize;
  +(long long)targetPlatformForMOC:(id)arg1 ;
  +(int)maximumAreaOfPackableImageForScale:(unsigned long long)arg1 ;
  +(id)dataModelNameForVersion:(long long)arg1 ;
  +(id)_sharedDocumentList;
  +(long long)defaultTargetPlatform;
  +(id)persistentStringForPlatform:(long long)arg1 ;
  +(long long)dataModelVersionFromMetadata:(id)arg1 ;
  +(long long)dataModelVersion;
  +(void)presentMigrationProgress;
  +(void)closeMigrationProgress;
  +(id)defaultThemeBitSourceURLForDocumentURL:(id)arg1 ;
  +(id)_imageAssetURLsByCopyingFileURLs:(id)arg1 toManagedLocationAtURL:(id)arg2 error:(id*)arg3 ;
  +(long long)platformForPersistentString:(id)arg1 ;
  +(unsigned long long)standardColorSpaceID;
  +(int)shouldConvertColorsFromColorSpaceWithIdentifier:(unsigned long long)arg1 toIdentifier:(unsigned long long)arg2 error:(id*)arg3 ;
  +(void)doneWithColorConversion;
  +(BOOL)defaultAllowsExtendedRangePixelFormats;
  +(void)_addThemeDocument:(id)arg1 ;
  +(id)createConfiguredDocumentAtURL:(id)arg1 error:(id*)arg2 ;
  +(id)migrateDocumentAtURL:(id)arg1 ofType:(id)arg2 error:(id*)arg3 ;
  -(unsigned long long)colorSpaceID;
  -(BOOL)usesCUISystemThemeRenditionKey;
  -(const renditionkeyfmt*)renditionKeyFormat;
  -(void)dealloc;
  -(id)init;
  -(NSUUID *)uuid;
  -(id)managedObjectModel;
  -(id)persistentStoreTypeForFileType:(id)arg1 ;
  -(BOOL)configurePersistentStoreCoordinatorForURL:(id)arg1 ofType:(id)arg2 modelConfiguration:(id)arg3 storeOptions:(id)arg4 error:(id*)arg5 ;
  -(void)setUuid:(NSUUID *)arg1 ;
  -(unsigned)checksum;
  -(void)deleteObject:(id)arg1 ;
  -(int)majorVersion;
  -(int)minorVersion;
  -(id<TDAssetManagementDelegate>)assetManagementDelegate;
  -(void)setAssetManagementDelegate:(id<TDAssetManagementDelegate>)arg1 ;
  -(id)stateWithIdentifier:(long long)arg1 ;
  -(id)rootPathForProductionData;
  -(id)valueWithIdentifier:(long long)arg1 ;
  -(id)presentationStateWithIdentifier:(long long)arg1 ;
  -(id)drawingLayerWithIdentifier:(long long)arg1 ;
  -(void)deleteObjects:(id)arg1 ;
  -(id)elementWithIdentifier:(long long)arg1 ;
  -(id)partWithIdentifier:(long long)arg1 ;
  -(id)sizeWithIdentifier:(long long)arg1 ;
  -(id)directionWithIdentifier:(long long)arg1 ;
  -(id)idiomWithIdentifier:(long long)arg1 ;
  -(id)sizeClassWithIdentifier:(long long)arg1 ;
  -(id)graphicsFeatureSetClassWithIdentifier:(long long)arg1 ;
  -(id)displayGamutWithIdentifier:(long long)arg1 ;
  -(id)deploymentTargetWithIdentifier:(long long)arg1 ;
  -(long long)targetPlatform;
  -(id)historian;
  -(id)metadatumForKey:(id)arg1 ;
  -(BOOL)isCustomLook;
  -(id)objectsForEntity:(id)arg1 withPredicate:(id)arg2 sortDescriptors:(id)arg3 ;
  -(void)primeArrayControllers;
  -(void)changedObjectsNotification:(id)arg1 ;
  -(id)initWithType:(id)arg1 error:(id*)arg2 ;
  -(void)buildModel;
  -(id)initWithContentsOfURL:(id)arg1 ofType:(id)arg2 error:(id*)arg3 ;
  -(void)_configureAfterFirstSave;
  -(void)setPathToRepresentedDocument:(NSString *)arg1 ;
  -(id)_namedTextEffectPartDefinition;
  -(id)_namedImageEffectPartDefinition;
  -(id)createEffectStyleProductionForPartDefinition:(id)arg1 withNameIdentifier:(id)arg2 ;
  -(id)allObjectsForEntity:(id)arg1 withSortDescriptors:(id)arg2 ;
  -(id)_cachedConstantsForEntity:(id)arg1 ;
  -(id)themeConstant:(id)arg1 withIdentifier:(long long)arg2 ;
  -(id)newObjectForEntity:(id)arg1 ;
  -(id)effectTypeWithIdentifier:(unsigned)arg1 ;
  -(id)effectParameterValueWithType:(unsigned)arg1 inComponent:(id)arg2 createIfNeeded:(BOOL)arg3 ;
  -(unsigned long long)countForEntity:(id)arg1 withPredicate:(id)arg2 ;
  -(id)allObjectsForEntity:(id)arg1 withSortDescriptors:(id)arg2 error:(id*)arg3 ;
  -(id)objectsForEntity:(id)arg1 withPredicate:(id)arg2 sortDescriptors:(id)arg3 error:(id*)arg4 ;
  -(id)mocOrganizer;
  -(void)deleteProduction:(id)arg1 shouldDeleteAssetFiles:(BOOL)arg2 ;
  -(id)minimalDisplayNameForThemeConstant:(id)arg1 ;
  -(id)defaultBaseFileNameForSchemaRendition:(id)arg1 withPartDefinition:(id)arg2 ;
  -(id)folderNameFromRenditionKey:(id)arg1 forPartDefinition:(id)arg2 ;
  -(id)defaultPNGFileNameForSchemaRendition:(id)arg1 withPartDefinition:(id)arg2 ;
  -(NSString *)pathToRepresentedDocument;
  -(id)createProductionWithRenditionGroup:(id)arg1 forPartDefinition:(id)arg2 artworkFormat:(id)arg3 nameElement:(id)arg4 shouldReplaceExisting:(BOOL)arg5 error:(id*)arg6 ;
  -(BOOL)allowMultipleInstancesOfElementID:(long long)arg1 ;
  -(id)artworkDraftTypeWithIdentifier:(long long)arg1 ;
  -(id)renditionTypeWithIdentifier:(long long)arg1 ;
  -(id)renditionSubtypeWithIdentifier:(unsigned)arg1 ;
  -(id)defaultPathComponentsForPartDefinition:(id)arg1 ;
  -(id)_themeBitSource:(id*)arg1 ;
  -(id)createReferencePNGForSchemaRendition:(id)arg1 withPartDefinition:(id)arg2 atLocation:(id)arg3 error:(id*)arg4 ;
  -(void)_normalizeRenditionKeySpec:(id)arg1 forSchemaRendition:(id)arg2 ;
  -(BOOL)createPSDReferenceArtworkForRenditionGroup:(id)arg1 atDestination:(id)arg2 error:(id*)arg3 ;
  -(id)iterationTypeWithIdentifier:(int)arg1 ;
  -(id)mappingForPhotoshopLayerIndex:(long long)arg1 themeDrawingLayerIdentifier:(long long)arg2 ;
  -(id)namedEffectProductionWithName:(id)arg1 ;
  -(id)_createNamedElementWithNextAvailableIdentifier;
  -(id)_createNamedElementWithIdentifier:(long long)arg1 ;
  -(id)_namedImagePartDefinition;
  -(id)templateRenderingModeWithIdentifier:(long long)arg1 ;
  -(id)compressionTypeWithIdentifier:(long long)arg1 ;
  -(id)slicesComputedForImageSize:(CGSize)arg1 usingSliceInsets:(SCD_Struct_Co11)arg2 resizableSliceSize:(CGSize)arg3 withRenditionType:(long long)arg4 ;
  -(void)deleteProductions:(id)arg1 shouldDeleteAssetFiles:(BOOL)arg2 ;
  -(void)_removeRedundantPDFBasedRenditionsForAssets:(id)arg1 ;
  -(id)textureInterpretaitionWithIdentifier:(unsigned)arg1 ;
  -(id)pixelFormatWithIdentifier:(long long)arg1 ;
  -(void)_getFilename:(id*)arg1 scaleFactor:(unsigned*)arg2 category:(id*)arg3 bitSource:(id*)arg4 forFileURL:(id)arg5 ;
  -(id)createAssetWithName:(id)arg1 fileType:(id)arg2 scaleFactor:(unsigned)arg3 inCategory:(id)arg4 forThemeBitSource:(id)arg5 ;
  -(id)textureFaceWithIdentifier:(long long)arg1 ;
  -(long long)_compareFlattenedKeySpec1:(id)arg1 toKeySpec2:(id)arg2 ;
  -(void)_addResolvedLayerReferenceToFlattenedImageRendition:(id)arg1 usingArtworkRendition:(id)arg2 andLayerReference:(id)arg3 ;
  -(void)_makeRadiosityImages;
  -(id)_themeBitSourceForReferencedFilesAtURLs:(id)arg1 createIfNecessary:(BOOL)arg2 ;
  -(id)addAssetsAtFileURLs:(id)arg1 createProductions:(BOOL)arg2 referenceFiles:(BOOL)arg3 bitSource:(id)arg4 customInfos:(id)arg5 ;
  -(id)createNamedArtworkProductionsForAssets:(id)arg1 customInfos:(id)arg2 error:(id*)arg3 ;
  -(void)_automaticSRGBGenerationFromP3;
  -(void)_automaticP3GenerationFromSRGB;
  -(void)_optimizeForDeviceTraits;
  -(void)_tidyUpLayerStacks;
  -(void)_backwardsCompatibilityPatchForLayoutDirection;
  -(void)packRenditions;
  -(void)importNamedAssetsWithImportInfos:(id)arg1 referenceFiles:(BOOL)arg2 completionHandler:(/*^block*/id)arg3 ;
  -(id)_addAssetsAtFileURLs:(id)arg1 createProductions:(BOOL)arg2 referenceFiles:(BOOL)arg3 bitSource:(id)arg4 customInfos:(id)arg5 sortedCustomInfos:(id*)arg6 ;
  -(id)updateAutomaticTexturesForCustomInfos:(id)arg1 allTextureInfos:(id)arg2 ;
  -(void)createNamedTexturesForCustomInfos:(id)arg1 referenceFiles:(BOOL)arg2 bitSource:(id)arg3 error:(id*)arg4 ;
  -(id)namedElementWithName:(id)arg1 ;
  -(id)_addAssetsFromCustomAssetInfos:(id)arg1 bitSource:(id)arg2 error:(id*)arg3 ;
  -(BOOL)createCustomArtworkProductionsForCustomAssets:(id)arg1 withImportInfos:(id)arg2 error:(id*)arg3 ;
  -(id)_createPhotoshopElementProductionWithAsset:(id)arg1 ;
  -(id)createAssetWithName:(id)arg1 scaleFactor:(unsigned)arg2 inCategory:(id)arg3 forThemeBitSource:(id)arg4 ;
  -(id)assetAtFileURL:(id)arg1 ;
  -(id)createElementProductionWithAsset:(id)arg1 ;
  -(id)relativePathToProductionData;
  -(void)setMetadatum:(id)arg1 forKey:(id)arg2 ;
  -(id)_predicateForRenditionKeySpec:(id)arg1 ;
  -(void)resetThemeConstants;
  -(id)lookWithIdentifier:(long long)arg1 ;
  -(id)schemaCategoryWithIdentifier:(long long)arg1 ;
  -(BOOL)_canremoveKeyAttribte:(unsigned short)arg1 ;
  -(int)renditionKeySemantics;
  -(const renditionkeyfmt*)untrimmedRenditionKeyFormat;
  -(void)_updateKeyFormat;
  -(id)_customizedSchemaDefinitionsForEntity:(id)arg1 ;
  -(BOOL)customizationExistsForSchemaDefinition:(id)arg1 ;
  -(BOOL)customizeSchemaPartDefinition:(id)arg1 usingArtworkFormat:(id)arg2 nameElement:(id)arg3 shouldReplaceExisting:(BOOL)arg4 error:(id*)arg5 ;
  -(id)createEffectStyleProductionForPartDefinition:(id)arg1 ;
  -(id)_catalogGlobals;
  -(int)defaultBlendMode;
  -(void)setDefaultBlendMode:(int)arg1 ;
  -(void)setAllowsVibrancy:(BOOL)arg1 ;
  -(id)updatedVersionsMetadataFromMetadata:(id)arg1 ;
  -(BOOL)checkCompatibilityOfDocumentAtURL:(id)arg1 ofType:(id)arg2 error:(id*)arg3 ;
  -(BOOL)readFromURL:(id)arg1 ofType:(id)arg2 error:(id*)arg3 ;
  -(void)convertColorsFromColorSpaceWithIdentifier:(unsigned long long)arg1 toIdentifier:(unsigned long long)arg2 ;
  -(void)setTargetPlatform:(long long)arg1 ;
  -(void)setArtworkFormat:(id)arg1 ;
  -(void)setAllowsExtendedRangePixelFormats:(BOOL)arg1 ;
  -(void)setRelativePathToProductionData:(id)arg1 ;
  -(void)addThemeBitSourceAtPath:(id)arg1 createProductions:(BOOL)arg2 ;
  -(void)_synchronousSave;
  -(void)_removeRedundantPDFBasedRenditions:(id)arg1 ;
  -(id)renditionsMatchingRenditionKeySpec:(id)arg1 ;
  -(void)_delete:(id)arg1 withRendition:(id)arg2 ;
  -(void)_insertRendition:(id)arg1 forKey:(id)arg2 ;
  -(id)namedArtworkProductionWithName:(id)arg1 ;
  -(void)_updateRenditionPackings:(id)arg1 ;
  -(void)_groupPackableRenditions;
  -(BOOL)_matchesAllExceptGamut:(id)arg1 andKeySpec:(id)arg2 ;
  -(void)setMinimumDeploymentVersion:(NSString *)arg1 ;
  -(int)patchVersion;
  -(void)updateRenditionSpec:(id)arg1 ;
  -(id)initWithType:(id)arg1 targetPlatform:(long long)arg2 error:(id*)arg3 ;
  -(void)checkVersionsAndUpdateIfNecessary;
  -(id)updateToEmbeddedSchemaVersion2AndReturnAlertString:(id*)arg1 ;
  -(void)recacheThemeConstant:(id)arg1 ;
  -(id)previousStateWithIdentifier:(long long)arg1 ;
  -(id)previousValueWithIdentifier:(long long)arg1 ;
  -(id)effectParameterTypeWithIdentifier:(unsigned)arg1 ;
  -(id)effectComponentWithType:(unsigned)arg1 inRendition:(id)arg2 createIfNeeded:(BOOL)arg3 ;
  -(id)constantWithName:(id)arg1 forIdentifier:(long long)arg2 ;
  -(id)psdImageRefForAsset:(id)arg1 ;
  -(id)zeroCodeArtworkInfoWithIdentifier:(long long)arg1 ;
  -(id)createProductionWithRenditionGroup:(id)arg1 forPartDefinition:(id)arg2 artworkFormat:(id)arg3 shouldReplaceExisting:(BOOL)arg4 error:(id*)arg5 ;
  -(id)createNamedEffectProductionWithName:(id)arg1 isText:(BOOL)arg2 ;
  -(id)namedElementsForElementDefinition:(id)arg1 ;
  -(id)elementProductionsWithName:(id)arg1 ;
  -(void)importNamedAssetsFromFileURLs:(id)arg1 referenceFiles:(BOOL)arg2 completionHandler:(/*^block*/id)arg3 ;
  -(void)importNamedAssetsWithImportInfos:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)deleteNamedAssets:(id)arg1 shouldDeleteAssetFiles:(BOOL)arg2 completionHandler:(/*^block*/id)arg3 ;
  -(void)importCustomAssetsWithImportInfos:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(id)_genericPartDefinition;
  -(id)createAssetWithName:(id)arg1 inCategory:(id)arg2 forThemeBitSource:(id)arg3 ;
  -(id)assetAtPath:(id)arg1 ;
  -(id)addAssetsAtFileURLs:(id)arg1 ;
  -(id)addAssetsAtFileURLs:(id)arg1 createProductions:(BOOL)arg2 ;
  -(id)pathToAsset:(id)arg1 ;
  -(unsigned long long)countOfRenditionsMatchingRenditionKeySpec:(id)arg1 ;
  -(unsigned long long)countOfRenditionsMatchingRenditionKeySpecs:(id)arg1 ;
  -(id)artworkFormat;
  -(BOOL)didMigrate;
  -(BOOL)allowsExtendedRangePixelFormats;
  -(long long)renditionKeySpecAttributeCount;
  -(id)customizedSchemaElementDefinitions;
  -(id)customizedSchemaEffectDefinitions;
  -(id)customizedSchemaMaterialDefinitions;
  -(void)removeCustomizationForSchemaDefinition:(id)arg1 shouldDeleteAssetFiles:(BOOL)arg2 ;
  -(BOOL)customizeSchemaElementDefinition:(id)arg1 usingArtworkFormat:(id)arg2 shouldReplaceExisting:(BOOL)arg3 error:(id*)arg4 ;
  -(BOOL)customizeSchemaEffectDefinition:(id)arg1 shouldReplaceExisting:(BOOL)arg2 error:(id*)arg3 ;
  -(BOOL)customizeSchemaMaterialDefinition:(id)arg1 shouldReplaceExisting:(BOOL)arg2 error:(id*)arg3 ;
  -(id)schemaDefinitionWithElementID:(long long)arg1 ;
  -(id)schemaPartDefinitionWithElementID:(long long)arg1 partID:(long long)arg2 ;
  -(id)namedArtworkProductions;
  -(id)namedEffectProductions;
  -(void)exportColorsToURL:(id)arg1 ;
  -(void)importColorsFromURL:(id)arg1 valuesOnly:(BOOL)arg2 getUnusedColorNames:(id*)arg3 ;
  -(void)exportCursorsToURL:(id)arg1 ;
  -(void)importCursorsFromURL:(id)arg1 getUnusedImportedCursors:(id*)arg2 getUnupdatedCursors:(id*)arg3 ;
  -(NSURL *)themeBitSourceURL;
  -(void)addThemeBitSourceAtPath:(id)arg1 ;
  -(long long)documentCapabilities;
  -(void)setDocumentCapabilities:(long long)arg1 ;
  -(TDDeviceTraits *)optimizeForDeviceTraits;
  -(void)setOptimizeForDeviceTraits:(TDDeviceTraits *)arg1 ;
  -(NSString *)minimumDeploymentVersion;
  -(id<TDCustomAssetProvider>)customAssetProvider;
  -(void)setCustomAssetProvider:(id<TDCustomAssetProvider>)arg1 ;
  -(BOOL)allowsVibrancy;
  @end
  
  