luxlabs header browser preview


@class SGSuggestHistory, SGJournal, SGKeyValueCacheManager, NSDictionary, NSObject, SGSGtoCNContactsCacheUpdateAdapter, NSMutableArray, SGMIFeatureStore, SGDatabaseJournal, SGBloomFilter, NSString, _PASLock, SGSpotlightContactsAdapter, NSSet, SGSqliteDatabase, NSMutableOrderedSet, SGSqliteDatabaseSharedLock, SGCoalescingDropBox;
@protocol OS_dispatch_queue;

@interface SGSqlEntityStore : NSObject <CSSearchableIndexDelegate> {
    SGSqliteDatabase *_db;
    SGSqliteDatabaseSharedLock *_sharedWriteLock;
    SGSqliteDatabase *_snippetDb;
    SGDatabaseJournal *_snippetsJournal;
    SGMIFeatureStore *_sgmiFeatureStore;
    SGSuggestHistory *_history;
    _Atomic BOOL _identityStoreDirty;
    NSDictionary *_entityMigrations;
    NSDictionary *_snippetsMigrations;
    unsigned int _entityVersion;
    unsigned int _snippetsVersion;
    BOOL _entityMigrationRequiresMergeBlobUpdate;
    unsigned long long _lostMessageOverflow;
    NSMutableArray *_deallocNotifications;
    struct atomic_flag { _Atomic BOOL _Value; } _isClosed;
    SGJournal *_journal;
    unsigned long long _parentMessagesLimit;
    unsigned long long _serializedContactsLimit;
    _PASLock *_recentlyDeletedEmailKeys;
    _Atomic int _spotlightReindexCount;
    NSObject<OS_dispatch_queue> *_spotlightReindexQueue;
    NSSet *_prematchedContactIdentifiers;
    NSObject<OS_dispatch_queue> *_precomputationQueue;
    SGBloomFilter *_messageRecipients;
    id /* block */ _crLookup;
    NSString *_snippetDbPath;
    id _lockStateNotificationRegistrationToken;
    BOOL _executeJournals;
    NSMutableOrderedSet *_otherDetailsWithNoContact;
    SGCoalescingDropBox *_cnToSGContactsCachePendingUpdateRequests;
}

@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (readonly, copy) NSString *description;
@property (readonly, copy) NSString *debugDescription;
@property (readonly, nonatomic) BOOL isEphemeral;
@property (readonly, nonatomic) BOOL waitForMigrations;
@property (readonly) SGSpotlightContactsAdapter *spotlightContactsAdapter;
@property (readonly) SGSGtoCNContactsCacheUpdateAdapter *sgToCNContactsCacheUpdateAdapter;
@property (readonly) SGKeyValueCacheManager *kvCacheManager;

+ (id)defaultSnippetPath;
+ (id)cnContactIdentifiersForContact:(id)a0;
+ (id)defaultPath;
+ (id)journalNameForDbPath:(id)a0;
+ (id)defaultStore;
+ (id)globPrefix:(id)a0;
+ (id)_initializeDatabaseNolock:(id)a0 withProtection:(BOOL)a1 sharedLock:(id)a2 newDatabaseCreated:(BOOL *)a3;
+ (id)defaultPathCreatingSuggestionsDirectoryIfNeeded:(BOOL)a0;
+ (void)addPathToFutureDbSchemas:(id)a0;
+ (void)setCachedVIPEmailAddresses:(id)a0;
+ (id)_cachedVIPEmailAddresses;
+ (void)clearMigrationCompletedForPaths;
+ (id)sqlStoreWithEntityDbPath:(id)a0 snippetDbPath:(id)a1 isEphemeral:(BOOL)a2 sharedLock:(id)a3 executeJournals:(BOOL)a4;
+ (id)defaultHarvestStore;
+ (BOOL)isEphemeralIdentifier:(long long)a0;
+ (id)initializeDatabase:(id)a0 withProtection:(BOOL)a1 sharedLock:(id)a2 newDatabaseCreated:(BOOL *)a3;
+ (BOOL)canStoreEventsForAccountType:(id)a0;
+ (id)sqlStoreWithEntityDbPath:(id)a0 snippetDbPath:(id)a1 isEphemeral:(BOOL)a2 executeJournals:(BOOL)a3;
+ (void)prepareSqlStoreInMemoryByClearingExistingStore:(id)a0;
+ (id)likePrefix:(id)a0;
+ (id)_fieldValuesClassWhitelist;
+ (id)sqlStoreWithEntityDbPathNoMigrate:(id)a0 snippetDbPath:(id)a1 isEphemeral:(BOOL)a2 executeJournals:(BOOL)a3;
+ (void)deletePreparedSqlStoreInMemory;
+ (void)releaseInstanceAndWaitForDealloc:(id *)a0;
+ (id)_deserializeDateComponents:(id)a0;
+ (id)sqlStoreInMemory;
+ (id)storeWithDefaultLocationAndExecuteJournals:(BOOL)a0;
+ (id)_serializeDate:(id)a0;
+ (BOOL)contactContainsEphemeralId:(id)a0;
+ (id)escapeLike:(id)a0;
+ (void)prepareSqlStoreInMemory;
+ (BOOL)pathHasFutureDbSchema:(id)a0;
+ (id)cnContactIdentifiersSpotlightQueryStringForContact:(id)a0;
+ (id)_recreateCorruptDatabase:(id)a0 sharedLock:(id)a1 withProtection:(BOOL)a2;

- (BOOL)migrationNeeded;
- (id)selectEntityQuery:(id)a0;
- (void)setHasFullSync;
- (void)searchableIndex:(id)a0 reindexAllSearchableItemsWithAcknowledgementHandler:(id /* block */)a1;
- (void)vacuum;
- (BOOL)areSubModelsEmpty;
- (id)getReminder:(long long)a0;
- (id)loadInterdicts;
- (id)displayableEntities:(id)a0;
- (void)stopJournaling;
- (long long)migrate;
- (id)batch:(id /* block */)a0;
- (long long)commitTag:(id)a0;
- (BOOL)trimURLs;
- (id)subModelsStats;
- (long long)commitEvent:(id)a0;
- (long long)migrateDatabases;
- (void)setDoubleNSNumber:(id)a0 forKey:(id)a1;
- (void)writeSerializedContactPlaceholder:(long long)a0;
- (id)sgmiFeatureStore;
- (BOOL)historyHasContact:(id)a0;
- (long long)updateSaliency:(long long)a0 saliency:(id)a1;
- (void)_writeFTSTermsForEnrichment:(id)a0 entityId:(long long)a1;
- (void)searchableIndex:(id)a0 reindexSearchableItemsWithIdentifiers:(id)a1 acknowledgementHandler:(id /* block */)a2;
- (long long)migration_newContactDetailsSchema;
- (id)reminderEntityIdForPrimaryKey:(long long)a0;
- (void)clearCaches;
- (id)loadSerializedContactForId:(long long)a0;
- (BOOL)contactIsSignificantOrSignificanceIsDisabled:(id)a0 usingCoreRecents:(BOOL)a1;
- (id)loadReminderByKey:(id)a0;
- (void)unsafeMigrateToVersionForTesting:(unsigned long long)a0;
- (long long)migration_deleteNilDateEvents;
- (BOOL)rejectRealtimeEvent:(id)a0 error:(id *)a1;
- (id)allPseudoContacts;
- (void)deleteCompletedReimportRequests;
- (id)_rankSGContacts:(id)a0 bySimilarityToContact:(id)a1;
- (void)_removeCorruptionMarker;
- (void)pruneLostMessagesWithSource:(id)a0 count:(unsigned long long)a1;
- (id)getNewBlobsIfChanged;
- (id)masterEntityIDsForMasterEntityQuery:(id)a0 bindings:(id /* block */)a1;
- (void)_markRecordsLostIfNoSpotlightReferences:(id)a0;
- (void)setSerializedContactsLimit:(unsigned long long)a0;
- (void)closeDatabases;
- (id)sortedSaliencyResultsRestrictedToMailboxTypes:(id)a0 mailboxIds:(id)a1 receivedOnOrAfter:(id)a2 ascending:(BOOL)a3 limit:(unsigned long long)a4;
- (id)suggestContactMatchesBySocialProfile:(id)a0 isMaybe:(BOOL)a1 onlySignificant:(BOOL)a2;
- (float)_scoreContactDetail:(id)a0;
- (void)writeCNContactMatchAndUpdateSetForContact:(id)a0 withMatches:(id)a1 andMaxEntityId:(long long)a2;
- (long long)entityTypeFromIdentityKeyType:(unsigned long long)a0;
- (BOOL)rejectEventByRecordId:(id)a0 error:(id *)a1;
- (void)_addLocations:(id)a0 toEntityWriteDictionary:(id)a1;
- (void)markLostSpotlightReferencesWithBundleIdentifier:(id)a0 uniqueIdentifiers:(id)a1;
- (void)_reportDbStatsBackground;
- (long long)migration_deleteLegacyMessages;
- (id)entityKeyCountsForEntityType:(long long)a0 startDate:(id)a1 endDate:(id)a2;
- (BOOL)_shouldContinueReindex:(int)a0;
- (BOOL)eventIsCancelled:(id)a0;
- (void)registerCachePrecomputationWithCTS;
- (id)_filterOutCancelledEvents:(id)a0;
- (BOOL)performIntegrityCheckOnly;
- (void)dealloc;
- (void)deleteSpotlightReferencesWithBundleIdentifier:(id)a0 domainIdentifiers:(id)a1;
- (id)_popMergeBlobForAnalysis;
- (id)journal;
- (void)_writeContactDetails:(id)a0;
- (BOOL)corruptionMarkerPresent;
- (void)markReimportItemAsSeenByReceiverWithBundleId:(id)a0 uniqueId:(id)a1;
- (void)markMailIntelligenceStagedLogsAsLoggedAndClearLogPayloadForMessageId:(id)a0;
- (void)_addStringToNoContactsCache:(id)a0;
- (id)suggestContactMatchesByContactDetailTag:(id)a0 matchType:(long long)a1;
- (id)_deserializeRange:(id)a0;
- (id)domainIdentifierForSpotlightReferenceForBundleIdentifier:(id)a0 uniqueIdentifier:(id)a1;
- (id)snippetsDbHandleForTesting;
- (id)getForKey:(id)a0 binder:(id /* block */)a1;
- (void)updateMessages:(id)a0 state:(unsigned long long)a1;
- (void)writeEmailVerificationResultForEmailWithKey:(id)a0 eventEntities:(id)a1;
- (id)loadMessagesToRefresh;
- (BOOL)reminderAlarmTriggeredForStorageReminder:(id)a0 error:(id *)a1;
- (BOOL)deleteURLsFromBundleIdentifier:(id)a0;
- (long long)runQueries:(id)a0 forVersion:(unsigned int)a1 inTransactionOnDb:(id)a2;
- (id)getViolationsToTokenCountsPolicy:(id)a0;
- (id)allDeliveriesWithLimit:(unsigned long long)a0;
- (void)clearChangeHistory:(id)a0;
- (void)markMessagesLost:(id)a0;
- (long long)migration_AddNewishTablesIfMissing;
- (void)registerSentTextMessage:(id)a0;
- (void)analyzeMergeBlobs:(id)a0;
- (BOOL)rejectReminderByKey:(id)a0 error:(id *)a1;
- (id)suggestContactMatchesByEmailAddress:(id)a0 isMaybe:(BOOL)a1 onlySignificant:(BOOL)a2;
- (void)_slowCopyFromTable:(id)a0 toTable:(id)a1 startingAtEntityId:(unsigned long long)a2;
- (BOOL)writeURL:(id)a0;
- (id)duplicateKeysMatchingAnyEventHash:(id)a0;
- (long long)migration_newRemindersSchema;
- (void)setMailIntelligenceStagedLogs:(id)a0 forMessageId:(id)a1;
- (unsigned long long)storeReimportRequest:(id)a0;
- (id)suggestContactsWithPrefix:(id)a0 limitTo:(unsigned long long)a1;
- (BOOL)rebuildIdentityTables;
- (void)insertEventTagsAndLocations:(id)a0 primaryKey:(long long)a1;
- (id)loadReminderByRecordIdOld:(id)a0;
- (id)suggestContactMatchesBySocialProfile:(id)a0;
- (void)_addIndexingTagsTo:(id)a0;
- (void)_contactIdsForContactDetailMatches:(id)a0 detailContactIds:(id)a1 socialProfileContactIds:(id)a2;
- (void)refreshSuggestionsContact:(id)a0;
- (id)_loadMessageByKey:(id)a0;
- (long long)insertSaliency:(id)a0;
- (id)columnQueryPrefixSelect;
- (id)curatedRecordIds;
- (void)deleteAllReimportRequestsOlderThanDate:(id)a0;
- (void)prepMigrator;
- (id)storageContactByKey:(id)a0;
- (id)storageLocationWithPrimaryKey:(long long)a0;
- (void)_joinIncompleteIdentityPhonesWithOthersOfTheirIlk:(id)a0 name:(id)a1 recordId:(id)a2;
- (unsigned long long)commitExtractionInfo:(id)a0;
- (id)naiveBayesModelQueryResultForFeature:(long long)a0 unigramTokens:(id)a1 bigramTokens:(id)a2;
- (id)loadEventForDuplicateKey:(id)a0;
- (id)_journalEntryFromEntity:(id)a0;
- (void)analyzeDatabase;
- (id)languageToUpdateEntityFTSTo;
- (void)deleteMailIntelligenceForMessageIds:(id)a0;
- (id)_recordIdsFromRemovingSpotlightReferencesWithBundleIdentifier:(id)a0 uniqueIdentifiers:(id)a1;
- (id)duplicateKeysFromMailMessageKeys:(id)a0;
- (void)setInt64NSNumber:(id)a0 forKey:(id)a1;
- (void)setValue:(id)a0 forKey:(id)a1 binder:(id /* block */)a2;
- (long long)migration_FixupMergeGroups;
- (id)loadEventByRecordId:(id)a0;
- (id)getReminderWithRecordId:(id)a0;
- (id)getUnsubscriptionOpportunitiesSuggestionsDenyListForField:(long long)a0;
- (void)_emitChangeNotifications:(id)a0;
- (long long)insertEvent:(id)a0;
- (void)_deleteOrphanedItems;
- (id)getAllLinks;
- (long long)migration_deleteInternalExtractionsFromML;
- (BOOL)confirmReminderByRecordId:(id)a0 error:(id *)a1;
- (id)eventFromSqlResult:(struct sqlite3_stmt { } *)a0;
- (long long)unmigrateDatabases;
- (id)messageIdsForBundleIdentifier:(id)a0 domainIdentifierGlobs:(id)a1 limit:(unsigned long long)a2;
- (BOOL)confirmRealtimeEvent:(id)a0 error:(id *)a1;
- (id)loadExtractionInfoForPrimaryKey:(long long)a0;
- (id)computeBlobs;
- (id)cnContactMatchesForRecordId:(id)a0 found:(BOOL *)a1;
- (id)reminderSourceKeyForDuplicateKey:(id)a0;
- (id)loadUnseenReimportItemsForRequest:(unsigned long long)a0;
- (void)deleteItemsWithEntityTag:(id)a0 preserveEventConfirmationHistory:(BOOL)a1;
- (void)_writeLabeledBlobs:(id)a0 deletedMasterEntityIds:(id)a1;
- (void)storeStatsCounterWithKey:(id)a0 value:(double)a1;
- (void)writeCNContactMatchForContact:(id)a0 withMatches:(id)a1 andMaxEntityId:(long long)a2;
- (id)childrenFromParentKey:(id)a0;
- (long long)migration_addAppleMailMessageIdToEvents;
- (id)suggestContactByRecordId:(id)a0 withSnippets:(BOOL)a1 filterConfirmRejectDetails:(BOOL)a2;
- (void)_contentWriteEnrichmentToDb:(id)a0;
- (id)_filterOutAllButAcceptedWithUpdatedFields:(id)a0;
- (void)clearNoContactsCache;
- (id)loadContactDetailsForRecordId:(id)a0 type:(unsigned long long)a1;
- (BOOL)_createEntityFTSTableWithName:(id)a0;
- (struct _PASDBIterAction_ { BOOL x0; })_processContactMatchWithContacts:(id)a0 matches:(id)a1 limit:(long long)a2 masterEntityId:(id)a3 detailEntityId:(id)a4 contactEntityId:(id)a5 matchinfoData:(id)a6 tokens:(id)a7 requireName:(BOOL)a8;
- (BOOL)_runInitMigrationTasks:(id)a0 noMigrate:(BOOL)a1;
- (BOOL)confirmStoredEvent:(id)a0 error:(id *)a1;
- (id)dbHandleForTesting;
- (BOOL)mayHaveSentMessageToHandle:(id)a0;
- (id)_queryForAllContactsWithLimit;
- (BOOL)_isIdentityStoreDirty;
- (void)_clearPendingJobs;
- (id)_queryForAllContactsWithExtractionDates;
- (long long)commitStorageLocation:(id)a0 withEventId:(long long)a1;
- (unsigned long long)_minEntityIdFromMinEntityId:(unsigned long long)a0 withContactIdentifiers:(id)a1;
- (void)_deleteOldInteractionContactDetails:(id)a0 currentIdentifiers:(id)a1;
- (id)entityFromSqlResult:(struct sqlite3_stmt { } *)a0 withSnippets:(BOOL)a1;
- (void)addSpotlightReferenceToEmailRecordId:(id)a0 withBundleIdentifier:(id)a1 uniqueIdentifier:(id)a2 domainIdentifier:(id)a3;
- (void)deleteInteractionsWithBundleId:(id)a0;
- (id)loadEntityByKey:(id)a0;
- (long long)migration_CreateFTSTableWithITS;
- (void)pruneReminders;
- (id)reimportRequestDBStats;
- (void)deleteAllCNContactMatches;
- (id)filterOutUndisplayableEntities:(id)a0;
- (id)suggestEventsStartingAt:(struct SGUnixTimestamp_ { double x0; })a0 endingAt:(struct SGUnixTimestamp_ { double x0; })a1 limitTo:(unsigned long long)a2;
- (void)writeTombstoneForSpotlightReferenceWithBundleIdentifier:(id)a0;
- (BOOL)anyHandleIsSignificant:(id)a0;
- (long long)commitStorageReminder:(id)a0;
- (BOOL)databasecheck_contactMergeGroupConsistency;
- (id)loadOriginByRecordId:(id)a0;
- (void)_hashAttachedPseudoContacts:(id)a0;
- (void)_linkNamelessPhonesIfAppropriate:(struct graph_t { unsigned int x0; unsigned int x1; struct _vertex_t *x2; } *)a0 nameToVertex:(id)a1 disjointSets:(struct DisjointSetHandle { } *)a2 edges:(id)a3;
- (long long)migrateToVersion:(unsigned long long)a0;
- (void)_deleteContactDetailsByRecordIds:(id)a0;
- (id)reminderDuplicateKeyForEntityId:(id)a0;
- (void)setParentMessagesLimitForTesting:(unsigned long long)a0;
- (BOOL)_prepareToCopyFrom:(id)a0 toNewTableNamed:(id)a1;
- (id)allRemindersLimitedTo:(unsigned long long)a0;
- (void)clearAllTombstonesForSpotlightReferencesIf:(id /* block */)a0;
- (void)_markIdentityStoreClean;
- (void)_markIdentityStoreDirty;
- (id)_loadReimportRequestsWithWhereClause:(id)a0;
- (long long)skipFromZeroSchema;
- (void)writeTombstoneForSpotlightReferenceWithBundleIdentifier:(id)a0 domainIdentifiers:(id)a1;
- (void)_addTimeRange:(id)a0 toEntityWriteDictionary:(id)a1;
- (long long)commitContactDetail:(id)a0;
- (id)duplicateKeysMatchingInteractionBundleId:(id)a0 andTags:(id)a1;
- (void)initRefreshSuggestionsContactDropBox;
- (void)setNSDate:(id)a0 forKey:(id)a1;
- (id)suggestContactMatchesByEmailAddress:(id)a0;
- (void)pruneEntitiesOlderThan:(struct SGUnixTimestamp_ { double x0; })a0 suspensionHandler:(id /* block */)a1;
- (id)loadEventForPrimaryKey:(long long)a0;
- (void)pruneNLEventEntitiesOlderThanTwoWeeks;
- (id)suggestContactMatchesByContactDetailTag:(id)a0;
- (void)incrementInt64NSNumber:(id)a0 forKey:(id)a1;
- (BOOL)_tombstoneExistsForBundleIdentifier:(id)a0;
- (id)loadEventsWithInteractionIdentifiers:(id)a0 fromBundleIdentifier:(id)a1;
- (BOOL)_isBlobAnalysisQueueEmpty;
- (void)_writeEnrichmentToSnippetsDb:(id)a0;
- (BOOL)databasecheck_IntegrityCheck;
- (long long)fixupVersionMismatch;
- (id)prematchedContactIdentifiers;
- (void)storeReimportItems:(id)a0 requestId:(unsigned long long)a1;
- (id)suggestContactMatchesWithMessagingPrefix:(id)a0 limitTo:(unsigned long long)a1;
- (id)_contactForMasterEntityId:(id)a0 withSnippets:(BOOL)a1 filterConfirmRejectDetails:(BOOL)a2;
- (long long)commitSaliency:(id)a0;
- (unsigned long long)entityCount;
- (BOOL)confirmRealtimeContact:(id)a0 error:(id *)a1;
- (id)mostRecentParentKeyForDuplicateKey:(id)a0;
- (void)_writeReminderEntitiesToJournal:(id)a0;
- (BOOL)registerAndLinkIdentity:(id)a0 recordId:(id)a1 phones:(id)a2 socialProfiles:(id)a3 email:(id)a4 curated:(BOOL)a5 isSent:(BOOL)a6;
- (id)_serializeRange:(id)a0;
- (id)_deleteChildEntitiesByRecordIdsInTable:(id)a0;
- (void)bindStatementsForCommit:(id)a0 storageEvent:(id)a1;
- (long long)migration_RemoveEntityReferencesWithoutBundleIdentifier;
- (id)loadEntityByRecordId:(id)a0;
- (void)resolveFullDownloadRequests:(id)a0;
- (void)startJournaling;
- (long long)_writeMessageEntityToDb:(id)a0;
- (id)dumpTables:(id)a0 columns:(id)a1;
- (void)logConfirmPercentAfterContactDetailConfirmation;
- (void)logConfirmPercentAfterContactRejection;
- (BOOL)registerAndLinkIdentity:(id)a0 recordId:(id)a1 phones:(id)a2 socialProfiles:(id)a3 email:(id)a4 curated:(BOOL)a5;
- (void)registerSentMailMessage:(id)a0;
- (id)contactDetailEntityIdForDuplicateKey:(id)a0;
- (long long)migration_rebuildFTSWithDetailEntityIDDocIDs;
- (long long)contactMatchedRecordTypeFromEntityType:(long long)a0;
- (id)suggestContactByIdentityKey:(id)a0 parentKey:(id)a1;
- (id)suggestContactByKey:(id)a0;
- (long long)contactDetailPrimaryKeyForDuplicateKey:(id)a0;
- (id)getNSStringForKey:(id)a0;
- (id)rejectFieldValuesForRecordId:(id)a0;
- (id)sortedUnsubscriptionOpportunitiesForField:(long long)a0 minCount:(unsigned long long)a1 minScore:(double)a2 limit:(unsigned long long)a3;
- (void)writeTombstoneForSpotlightReferenceWithBundleIdentifier:(id)a0 uniqueIdentifiers:(id)a1;
- (id)messageIdsForBundleIdentifier:(id)a0 uniqueIdentifiers:(id)a1;
- (BOOL)rejectContactByRecordID:(id)a0 error:(id *)a1;
- (id)splitBlob:(id)a0 withInterdicts:(id)a1 edges:(id)a2 curatedRecordIds:(id)a3;
- (void)writeSerializedContact:(id)a0;
- (BOOL)reminderAlarmTriggeredForRecordId:(id)a0 error:(id *)a1;
- (BOOL)isRecentlyDeleted:(id)a0;
- (id)urlsFoundBetweenStartDate:(id)a0 endDate:(id)a1 excludingBundleIdentifiers:(id)a2 containingSubstring:(id)a3 flagFilter:(unsigned char)a4 limit:(long long)a5;
- (void)_contactIdsForContactNameMatches:(id)a0 strongNameIds:(id)a1 weakNameIds:(id)a2;
- (void)_writeEntityParentageFor:(id)a0 entityId:(long long)a1;
- (void)commitNaiveBayesModel:(id)a0 probabilityFeatureName:(long long)a1 updateDate:(id)a2;
- (BOOL)reimportRequestsContainBundleIdentifier:(id)a0 uniqueIdentifier:(id)a1;
- (id)suggestContactsByMasterEntityQuery:(id)a0 limit:(unsigned long long)a1 bindings:(id /* block */)a2;
- (long long)updateEvent:(id)a0 primaryKey:(long long)a1;
- (id)contactsWithIdentifiers:(id)a0;
- (id)allContactsWithSnippets:(BOOL)a0 limitTo:(unsigned long long)a1;
- (void)clearAllTables;
- (void)logConfirmPercentAfterContactDetailRejection;
- (long long)migration_deleteSerializedContacts;
- (BOOL)needsFullSync;
- (id)_contactsForMasterEntityIds:(id)a0 withSnippets:(BOOL)a1;
- (id)loadEventByKeyForOldCodePathTesting:(id)a0;
- (void)reportDbStats;
- (id)dbStats;
- (void)forceBlobSync;
- (id)entityFromSqlResult:(struct sqlite3_stmt { } *)a0;
- (id)loadContactDetailsWithWhereClause:(id)a0 onPrep:(id /* block */)a1 type:(unsigned long long)a2 dedupeAgainst:(id)a3 recordId:(id)a4;
- (void)selectAuthoritativeDetailsForContactWithId:(long long)a0;
- (id)_journalEntryFromReminderEntity:(id)a0;
- (void)updateLanguageForFTSTablesToLanguage:(id)a0;
- (id)loadAllContactDetailsFromTableForRecordId:(id)a0;
- (id)_derefChildrenOf:(id)a0;
- (BOOL)registerURLFeedback:(unsigned char)a0 absoluteURL:(id)a1;
- (void)setAllMailIntelligenceAsNotSalient;
- (id)loadReminderByKeyOld:(id)a0;
- (BOOL)_isStringInNoContactsCache:(id)a0;
- (void)logConfirmPercentAfterContactConfirmation;
- (id)suggestEventsStartingAt:(struct SGUnixTimestamp_ { double x0; })a0 endingAt:(struct SGUnixTimestamp_ { double x0; })a1 limitTo:(unsigned long long)a2 additionalWhereClause:(id)a3 options:(unsigned int)a4 onPrep:(id /* block */)a5;
- (id)loadFullDownloadRequestBatch:(unsigned long long)a0;
- (id)confirmedFieldValuesForEvent:(id)a0;
- (unsigned long long)serializedContactsLimit;
- (long long)migration_AddAuthorColumnIfMissing;
- (long long)migration_RebuildIdentityTables;
- (void)pruneEntitiesOlderThanOneYearWithSuspensionHandler:(id /* block */)a0;
- (BOOL)rejectContactDetailByRecordID:(id)a0 error:(id *)a1;
- (void)_joinIncompleteIdentityEmailWithOthersOfItsIlk:(id)a0 name:(id)a1 recordId:(id)a2;
- (void)setNSString:(id)a0 forKey:(id)a1;
- (long long)_writeEnrichmentToDb:(id)a0;
- (id)topSalienciesForMailboxId:(id)a0 limit:(long long)a1;
- (void)truncateContactDetailTable;
- (void)tryExecuteSnippetsJournal;
- (id)loadStorageContactByRecordId:(id)a0 error:(id *)a1;
- (id)getDoubleNSNumberForKey:(id)a0;
- (id)nextPendingGeocode;
- (id)selectMigrationQueue;
- (id)urlsFoundBetweenStartDate:(id)a0 endDate:(id)a1 bundleIdentifier:(id)a2;
- (void)deleteSpotlightReferencesWithBundleIdentifier:(id)a0 uniqueIdentifiers:(id)a1;
- (long long)_writeOneEntityToDb:(id)a0;
- (id)suggestContactsWithContact:(id)a0 withSnippets:(BOOL)a1 filterConfirmRejectDetails:(BOOL)a2 limitTo:(unsigned long long)a3;
- (void)removeStringFromNoContactsCache:(id)a0;
- (BOOL)tombstoneExistsForSpotlightReferenceWithBundleIdentifier:(id)a0 uniqueIdentifier:(id)a1 domainIdentifier:(id)a2;
- (double)_scoreSGContact:(id)a0 bySimilarityToContact:(id)a1 cnContactFullname:(id)a2;
- (void)clearMailIntelligence;
- (id)contactIdsMergedWithMasterEntityId:(id)a0;
- (BOOL)confirmEventByRecordId:(id)a0 error:(id *)a1;
- (id)normalizeHandleForRecipientFilterAndRemoveFromDetailsCache:(id)a0;
- (id)loadEventForRecordId:(id)a0;
- (void)pruneEntitiesOlderThan:(struct SGUnixTimestamp_ { double x0; })a0 suspensionHandler:(id /* block */)a1 batchSize:(unsigned long long)a2;
- (void)_writeEventEntitiesToJournal:(id)a0;
- (BOOL)mayHaveSentMessageToEmail:(id)a0;
- (long long)clearDatabase:(id)a0;
- (void)deleteAllCNContactMatchesForIdSet:(id)a0;
- (BOOL)hasSpotlightReferenceForBundleIdentifier:(id)a0 uniqueIdentifier:(id)a1;
- (id)suggestEventsStartingAt:(struct SGUnixTimestamp_ { double x0; })a0 endingAt:(struct SGUnixTimestamp_ { double x0; })a1 limitTo:(unsigned long long)a2 options:(unsigned int)a3;
- (id)getSGMIStoredAddresses;
- (BOOL)trimURLTableDownToLimit:(long long)a0 deletionCount:(long long *)a1;
- (id)unmergedCandidatesLimitedTo:(int)a0;
- (void)syncContactsWithStore:(id)a0;
- (long long)migration_reimport;
- (void)writeSerializedContactAndUpdateEntityIDSet:(id)a0;
- (void)_writeMergeBlobSnapshotForAnalysis:(id)a0;
- (void)deleteMessagesByDuplicateKey:(id)a0;
- (id)getReminderWithDuplicateKey:(id)a0;
- (void)_prunePseudoContactGeneratingEmails:(id)a0;
- (id)messageIdForBundleIdentifier:(id)a0 uniqueIdentifier:(id)a1;
- (BOOL)deleteURLsOlderThanDate:(id)a0 deletionCount:(long long *)a1;
- (id)loadEntitiesFoundInEmail:(id)a0 entityType:(long long)a1;
- (id)loadAllContactDetailsForRecordId:(id)a0;
- (id)loadSourceKeyByRecordId:(id)a0;
- (long long)migration_newEventsSchema;
- (long long)contactMatchedRecordTypeFromIdentityKeyType:(unsigned long long)a0;
- (void)deleteInteractionEntitiesExceedingLimit:(id)a0 withSuspensionHandler:(id /* block */)a1;
- (id)initForRawDatabaseAccessWithEntityPath:(id)a0 snippetsPath:(id)a1 error:(id *)a2;
- (id)suggestEventsStartingAt:(struct SGUnixTimestamp_ { double x0; })a0 endingAt:(struct SGUnixTimestamp_ { double x0; })a1 prefix:(id)a2 limitTo:(unsigned long long)a3;
- (id)loadStorageContactByRecordId:(id)a0;
- (long long)checkExistsSaliencyForMessageId:(id)a0;
- (BOOL)confirmContactDetailByRecordID:(id)a0 error:(id *)a1;
- (id)duplicateKeysMatchingAnyTag:(id)a0;
- (id)_selectingDomainsForDomainIdentifier:(id)a0;
- (BOOL)rejectReminderByRecordId:(id)a0 error:(id *)a1;
- (id)recordIdForKey:(id)a0;
- (BOOL)rejectRealtimeContact:(id)a0 error:(id *)a1;
- (long long)runQuery:(id)a0 onDb:(id)a1;
- (id)duplicateKeysMatchingAnyReminderHash:(id)a0;
- (id)getInt64NSNumberForKey:(id)a0;
- (id)loadTagForPrimaryKey:(long long)a0;
- (long long)migration_DropMessagingTermsWithPhoneExtensions;
- (id)loadAllPrecomputedContactMatches;
- (void).cxx_destruct;
- (void)deleteValueForKey:(id)a0;
- (id)makeInterdictsForBlob:(id)a0 withContactStore:(id)a1;
- (id)_computePseudoContactContentHash:(id)a0 contactDetails:(id)a1;
- (void)clearMailIntelligenceSaliencyDetection;
- (id)_popBatchOfCNContactIds;
- (BOOL)_processBatchOfSerializedContactJobs;
- (void)_fullSyncContactsWithStore:(id)a0;
- (BOOL)clearDatabases;
- (BOOL)_analyzeMergeBlobsIncremental:(id)a0;
- (id)loadAllSerializedContacts;
- (void)_writeEventEntityToJournal:(id)a0;
- (long long)configureMigratorThenMigrateToVersion:(unsigned long long)a0;
- (long long)migration_deleteInteractions;
- (void)_emitChangeNotificationForEnrichment:(id)a0;
- (id)spotlightUniqueIdentifierForBundleIdentifier:(id)a0 messageId:(id)a1;
- (id)suggestEventsStartingAt:(struct SGUnixTimestamp_ { double x0; })a0 endingAt:(struct SGUnixTimestamp_ { double x0; })a1 prefix:(id)a2 limitTo:(unsigned long long)a3 options:(unsigned int)a4;
- (struct _PASDBIterAction_ { BOOL x0; })_updateURLs:(id)a0 stmt:(id)a1;
- (void)_trimSerializedContacts;
- (void)deleteTokensForDeletedEmailAddresses:(id)a0;
- (void)_logConfirmPercentWithConfirmCount:(double)a0 rejectCount:(double)a1 domain:(id)a2 suffix:(id)a3;
- (id)loadEntitiesByEntityKey:(id)a0 entityType:(long long)a1 resolveDuplicates:(id /* block */)a2;
- (void)clearSaliencyTable;
- (BOOL)contactIsSignificantOrSignificanceIsDisabled:(id)a0;
- (void)_writeMessageEntityToSnippetsDb:(id)a0;
- (void)pruneDuplicateEventExtractions:(id)a0;
- (void)addInterdictFrom:(id)a0 with:(id)a1;
- (long long)commitStorageLocation:(id)a0;
- (long long)writeEntity:(id)a0 withSpotlightReferenceForBundleIdentifier:(id)a1 uniqueIdentifier:(id)a2 domainIdentifier:(id)a3;
- (long long)checkExistsEventForDuplicateKey:(id)a0;
- (void)commitNaiveBayesModel:(id)a0 probabilityFeatureName:(long long)a1;
- (BOOL)realtimeContactIsSignificant:(id)a0;
- (void)_enumerateContactsForMasterEntityIds:(id)a0 withSnippets:(BOOL)a1 usingBlock:(id /* block */)a2;
- (id)sortedUnsubscriptionOpportunitiesForField:(long long)a0 limit:(unsigned long long)a1;
- (BOOL)syncNewBlobsIfChanged;
- (BOOL)addSpotlightReferenceToEmailIfFullyDownloaded:(id)a0 withBundleIdentifier:(id)a1 uniqueIdentifier:(id)a2 domainIdentifier:(id)a3;
- (void)deleteSpotlightReferencesWithBundleIdentifier:(id)a0;
- (void)pruneMailIntelligenceOlderThanOneYearWithSuspensionHandler:(id /* block */)a0;
- (id)allEntitiesOfType:(long long)a0 limitedTo:(unsigned long long)a1 onlyMLExtractions:(BOOL)a2;
- (void)setMalformedEventWhenRangeForTesting;
- (id)loadStatsCounterWithKey:(id)a0;
- (id)loadContactForStorageContact:(id)a0 usingSerializedContactCache:(BOOL)a1;
- (BOOL)anyEmailAddressIsSignificant:(id)a0;
- (void)preventUnsubscriptionOpportunitiesSuggestionsForField:(long long)a0 toValues:(id)a1;
- (long long)migration_ConvertContentAndDupKeyHashesToBlobs;
- (void)writeTombstoneForSpotlightReferenceWithBundleIdentifier:(id)a0 domainIdentifier:(id)a1;
- (void)addDeallocNotification:(id /* block */)a0;
- (id)getNSDateForKey:(id)a0;
- (void)markReimportRequestAsExecutedWithRequestId:(unsigned long long)a0;
- (long long)migration_FixUpColumnsForDevicesWhoMissedTheImprovedLegacyMigration;
- (id)allContactsMasterEntityIdsLimitedTo:(unsigned long long)a0;
- (void)_deleteIfNoSpotlightReferences:(id)a0 addToRecentlyDeletedCache:(BOOL)a1;
- (void)setLostMessageOverflow:(unsigned long long)a0;
- (void)writeInteractionEventEntities:(id)a0;
- (id)loadAllContactDetailsFromTableForRecordId:(id)a0 type:(unsigned long long)a1;
- (BOOL)entityWantsFullDownload:(id)a0;
- (id)masterEntityIdForContactOrContactDetailRecord:(id)a0;
- (BOOL)confirmContactByRecordID:(id)a0 error:(id *)a1;
- (BOOL)realtimeContactIsSignificantOrSignificanceIsDisabled:(id)a0;
- (id)suggestContactMatchesByPhoneNumber:(id)a0;
- (id)loadAllReimportRequests;
- (id)uniqueIdentifierForMessageId:(id)a0;
- (void)_deltaSyncContactsWithChangeHistory:(id)a0;
- (void)_joinIncompleteIdentitySocialProfilesWithOthersOfTheirIlk:(id)a0 name:(id)a1 recordId:(id)a2;
- (id)_matchableUTF8TokenRangesInMatchExpression:(id)a0;
- (id)duplicateKeysFromRecordIds:(id)a0;
- (id)saliencyForMessageId:(id)a0;
- (id)storageContactByRecordId:(id)a0 withSnippets:(BOOL)a1;
- (id)suggestContactMatchesByType:(long long)a0 searchString:(id)a1 isMaybe:(BOOL)a2 onlySignificant:(BOOL)a3;
- (long long)migration_MoveContentToSnippets;
- (void)_dumpTable:(id)a0 columns:(id)a1 limitTo:(int)a2;
- (id)_duplicateKeysWithZeroSpotlightReferencesFromRecordIds:(id)a0;
- (void)deleteNaiveBayesModelForProbabilityFeatureName:(long long)a0;
- (id)mailIntelligenceStagedLogsForMessageId:(id)a0;
- (id)storageContactByMasterEntityId:(long long)a0 withSnippets:(BOOL)a1;
- (void)deleteInteractionsWithBundleId:(id)a0 identifiers:(id)a1;
- (void)removeSnippetsForEntities:(id)a0;
- (void)deleteInteractionsWithBundleId:(id)a0 groupIdentifiers:(id)a1;
- (void)_recordPseudoContactsWithDeletedDetailsInTable:(id)a0 deletedChildrenTable:(id)a1;
- (id)_filterOutOlderVersionsOfPseudoEvents:(id)a0;
- (long long)commitSpotlightMapping:(id)a0 bundleIdentifier:(id)a1 domainIdentifier:(id)a2 uniqueIdentifier:(id)a3;
- (id)loadEventByDuplicateKey:(id)a0;
- (id)loadUnexecutedReimportRequests;
- (long long)migration_deleteEmergencyExtractions;
- (BOOL)recentsContainSomeOfEmails:(id)a0 phoneNumbers:(id)a1 instantMessageAddresses:(id)a2;
- (long long)writeEnrichment:(id)a0;
- (void)writeTombstoneForSpotlightReferenceWithBundleIdentifier:(id)a0 uniqueIdentifier:(id)a1;
- (void)filterOutRejectedDetailsFromContact:(id)a0;
- (void)deleteSpotlightReferencesWithNoBundleIdentifier;
- (long long)migration_separateMessageSnippets;
- (id)reminderOriginForPrimaryKey:(long long)a0;
- (id)suggestContactMatchesByPhoneNumber:(id)a0 isMaybe:(BOOL)a1 onlySignificant:(BOOL)a2;
- (BOOL)processPseudoContactEntity:(id)a0 recordId:(id)a1;
- (id)allContactsWithEntityType:(unsigned long long)a0;
- (id)reminderEntityIdForDuplicateKey:(id)a0;
- (void)setAllMailIntelligenceAsSalient;
- (BOOL)contactIsSignificant:(id)a0;
- (void)deleteEntitiesByDuplicateKey:(id)a0 emitChangeNotifications:(BOOL)a1;
- (void)deleteSerializedContactsForIdSet:(id)a0;
- (void)link:(id)a0 to:(id)a1 type:(unsigned int)a2 strength:(double)a3;
- (id)loadCNContactMatchesForContact:(id)a0 andGetMaxEntityId:(long long *)a1;
- (BOOL)_renameTable:(id)a0 to:(id)a1;
- (void)purgeTokensWhichLastUpdateWasBefore:(id)a0;
- (void)enumerateAllContactsWithExtractionStartDate:(id)a0 extractionEndDate:(id)a1 withSnippets:(BOOL)a2 limitTo:(unsigned long long)a3 usingBlock:(id /* block */)a4;
- (BOOL)deleteURLsFromBundleIdentifier:(id)a0 groupIdentifierGlobs:(id)a1;
- (void)deleteCNContactMatchForContactId:(id)a0;
- (id)_hashWithDuplicateKeysMatchingTags:(id)a0;
- (void)deleteSerializedContactForId:(long long)a0;
- (id)_loadIdentityBlobs;
- (void)writeCNContactMissForRecordId:(id)a0;
- (void)deleteMessages:(id)a0;
- (id)confirmedFieldValuesForEntity:(id)a0;
- (BOOL)rejectStoredReminder:(id)a0 error:(id *)a1;
- (double)incStatsCounterWithKey:(id)a0 byValue:(double)a1;
- (id)allContactsWithExtractionStartDate:(id)a0 extractionEndDate:(id)a1;
- (BOOL)confirmStoredReminder:(id)a0 error:(id *)a1;
- (void)deleteAllCNContactMatchesForEntityID:(long long)a0;
- (id)suggestContactByRecordId:(id)a0;
- (id)loadDuplicateKeyByRecordId:(id)a0;
- (void)updateCNContactMatches:(id)a0;
- (id)allEntitiesOfType:(long long)a0 limitedTo:(unsigned long long)a1;
- (id)historyForTesting;
- (id)loadAllContactDetailsWithWhereClause:(id)a0 onPrep:(id /* block */)a1 dedupeAgainst:(id)a2;
- (void)updateSerializedContacts:(id)a0;
- (void)markMessagesUndisplayablyLost:(id)a0;
- (void)_linkNamelessEmailsIfAppropriate:(struct graph_t { unsigned int x0; unsigned int x1; struct _vertex_t *x2; } *)a0 nameToVertex:(id)a1 disjointSets:(struct DisjointSetHandle { } *)a2 edges:(id)a3;
- (void)_linkNamelessSocialProfilesIfAppropriate:(struct graph_t { unsigned int x0; unsigned int x1; struct _vertex_t *x2; } *)a0 nameToVertex:(id)a1 disjointSets:(struct DisjointSetHandle { } *)a2 edges:(id)a3;
- (BOOL)performDatabaseCheck;
- (id)recentURLsWithLimit:(long long)a0;
- (void)deleteEntitiesByDuplicateKey:(id)a0 preserveEventConfirmationHistory:(BOOL)a1 emitChangeNotifications:(BOOL)a2;
- (id)loadUnqueriedReimportRequests;
- (unsigned long long)maxKnownDbVersion;
- (void)writeEntityGeocodeResultToDb:(id)a0;
- (long long)migration_DeduplicateIdentityPhones;
- (void)clearMasterEntityCache;
- (struct SGUnixTimestamp_ { double x0; })lastSeenTimestampForKey:(id)a0;
- (void)applyCappingPolicy:(id)a0 byDiscardingTokensCounts:(id)a1 withMargin:(float)a2;
- (void)setCRLookupForTesting:(id /* block */)a0;
- (id)suggestContactMatchesWithContact:(id)a0 limitTo:(unsigned long long)a1;
- (void)enumerateContactsByMasterEntityQuery:(id)a0 withSnippets:(BOOL)a1 limit:(unsigned long long)a2 bindings:(id /* block */)a3 usingBlock:(id /* block */)a4;
- (void)_addIndexingTagsToParent:(id)a0;
- (id)parentKeysForDuplicateKey:(id)a0;
- (void)_deleteRemindersByRecordIds:(id)a0;
- (BOOL)contactIsDisplayable:(id)a0;
- (id)emailsPendingVerification;
- (id)initForDbStatsOnlyWithError:(id *)a0;
- (long long)updateSaliencyCreationTimestampForTesting:(long long)a0 timestamp:(struct SGUnixTimestamp_ { double x0; })a1;
- (id)_contactIdForInteractionContactIdentifierMatch:(id)a0;
- (id)_deleteEntitiesByDuplicateKeyNoRecurse:(id)a0;
- (void)_deleteEventsByRecordIds:(id)a0;
- (long long)getMaxEntityId;
- (void)registerJournalUnlockHandler;
- (long long)reminderPrimaryKeyForEntityId:(id)a0;
- (id)_makeBlobsFromConnectedComponents:(id)a0 edges:(id)a1;
- (BOOL)confirm:(BOOL)a0 orRejectContactByRecordID:(id)a1 error:(id *)a2;
- (void)runWithWriteLockAcquired:(id /* block */)a0;
- (id)suggestContactsByMasterEntityQuery:(id)a0 withSnippets:(BOOL)a1 limit:(unsigned long long)a2 bindings:(id /* block */)a3;
- (void)deleteItemsWithEntityTag:(id)a0;
- (id)loadReminderByRecordId:(id)a0;
- (long long)migration_RecreateFTSTableWithITS;
- (id)_computeBlobsRaw:(id *)a0;
- (id)_deleteMessageMetadataByDuplicateKeyNoRecurse:(id)a0;
- (void)_enqueueBatchOfCNContactIds:(id)a0;
- (id)_labelIdentityBlobs:(id)a0;
- (id)_uniqueGoodDetailMatchFrom:(id)a0 toDetails:(id)a1 nonUnique:(BOOL *)a2;
- (BOOL)rejectStoredEvent:(id)a0 error:(id *)a1;
- (id)splitNeededFor:(id)a0 withInterdicts:(id)a1 curatedRecordIds:(id)a2;
- (void)_removeSnippetsForEmails:(id)a0;
- (BOOL)contactIsSignificant:(id)a0 usingCoreRecents:(BOOL)a1;
- (void)confirmFieldValues:(id)a0 forEntity:(id)a1;
- (void)pruneNLEventEntitiesOlderThan:(struct SGUnixTimestamp_ { double x0; })a0;
- (void)rebuildContactDetailsCacheWithShouldContinueBlock:(id /* block */)a0;
- (id)initForMigratorTestWithEntityDb:(id)a0 snippetDb:(id)a1;
- (void)enumerateAllContactsWithSnippets:(BOOL)a0 limitTo:(unsigned long long)a1 usingBlock:(id /* block */)a2;
- (void)bindCheckContactRow:(id)a0 isMe:(BOOL)a1;
- (BOOL)databasecheck_BrokenEntityIDReferences;
- (id)highlyDiscriminantTokensForFeature:(long long)a0 minCount:(unsigned long long)a1 minRatio:(double)a2;
- (id)messageIdsForBundleIdentifier:(id)a0 limit:(unsigned long long)a1;
- (void)writeIdentityBlobs:(id)a0 forceRewrite:(BOOL)a1;
- (void)markReimportItemsAsSeenByReceiverWithBundleId:(id)a0 items:(id)a1;
- (double)incStatsCounterWithKey:(id)a0;
- (long long)migration_separateMessageEntities;
- (void)_writeContactEntityToJournal:(id)a0;
- (id)batchOf:(unsigned long long)a0 contactsStartingAtEntityId:(unsigned long long)a1;
- (id)suggestContactMatchesWithFullTextSearch:(id)a0 limitTo:(unsigned long long)a1;
- (long long)writeEntity:(id)a0;
- (id)serializedEntityIds;
- (BOOL)deleteURLsFromBundleIdentifier:(id)a0 documentIdentifiers:(id)a1;
- (BOOL)processContactEnrichment:(id)a0 recordId:(id)a1;
- (void)deleteByRecordId:(id)a0;
- (void)updateReimportItemUniqueIdForBundleId:(id)a0 oldValue:(id)a1 newValue:(id)a2;
- (unsigned long long)numberOfRowsInTable:(id)a0;
- (long long)_popQueuedSerializedContactId;
- (void)handleDeviceLockStateEvent:(int)a0;
- (void)_enumerateContactsForMasterEntityIds:(id)a0 withSnippets:(BOOL)a1 filterConfirmRejectDetails:(BOOL)a2 usingBlock:(id /* block */)a3;
- (id)initWithEntityDbPath:(id)a0 snippetDbPath:(id)a1 isEphemeral:(BOOL)a2 sharedLock:(id)a3 executeJournals:(BOOL)a4 noMigrate:(BOOL)a5;
- (void)markEntityAsDupeByRecordId:(id)a0;
- (void)reindexSearchableItemsWithMinimumEntityId:(unsigned long long)a0 searchableIndex:(id)a1 acknowledgementHandler:(id /* block */)a2 reindexCount:(int)a3;
- (void)markMessagesFound:(id)a0;

@end