text: /*
  * This header is generated by classdump-dyld 1.0
  * on Saturday, June 1, 2019 at 6:52:25 PM Mountain Standard Time
  * Operating System: Version 12.1.1 (Build 16C5050a)
  * Image Source: /System/Library/PrivateFrameworks/ActivityAchievements.framework/ActivityAchievements
  * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos.
  */
  
  #import <libobjc.A.dylib/ACHEarnedInstanceEntitySyncedEarnedInstancesObserver.h>
  
  @protocol OS_dispatch_queue;
  @class HDProfile, ACHEarnedInstanceEntityWrapper, ACHEarnedInstanceDuplicateUtility, NSObject, NSMutableArray, NSHashTable, NSArray, NSString;
  
  @interface ACHEarnedInstanceStore : NSObject <ACHEarnedInstanceEntitySyncedEarnedInstancesObserver> {
  
  	BOOL _initialEarnedInstanceFetchComplete;
  	unsigned char _device;
  	HDProfile* _profile;
  	ACHEarnedInstanceEntityWrapper* _entityWrapper;
  	ACHEarnedInstanceDuplicateUtility* _duplicateUtility;
  	NSObject*<OS_dispatch_queue> _earnedInstanceQueue;
  	NSMutableArray* _allEarnedInstances;
  	NSObject*<OS_dispatch_queue> _observerQueue;
  	NSHashTable* _observers;
  
  }
  
  @property (assign,nonatomic,__weak) HDProfile * profile;                                        //@synthesize profile=_profile - In the implementation block
  @property (nonatomic,retain) ACHEarnedInstanceEntityWrapper * entityWrapper;                    //@synthesize entityWrapper=_entityWrapper - In the implementation block
  @property (nonatomic,retain) ACHEarnedInstanceDuplicateUtility * duplicateUtility;              //@synthesize duplicateUtility=_duplicateUtility - In the implementation block
  @property (nonatomic,retain) NSObject*<OS_dispatch_queue> earnedInstanceQueue;                  //@synthesize earnedInstanceQueue=_earnedInstanceQueue - In the implementation block
  @property (nonatomic,retain) NSMutableArray * allEarnedInstances;                               //@synthesize allEarnedInstances=_allEarnedInstances - In the implementation block
  @property (assign,nonatomic) BOOL initialEarnedInstanceFetchComplete;                           //@synthesize initialEarnedInstanceFetchComplete=_initialEarnedInstanceFetchComplete - In the implementation block
  @property (nonatomic,retain) NSObject*<OS_dispatch_queue> observerQueue;                        //@synthesize observerQueue=_observerQueue - In the implementation block
  @property (nonatomic,retain) NSHashTable * observers;                                           //@synthesize observers=_observers - In the implementation block
  @property (assign,nonatomic) unsigned char device;                                              //@synthesize device=_device - In the implementation block
  @property (nonatomic,readonly) NSArray * earnedInstances; 
  @property (readonly) unsigned long long hash; 
  @property (readonly) Class superclass; 
  @property (copy,readonly) NSString * description; 
  @property (copy,readonly) NSString * debugDescription; 
  -(HDProfile *)profile;
  -(unsigned char)device;
  -(void)setProfile:(HDProfile *)arg1 ;
  -(NSObject*<OS_dispatch_queue>)observerQueue;
  -(void)setObserverQueue:(NSObject*<OS_dispatch_queue>)arg1 ;
  -(void)setDevice:(unsigned char)arg1 ;
  -(id)earnedInstancesForTemplateUniqueName:(id)arg1 ;
  -(BOOL)earnedInstanceEntityDidReceiveSyncedEarnedInstances:(id)arg1 provenance:(long long)arg2 ;
  -(ACHEarnedInstanceEntityWrapper *)entityWrapper;
  -(void)setEntityWrapper:(ACHEarnedInstanceEntityWrapper *)arg1 ;
  -(BOOL)removeEarnedInstances:(id)arg1 error:(id*)arg2 ;
  -(BOOL)removeAllEarnedInstancesWithError:(id*)arg1 ;
  -(NSArray *)earnedInstances;
  -(void)loadAllEarnedInstancesFromDatabaseIfNecessary;
  -(BOOL)addEarnedInstances:(id)arg1 databaseContext:(id)arg2 error:(id*)arg3 ;
  -(BOOL)addEarnedInstances:(id)arg1 error:(id*)arg2 ;
  -(NSObject*<OS_dispatch_queue>)earnedInstanceQueue;
  -(BOOL)_queue_addEarnedInstances:(id)arg1 provenance:(long long)arg2 databaseContext:(id)arg3 triggerSync:(BOOL)arg4 error:(id*)arg5 ;
  -(NSMutableArray *)allEarnedInstances;
  -(id)_queue_earnedInstancesArray;
  -(id)_queue_addEarnedInstancesWithSingleTemplate:(id)arg1 provenance:(long long)arg2 databaseContext:(id)arg3 error:(id*)arg4 ;
  -(void)_queue_appendOrInsertEarnedInstanceToInMemoryStore:(id)arg1 ;
  -(void)_notifyObserversOfAddedEarnedInstances:(id)arg1 ;
  -(ACHEarnedInstanceDuplicateUtility *)duplicateUtility;
  -(BOOL)_queue_removeEarnedInstances:(id)arg1 error:(id*)arg2 ;
  -(void)_notifyObserversOfRemovedEarnedInstances:(id)arg1 ;
  -(BOOL)initialEarnedInstanceFetchComplete;
  -(void)setAllEarnedInstances:(NSMutableArray *)arg1 ;
  -(void)setInitialEarnedInstanceFetchComplete:(BOOL)arg1 ;
  -(void)_notifyInitialFetchComplete;
  -(id)initWithProfile:(id)arg1 earnedInstanceEntityWrapper:(id)arg2 earnedInstanceDuplicateUtility:(id)arg3 device:(unsigned char)arg4 ;
  -(void)setDuplicateUtility:(ACHEarnedInstanceDuplicateUtility *)arg1 ;
  -(void)setEarnedInstanceQueue:(NSObject*<OS_dispatch_queue>)arg1 ;
  -(void)removeObserver:(id)arg1 ;
  -(void)setObservers:(NSHashTable *)arg1 ;
  -(NSHashTable *)observers;
  -(void)addObserver:(id)arg1 ;
  @end
  
  