@class ACDDatabaseBackupActivity, ACDFakeRemoteAccountStoreSession, ACRemoteDeviceProxy, ACDAccessPluginManager, NSMutableArray, ACDDatabaseConnection, NSString, ACDDataclassOwnersManager, ACDAuthenticationDialogManager, ACDClient, ACDAuthenticationPluginManager, ACDAccountNotifier, ACDClientAuthorizationManager; @protocol ACDAccountStoreDelegate; @interface ACDAccountStore : ACAccountStore { NSMutableArray *_accountChanges; ACDFakeRemoteAccountStoreSession *_fakeRemoteAccountStoreSession; } @property (readonly, nonatomic) ACDDatabaseConnection *databaseConnection; @property (retain, nonatomic) ACDAuthenticationPluginManager *authenticationPluginManager; @property (retain, nonatomic) ACDAccessPluginManager *accessPluginManager; @property (retain, nonatomic) ACDDataclassOwnersManager *dataclassOwnersManager; @property (retain, nonatomic) ACDAuthenticationDialogManager *authenticationDialogManager; @property (retain, nonatomic) ACRemoteDeviceProxy *remoteDeviceProxy; @property (retain, nonatomic) ACDAccountNotifier *accountNotifier; @property (retain, nonatomic) ACDDatabaseBackupActivity *databaseBackupActivity; @property (nonatomic) BOOL notificationsEnabled; @property (nonatomic, getter=isMigrationInProgress) BOOL migrationInProgress; @property (weak, nonatomic) id delegate; @property (weak, nonatomic) ACDClient *client; @property (readonly, nonatomic) ACDClientAuthorizationManager *authorizationManager; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (id)accountCache; - (void)saveCredentialItem:(id)a0 completion:(id /* block */)a1; - (void)accountsOnPairedDeviceWithAccountTypes:(id)a0 withOptions:(id)a1 handler:(id /* block */)a2; - (void)setClientBundleID:(id)a0 withHandler:(id /* block */)a1; - (void)accountWithIdentifier:(id)a0 handler:(id /* block */)a1; - (void)accessKeysForAccountType:(id)a0 handler:(id /* block */)a1; - (void)credentialForAccountWithIdentifier:(id)a0 handler:(id /* block */)a1; - (void)provisionedDataclassesForAccountWithIdentifier:(id)a0 handler:(id /* block */)a1; - (void)displayAccountTypeForAccountWithIdentifier:(id)a0 handler:(id /* block */)a1; - (void)requestAccessForAccountTypeWithIdentifier:(id)a0 options:(id)a1 withHandler:(id /* block */)a2; - (void)credentialItemForAccount:(id)a0 serviceName:(id)a1 completion:(id /* block */)a2; - (void)parentAccountForAccountWithIdentifier:(id)a0 handler:(id /* block */)a1; - (void)grantedPermissionsForAccountType:(id)a0 withHandler:(id /* block */)a1; - (void)accountIdentifiersEnabledForDataclass:(id)a0 handler:(id /* block */)a1; - (void)runAccountMigrationPlugins:(id /* block */)a0; - (void)dataclassesWithHandler:(id /* block */)a0; - (void)insertCredentialItem:(id)a0 completion:(id /* block */)a1; - (void)isTetheredSyncingEnabledForDataclass:(id)a0 completion:(id /* block */)a1; - (void)accountTypesWithHandler:(id /* block */)a0; - (void)updateExistenceCacheOfAccountWithTypeIdentifier:(id)a0 withHandler:(id /* block */)a1; - (void)childAccountsWithAccountTypeIdentifier:(id)a0 parentAccountIdentifier:(id)a1 handler:(id /* block */)a2; - (void)canSaveAccount:(id)a0 completion:(id /* block */)a1; - (void)credentialForAccount:(id)a0 serviceID:(id)a1 handler:(id /* block */)a2; - (void)verifyCredentialsForAccount:(id)a0 options:(id)a1 completion:(id /* block */)a2; - (void)triggerKeychainMigrationIfNecessary:(id /* block */)a0; - (void)removeAccount:(id)a0 withDataclassActions:(id)a1 completion:(id /* block */)a2; - (void)credentialItemsWithCompletion:(id /* block */)a0; - (void)insertAccountType:(id)a0 withHandler:(id /* block */)a1; - (void)openAuthenticationURLForAccount:(id)a0 withDelegateClassName:(id)a1 fromBundleAtPath:(id)a2 shouldConfirm:(BOOL)a3 completion:(id /* block */)a4; - (void)removeAccountsFromPairedDeviceWithOptions:(id)a0 completion:(id /* block */)a1; - (void)clearGrantedPermissionsForAccountType:(id)a0 withHandler:(id /* block */)a1; - (void)setCredential:(id)a0 forAccount:(id)a1 serviceID:(id)a2 completion:(id /* block */)a3; - (void)preloadDataclassOwnersWithCompletion:(id /* block */)a0; - (void)tetheredSyncSourceTypeForDataclass:(id)a0 completion:(id /* block */)a1; - (void)syncableDataclassesForAccountType:(id)a0 handler:(id /* block */)a1; - (void)saveAccount:(id)a0 toPairedDeviceWithOptions:(id)a1 completion:(id /* block */)a2; - (void)migrateCredentialForAccount:(id)a0 completion:(id /* block */)a1; - (void)accountExistsWithDescription:(id)a0 completion:(id /* block */)a1; - (void)clientTokenForAccountIdentifier:(id)a0 completion:(id /* block */)a1; - (void)permissionForAccountType:(id)a0 withHandler:(id /* block */)a1; - (void)setPermissionGranted:(id)a0 forBundleID:(id)a1 onAccountType:(id)a2 withHandler:(id /* block */)a3; - (void)removeAccountFromPairedDevice:(id)a0 withOptions:(id)a1 completion:(id /* block */)a2; - (void)dataclassActionsForAccountSave:(id)a0 completion:(id /* block */)a1; - (void)scheduleBackupIfNonexistent:(id /* block */)a0; - (void)enabledDataclassesForAccountWithIdentifier:(id)a0 handler:(id /* block */)a1; - (void)accountsWithAccountType:(id)a0 handler:(id /* block */)a1; - (void)accountsWithTypeIdentifier:(id)a0 propertyKey:(id)a1 value:(id)a2 cacheSuffix:(id)a3 completion:(id /* block */)a4; - (void)discoverPropertiesForAccount:(id)a0 options:(id)a1 completion:(id /* block */)a2; - (void)_setAccountManagedObjectRelationships:(id)a0 withAccount:(id)a1 oldAccount:(id)a2 error:(id *)a3; - (void)isPushSupportedForAccount:(id)a0 completion:(id /* block */)a1; - (void)childAccountsForAccountWithIdentifier:(id)a0 handler:(id /* block */)a1; - (void)clearAllPermissionsGrantedForAccountType:(id)a0 withHandler:(id /* block */)a1; - (void)registerMonitorForAccountsOfTypes:(id)a0 propertiesToPrefetch:(id)a1 completion:(id /* block */)a2; - (void)removeCredentialItem:(id)a0 completion:(id /* block */)a1; - (void)accountsWithAccountType:(id)a0 options:(unsigned long long)a1 completion:(id /* block */)a2; - (void)accountTypeWithIdentifier:(id)a0 handler:(id /* block */)a1; - (void)accountIdentifiersEnabledForDataclasses:(id)a0 withAccountTypeIdentifiers:(id)a1 completion:(id /* block */)a2; - (void)openAuthenticationURL:(id)a0 forAccount:(id)a1 shouldConfirm:(BOOL)a2 completion:(id /* block */)a3; - (void)visibleTopLevelAccountsWithAccountTypeIdentifiers:(id)a0 completion:(id /* block */)a1; - (void)isPerformingDataclassActionsForAccount:(id)a0 completion:(id /* block */)a1; - (void)accountsWithAccountTypeIdentifiers:(id)a0 preloadedProperties:(id)a1 completion:(id /* block */)a2; - (void)saveAccount:(id)a0 withHandler:(id /* block */)a1; - (void)kerberosAccountsForDomainFromURL:(id)a0 completion:(id /* block */)a1; - (void)notifyRemoteDevicesOfModifiedAccount:(id)a0 withChangeType:(id)a1 options:(id)a2 completion:(id /* block */)a3; - (void)renewCredentialsForAccount:(id)a0 options:(id)a1 completion:(id /* block */)a2; - (void)shutdownAccountsD:(id /* block */)a0; - (void)accountsWithHandler:(id /* block */)a0; - (void)dataclassActionsForAccountDeletion:(id)a0 completion:(id /* block */)a1; - (void)removeAccountType:(id)a0 withHandler:(id /* block */)a1; - (void)resetDatabaseToVersion:(id)a0 withCompletion:(id /* block */)a1; - (void)addClientToken:(id)a0 forAccountIdentifier:(id)a1 completion:(id /* block */)a2; - (void)accountIdentifiersEnabledToSyncDataclass:(id)a0 handler:(id /* block */)a1; - (void)appPermissionsForAccountType:(id)a0 withHandler:(id /* block */)a1; - (id)remoteAccountStoreSession; - (id)_commitOrRollbackDataclassActions:(id)a0 forAccount:(id)a1 originalEnabledDataclasses:(id)a2; - (id)longLivedRemoteAccountStoreSession; - (id)init; - (BOOL)_removeAccountNoSave:(id)a0 withDataclassActions:(id)a1 withError:(id *)a2; - (id)_clientTokenForAccountIdentifier:(id)a0 error:(id)a1; - (BOOL)shouldPreventAccountCreationWithObsoleteAccountType; - (BOOL)_canSaveAccount:(id)a0 error:(id *)a1; - (BOOL)_updateAccountNoSave:(id)a0 withDataclassActions:(id)a1 error:(id *)a2; - (id)_allAccounts_sync; - (id)_accountWithIdentifier:(id)a0; - (void)saveAccount:(id)a0 verify:(BOOL)a1 dataclassActions:(id)a2 completion:(id /* block */)a3; - (id)_lockForAccountType:(id)a0; - (void)_pruneDuplicateAccountsForAccountType:(id)a0 withUserName:(id)a1 error:(id *)a2; - (id)initWithClient:(id)a0 databaseConnection:(id)a1; - (id)masterCredentialForAccountIdentifier:(id)a0; - (id)_accountsWithAccountType:(id)a0 options:(unsigned long long)a1 error:(id *)a2; - (void)_completeSave:(id)a0 dataclassActions:(id)a1 completion:(id /* block */)a2; - (id)accountsWithAccountTypeIdentifier:(id)a0; - (id)_accountsWithAcountType:(id)a0 error:(id *)a1; - (BOOL)_saveWithError:(id *)a0; - (id)_predicateForFetchingAccountsWithManagedAccountTypeID:(id)a0 options:(unsigned long long)a1; - (void)notifyRemoteDevicesOfModifiedAccount:(id)a0 withChangeType:(id)a1; - (void)deleteAccountNoSave:(id)a0 error:(id *)a1; - (id)_displayAccountForAccount:(id)a0; - (id)accountTypeWithIdentifier:(id)a0; - (BOOL)accountsExistWithAccountTypeIdentifier:(id)a0; - (id)_legacyCredentialForAccount:(id)a0 client:(id)a1 error:(id *)a2; - (void)handleURL:(id)a0; - (void)cacheGenerationForAccounts:(id)a0 cacheSuffix:(id)a1; - (BOOL)_handleAccountMod:(id)a0 withDataclassActions:(id)a1 withError:(id *)a2; - (void)_delegate_accountStoreDidSaveAccount:(id)a0 changeType:(int)a1; - (void)_removeClientTokenForAccountIdentifer:(id)a0; - (id)_accountTypeWithIdentifier:(id)a0; - (void).cxx_destruct; - (id)_sync_accountWithIdentifier:(id)a0; - (id)_dataclassWithName:(id)a0 createIfNecessary:(BOOL)a1; - (BOOL)_performDataclassActions:(id)a0 forAccount:(id)a1 error:(id *)a2; - (id)_accountWithIdentifier:(id)a0 prefetchKeypaths:(id)a1; - (id)_childAccountsForAccountWithID:(id)a0; - (void)_updateExistenceCacheOfAccountWithTypeIdentifier:(id)a0 withHandler:(id /* block */)a1; - (BOOL)_isManagedAccount:(id)a0 enabledForManagedDataclass:(id)a1; - (BOOL)_canManagedAccountType:(id)a0 syncManagedDataclass:(id)a1; - (id)_addAccountNoSave:(id)a0 withDataclassActions:(id)a1 error:(id *)a2; - (void)_deleteAccountNoSave:(id)a0 withDataclassActions:(id)a1 error:(id *)a2; - (void)_requestAccessForAccountTypeWithIdentifier:(id)a0 options:(id)a1 allowUserInteraction:(BOOL)a2 withHandler:(id /* block */)a3; - (id)_credentialItemWithAccountIdentifier:(id)a0 serviceName:(id)a1; - (void)saveAccount:(id)a0 pid:(id)a1 verify:(BOOL)a2 dataclassActions:(id)a3 completion:(id /* block */)a4; - (void)supportedDataclassesForAccountType:(id)a0 handler:(id /* block */)a1; - (id)_clientTokenQueue; - (void)addAccountNoSave:(id)a0 error:(id *)a1; - (void)updateAccountNoSave:(id)a0 error:(id *)a1; - (BOOL)_handleAccountAdd:(id)a0 withDataclassActions:(id)a1 error:(id *)a2; @end