@class NSSet, NSString, ACAccountStore, NSObject; @protocol OS_dispatch_queue, OS_dispatch_source; @interface SGAccountsAdapter : NSObject { NSSet *_usernamesCache; ACAccountStore *_accountStore; NSString *_cachedPrimaryICloudAccount; NSObject *_updateQueue; NSObject *_updateSource; BOOL _updateTimerIsSet; NSObject *_updateTimerQueue; NSObject *_updateTimerSource; } + (id)sharedInstance; + (BOOL)automaticallyNotifiesObserversForKey:(id)a0; - (BOOL)hasCalendarAccount:(id)a0; - (id)init; - (void)dealloc; - (void)cancelUpdateTimer; - (id)serverIdentifierForAccount:(id)a0; - (BOOL)readCachedAccounts; - (void)accountsStoreDidChange:(id)a0; - (void)setUpdateTimerWithDelaySeconds:(unsigned long long)a0; - (void)refreshCacheFromAccountsService; - (void).cxx_destruct; - (void)registerNotificationObserver; - (id)primaryICloudCalendarAccount; - (void)removeNotificationObserver; - (void)setCachedAccounts; @end