@class _PASNotificationToken, PETEventTracker2, SGSuggestHistory, SGFuture, NSDictionary, SGSqlEntityStore, SGDManagerForCTS, SGEKEventStoreProvider, SGCoalescingDropBox, NSString, _PASLock, CNContactStore, NSOperationQueue, SGServiceContext, SGSearchableItemIdTriple, NSXPCConnection, NSLock, SGXpcTransaction; @interface SGDSuggestManager : NSObject { SGSqlEntityStore *_harvestStore; NSXPCConnection *_connection; SGSuggestHistory *_history; _PASNotificationToken *_assetUpdateToken; NSOperationQueue *_messageHarvestQueue; SGDManagerForCTS *_ctsManager; SGEKEventStoreProvider *_ekStoreProvider; CNContactStore *_contactStore; NSDictionary *_bundleIdToPET; NSLock *_dirtyLock; SGXpcTransaction *_dirtyTransaction; SGSearchableItemIdTriple *_lastSuggestionsFromMessageRequest; SGFuture *_lastSuggestionsFromMessageResponse; NSLock *_lastSuggestionsFromMessageLock; int _settingsChangeToken; PETEventTracker2 *_pet2Tracker; SGCoalescingDropBox *_purgeDeletionDropBox; _PASLock *_recentlyHarvestedDetailLock; BOOL _keepRealtimeAsLost; _PASLock *_bufferedInteractionsForBundleLock; } @property (readonly, nonatomic) SGServiceContext *context; @property (readonly, nonatomic) NSString *clientName; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (id)requestCache; + (void)clearRequestCache; + (id)contactAggregator; + (BOOL)titleSuggestionForMessageFeatureEnabled; - (void)pingWithCompletion:(id /* block */)a0; - (void)resetConfirmationAndRejectionHistory:(id /* block */)a0; - (void)allEventsLimitedTo:(unsigned long long)a0 withCompletion:(id /* block */)a1; - (void)sortedUnsubscriptionOpportunitiesForField:(long long)a0 limit:(unsigned long long)a1 withCompletion:(id /* block */)a2; - (void)namesForDetail:(id)a0 limitTo:(unsigned long long)a1 prependMaybe:(BOOL)a2 onlySignificant:(BOOL)a3 withCompletion:(id /* block */)a4; - (void)reportUserEngagement:(BOOL)a0 forWarning:(id)a1 withCompletion:(id /* block */)a2; - (void)contactMatchesWithContactIdentifiers:(id)a0 limitTo:(unsigned long long)a1 withCompletion:(id /* block */)a2; - (void)saliencyFromRFC822Data:(id)a0 withCompletion:(id /* block */)a1; - (id)consumerName; - (void)saliencyFromEmailHeaders:(id)a0 withCompletion:(id /* block */)a1; - (id)consumeMessagesContentWithContext:(id)a0; - (void)suggestionsFromMessage:(id)a0 options:(unsigned long long)a1 fullCompletionHandler:(id /* block */)a2; - (void)confirmRealtimeReminder:(id)a0 completion:(id /* block */)a1; - (void)_performAction:(id)a0 onRecord:(id)a1 withParentConfirmation:(BOOL)a2 confirmRejectUI:(int)a3 completion:(id /* block */)a4; - (void)reportValue:(BOOL)a0 forFeatureSetting:(long long)a1 withCompletion:(id /* block */)a2; - (void)rejectRealtimeReminder:(id)a0 completion:(id /* block */)a1; - (BOOL)isSGEntity:(id)a0 duplicateOfEKEvent:(id)a1 withStore:(id)a2; - (id)lastSuggestionsFromMessageLock; - (void)eventsStartingAt:(id)a0 endingAt:(id)a1 prefix:(id)a2 limitTo:(unsigned long long)a3 options:(unsigned int)a4 withCompletion:(id /* block */)a5; - (void)prepareForRealtimeExtraction:(id /* block */)a0; - (id)deleteDataDerivedFromContentMatchingRequest:(id)a0; - (id)init; - (void)registerForProactiveHarvesting; - (void)contactMatchesWithContact:(id)a0 limitTo:(unsigned long long)a1 withCompletion:(id /* block */)a2; - (void)schemaOrgToEvents:(id)a0 completion:(id /* block */)a1; - (void)confirmEventByRecordId:(id)a0 completion:(id /* block */)a1; - (id)filterPastEvents:(id)a0; - (void)isEventCandidateForURL:(id)a0 title:(id)a1 withCompletion:(id /* block */)a2; - (void)suggestionsFromSearchableItem:(id)a0 options:(unsigned long long)a1 withCompletion:(id /* block */)a2; - (void)planReceivedFromServerWithPayload:(id)a0 completion:(id /* block */)a1; - (void)dealloc; - (void)suggestionsFromURL:(id)a0 title:(id)a1 HTMLPayload:(id)a2 withCompletion:(id /* block */)a3; - (void)setLastSuggestionsFromMessageResponse:(id)a0; - (void)logMetricSuggestedContactDetailUsed:(id)a0 contactIdentifier:(id)a1 bundleId:(id)a2; - (void)deleteSpotlightReferencesWithBundleIdentifier:(id)a0 uniqueIdentifiers:(id)a1 completion:(id /* block */)a2; - (BOOL)isSearchableItemPartOfReimportWithGetterBlock:(id /* block */)a0 bundleIdentifier:(id)a1; - (void)reminderTitleForContent:(id)a0 withCompletion:(id /* block */)a1; - (void)contactFromRecordId:(id)a0 withCompletion:(id /* block */)a1; - (void)suggestionsFromMessage:(id)a0 options:(unsigned long long)a1 completionHandler:(id /* block */)a2; - (void)rejectRecord:(id)a0 confirmRejectUI:(int)a1 completion:(id /* block */)a2; - (id)entityFromUniqueKey:(id)a0; - (void)dissectAttachmentsFromSearchableItem:(id)a0 options:(unsigned long long)a1 withCompletion:(id /* block */)a2; - (void)isEnabledWithCompletion:(id /* block */)a0; - (id)cachedResultForKey:(id)a0 generateResult:(id /* block */)a1 validateResults:(id /* block */)a2; - (void)confirmReminderByRecordId:(id)a0 completion:(id /* block */)a1; - (void)confirmContact:(id)a0 confirmRejectUI:(int)a1 completion:(id /* block */)a2; - (void)enqueueSearchableItems:(id)a0 completion:(id /* block */)a1; - (void)contactMatchesWithFullTextSearch:(id)a0 limitTo:(unsigned long long)a1 withCompletion:(id /* block */)a2; - (void)_processReservationInteractions:(id)a0 bundleId:(id)a1 completion:(id /* block */)a2; - (void)sleepWithCompletion:(id /* block */)a0; - (void)evaluateRecipe:(id)a0 attachments:(id)a1 completion:(id /* block */)a2; - (void)powerStateWithCompletion:(id /* block */)a0; - (void)eventFromUniqueId:(id)a0 completion:(id /* block */)a1; - (void)cnContactMatchesForRecordId:(id)a0 withCompletion:(id /* block */)a1; - (id)filterRealtimeEvents:(id)a0; - (void)rejectReminderByRecordId:(id)a0 completion:(id /* block */)a1; - (void)launchAppForSuggestedEventUsingLaunchInfo:(id)a0 completion:(id /* block */)a1; - (BOOL)_canBannerUseStoredDissection:(id)a0 options:(unsigned long long)a1; - (void)originFromRecordId:(id)a0 completion:(id /* block */)a1; - (void)addSearchableItems:(id)a0 completion:(id /* block */)a1; - (id)_emailContentCacheSalt; - (void)recentURLsWithLimit:(unsigned int)a0 withCompletion:(id /* block */)a1; - (void)messagesToRefreshWithCompletion:(id /* block */)a0; - (void)deleteCloudKitZoneWithCompletion:(id /* block */)a0; - (void)confirmContactDetailRecord:(id)a0 confirmRejectUI:(int)a1 completion:(id /* block */)a2; - (BOOL)_isContactInteresting:(id)a0 emailEntity:(id)a1 enrichments:(id)a2 hasContactCard:(unsigned long long)a3; - (void)namesForDetailCacheSnapshotsWithCompletion:(id /* block */)a0; - (id)initWithStore:(id)a0; - (void)suggestionsFromRFC822Data:(id)a0 source:(id)a1 options:(unsigned long long)a2 withCompletion:(id /* block */)a3; - (void)logEventInteractionForEventWithExternalIdentifier:(id)a0 interface:(unsigned short)a1 actionType:(unsigned short)a2; - (void)rejectEvent:(id)a0 completion:(id /* block */)a1; - (void)suggestionsFromMessage:(id)a0 options:(unsigned long long)a1 completionDelivery:(unsigned long long)a2 completionHandler:(id /* block */)a3 fullCompletionHandler:(id /* block */)a4; - (void)deleteInteractionsWithBundleId:(id)a0 groupIdentifiers:(id)a1 completion:(id /* block */)a2; - (void)_suggestionsFromSearchableItem:(id)a0 options:(unsigned long long)a1 dissectIfNecessary:(BOOL)a2 withCompletion:(id /* block */)a3; - (void)updateMessages:(id)a0 state:(unsigned long long)a1 completion:(id /* block */)a2; - (void)eventFromRecordId:(id)a0 withCompletion:(id /* block */)a1; - (BOOL)clientIsMail; - (void)fullDownloadRequestBatch:(unsigned long long)a0 withCompletion:(id /* block */)a1; - (void)realtimeSuggestionsForMailOrMessageWithHash:(id)a0 options:(unsigned long long)a1 completion:(id /* block */)a2 completionDelivery:(unsigned long long)a3 providedBy:(id /* block */)a4 searchableItem:(id)a5 dissectIfNecessary:(BOOL)a6 isTextMessage:(BOOL)a7; - (void)_performAction:(id)a0 onRecord:(id)a1 confirmRejectUI:(int)a2 completion:(id /* block */)a3; - (void)identifyComposeWarningsFromSubject:(id)a0 content:(id)a1 attributes:(id)a2 toRecipients:(id)a3 ccRecipients:(id)a4 bccRecipients:(id)a5 originalToRecipients:(id)a6 originalCcRecipients:(id)a7 attachments:(id)a8 withCompletion:(id /* block */)a9; - (void)deleteEventByRecordId:(id)a0 completion:(id /* block */)a1; - (BOOL)isSearchableItemPartOfReimport:(id)a0; - (id)shortNamesAndRealtimeEventsFromEntity:(id)a0 message:(id)a1 enrichments:(id)a2 store:(id)a3; - (id)_mapToPseudoEvents:(id)a0; - (void)setLastSuggestionsFromMessageRequest:(id)a0; - (void)_performAction:(id)a0 onContactDetailRecord:(id)a1 confirmRejectUI:(int)a2 completion:(id /* block */)a3; - (void)ipsosMessagesFromSearchableItems:(id)a0 withCompletion:(id /* block */)a1; - (void)sortedSaliencyResultsRestrictedToMailboxTypes:(id)a0 mailboxIds:(id)a1 receivedOnOrAfter:(id)a2 ascending:(BOOL)a3 limit:(unsigned long long)a4 withCompletion:(id /* block */)a5; - (void)clearCachesFully:(BOOL)a0 withCompletion:(id /* block */)a1; - (id)messageHarvestQueue; - (struct SGMContactDetailUsedApp_ { unsigned long long x0; })_appEnumForBundleId:(id)a0; - (void)logMetricAutocompleteUserSelectedRecordId:(id)a0 contactIdentifier:(id)a1 bundleId:(id)a2; - (void)suggestionsFromSimpleMailMessage:(id)a0 headers:(id)a1 options:(unsigned long long)a2 withCompletion:(id /* block */)a3; - (void)logMetricAutocompleteResult:(int)a0 recordId:(id)a1 contactIdentifier:(id)a2 bundleId:(id)a3; - (id)lastSuggestionsFromMessageRequest; - (void)sendRTCLogsWithCompletion:(id /* block */)a0; - (void)celebrationExtractionsForInterval:(id)a0 withCompletion:(id /* block */)a1; - (void)harvestedSuggestionsFromMessages:(id)a0 bundleIdentifier:(id)a1 options:(unsigned long long)a2 completionHandler:(id /* block */)a3; - (void)setupManagerWithConnection:(id)a0 store:(id)a1 ctsManager:(id)a2 ekStoreProvider:(id)a3 contactStore:(id)a4 pet2Tracker:(id)a5; - (void)preventUnsubscriptionOpportunitiesSuggestionsForField:(long long)a0 toValues:(id)a1 withCompletion:(id /* block */)a2; - (void)keepDirty:(BOOL)a0; - (void)confirmEvent:(id)a0 completion:(id /* block */)a1; - (id)realtimeWalletPassesFromEntity:(id)a0 enrichments:(id)a1; - (void)sortedUnsubscriptionOpportunitiesForField:(long long)a0 minCount:(unsigned long long)a1 minScore:(double)a2 limit:(unsigned long long)a3 withCompletion:(id /* block */)a4; - (id)shortNamesAndRealtimeEventsFromEntity:(id)a0 enrichments:(id)a1 store:(id)a2; - (void)eventsStartingAt:(id)a0 endingAt:(id)a1 limitTo:(unsigned long long)a2 options:(unsigned int)a3 withCompletion:(id /* block */)a4; - (id)initWithMessagesConnection:(id)a0 store:(id)a1; - (void)allRemindersLimitedTo:(unsigned long long)a0 withCompletion:(id /* block */)a1; - (void)logEventInteractionForEntity:(id)a0 interface:(unsigned short)a1 actionType:(unsigned short)a2; - (void)identifyFollowUpWarningFromSubject:(id)a0 body:(id)a1 date:(id)a2 withCompletion:(id /* block */)a3; - (id)consumeMailContentWithContext:(id)a0; - (void)logMetricSuggestedContactDetailShown:(id)a0 contactIdentifier:(id)a1 bundleId:(id)a2; - (void)logMetricContactCreated:(id)a0 contactIdentifier:(id)a1 bundleId:(id)a2; - (void)addInteractions:(id)a0 bundleId:(id)a1 completion:(id /* block */)a2; - (void)suggestionsFromEmailContent:(id)a0 headers:(id)a1 source:(id)a2 options:(unsigned long long)a3 withCompletion:(id /* block */)a4; - (id)consumeInteractionWithContext:(id)a0; - (void)logEventInteractionForRealtimeEvent:(id)a0 interface:(unsigned short)a1 actionType:(unsigned short)a2; - (void)spotlightReimportFromIdentifier:(id)a0 forPersonHandle:(id)a1 startDate:(id)a2 endDate:(id)a3 completion:(id /* block */)a4; - (void)allContactsWithSnippets:(BOOL)a0 limitTo:(unsigned long long)a1 withCompletion:(id /* block */)a2; - (id)realtimeContactsFromEntity:(id)a0 enrichments:(id)a1 sourceTextMessage:(id)a2 store:(id)a3; - (id)_showInFormatStringWithLocalization:(id)a0; - (void)deleteInteractionsWithBundleId:(id)a0 identifiers:(id)a1 completion:(id /* block */)a2; - (void)foundInStringForRecordId:(id)a0 style:(unsigned char)a1 withCompletion:(id /* block */)a2; - (void)contactMatchesWithMessagingPrefix:(id)a0 limitTo:(unsigned long long)a1 withCompletion:(id /* block */)a2; - (id)recentlyHarvestedDetailLock; - (unsigned short)interfaceForRealtimeReminder:(id)a0; - (void)purgeSpotlightReferencesWithBundleIdentifier:(id)a0 uniqueIdentifiers:(id)a1 completion:(id /* block */)a2; - (id)_pmlTraining; - (void)contactMatchesByEmailAddress:(id)a0 withCompletion:(id /* block */)a1; - (void)rejectEventByRecordId:(id)a0 completion:(id /* block */)a1; - (void)eventsInFutureLimitTo:(unsigned long long)a0 options:(unsigned int)a1 withCompletion:(id /* block */)a2; - (void)resolveFullDownloadRequests:(id)a0 withCompletion:(id /* block */)a1; - (void)emailAddressIsSignificant:(id)a0 withCompletion:(id /* block */)a1; - (void)clearContactAggregator; - (void)_suggestionsFromMessage:(id)a0 options:(unsigned long long)a1 dissectIfNecessary:(BOOL)a2 completionDelivery:(unsigned long long)a3 completionHandler:(id /* block */)a4; - (void)harvestedSuggestionsFromMessage:(id)a0 bundleIdentifier:(id)a1 options:(unsigned long long)a2 completionHandler:(id /* block */)a3; - (BOOL)clientIsMessages; - (void)logMetricContactSearchResult:(int)a0 recordId:(id)a1 contactIdentifier:(id)a2 bundleId:(id)a3; - (void)predictedToEmailAddressesWithToAddresses:(id)a0 ccAddresses:(id)a1 fromAddress:(id)a2 date:(double)a3 bounds:(id)a4 completion:(id /* block */)a5; - (void).cxx_destruct; - (void)_setupHistoryObserver:(id)a0; - (void)contactMatchesBySocialProfile:(id)a0 withCompletion:(id /* block */)a1; - (void)daemonExitWithCompletion:(id /* block */)a0; - (void)_executeBoxTasks:(id)a0; - (void)logSuggestionInteractionForRecordId:(id)a0 interface:(unsigned short)a1 actionType:(unsigned short)a2; - (id)lastSuggestionsFromMessageResponse; - (void)contactMatchesByPhoneNumber:(id)a0 withCompletion:(id /* block */)a1; - (id)filterRealtimeReminders:(id)a0; - (void)noopWithCompletion:(id /* block */)a0; - (id)getPet2Tracker; - (void)waitForEventWithIdentifier:(id)a0 toAppearInEventStoreWithLastModificationDate:(id)a1 completion:(id /* block */)a2; - (void)_confirmReminderByRecordId:(id)a0 completion:(id /* block */)a1; - (void)topSalienciesForMailboxId:(id)a0 limit:(long long)a1 withCompletion:(id /* block */)a2; - (id)curatedEventKeyForExactMatchOfPseudoEvent:(id)a0 candidates:(id)a1; - (void)realtimeSuggestionsFromURL:(id)a0 title:(id)a1 HTMLPayload:(id)a2 extractionDate:(id)a3 withCompletion:(id /* block */)a4; - (void)clearContactAggregatorConversation:(id)a0; - (void)isEventCandidateForURL:(id)a0 andTitle:(id)a1 containsSchemaOrg:(BOOL)a2 withCompletion:(id /* block */)a3; - (void)logUserCreatedReminderTitle:(id)a0 withCompletion:(id /* block */)a1; - (void)reminderAlarmTriggeredForRecordId:(id)a0 completion:(id /* block */)a1; - (void)registerURLFeedback:(unsigned char)a0 absoluteURL:(id)a1 withCompletion:(id /* block */)a2; - (id)initWithStore:(id)a0 ctsManager:(id)a1 ekStoreProvider:(id)a2 contactStore:(id)a3 pet2Tracker:(id)a4; - (void)harvestedSuggestionsFromSearchableItem:(id)a0 options:(unsigned long long)a1 withCompletion:(id /* block */)a2; - (void)urlsFoundBetweenStartDate:(id)a0 endDate:(id)a1 excludingBundleIdentifiers:(id)a2 containingSubstring:(id)a3 flagFilter:(unsigned char)a4 limit:(unsigned int)a5 withCompletion:(id /* block */)a6; - (void)_storeAndGeocodeEntity:(id)a0 spotlightBundleIdentifier:(id)a1 spotlightUniqueIdentifier:(id)a2 spotlightDomainIdentifier:(id)a3 store:(id)a4 afterCallbackQueue:(id)a5 finalize:(id /* block */)a6; - (void)addSearchableItemMetadata:(id)a0 htmlData:(id)a1 completion:(id /* block */)a2; - (id)initWithConnection:(id)a0 store:(id)a1; - (void)launchInfoForSuggestedEventWithUniqueIdentifier:(id)a0 sourceURL:(id)a1 clientLocale:(id)a2 ignoreUserActivitySupport:(BOOL)a3 ignoreMailCheck:(BOOL)a4 completion:(id /* block */)a5; - (void)rejectContact:(id)a0 confirmRejectUI:(int)a1 completion:(id /* block */)a2; - (void)deleteSpotlightReferencesWithBundleIdentifier:(id)a0 domainIdentifiers:(id)a1 completion:(id /* block */)a2; - (void)predictedCCEmailAddressesWithToAddresses:(id)a0 ccAddresses:(id)a1 fromAddress:(id)a2 date:(double)a3 bounds:(id)a4 completion:(id /* block */)a5; - (BOOL)keepRealtimeAsLost; - (void)birthdayExtractionsForInterval:(id)a0 withCompletion:(id /* block */)a1; - (void)_harvestReservationsFromInteractions:(id)a0 bundleId:(id)a1 queue:(id)a2 completion:(id /* block */)a3; - (void)geocodeEnrichmentsInPipelineEntity:(id)a0 withCompletion:(id /* block */)a1; - (id)_maybeFormatString; - (id)storageContactFromRecordId:(id)a0; - (void)logUnknownContactInformationShownCount:(unsigned long long)a0 notShownCount:(unsigned long long)a1 bundleId:(id)a2; - (void)titleSuggestionForMessage:(id)a0 withCompletion:(id /* block */)a1; - (void)contactMatchesWithContactIdentifier:(id)a0 limitTo:(unsigned long long)a1 withCompletion:(id /* block */)a2; - (id)realtimeWalletOrdersFromEntity:(id)a0 enrichments:(id)a1; - (void)bumptTTLForNLEvent:(id)a0; - (void)interactionStoreLookupForDetail:(id)a0 withCompletion:(id /* block */)a1; - (void)_sendChatChangedNotificationWithDomainIdentifier:(id)a0; - (void)logMetricContactSearchResultSelected:(id)a0 contactIdentifier:(id)a1 bundleId:(id)a2; - (BOOL)_harvestPeopleFromInteractions:(id)a0 bundleId:(id)a1; - (void)_rejectReminderByRecordId:(id)a0 completion:(id /* block */)a1; - (void)reportMessagesFound:(id)a0 lost:(id)a1 withCompletion:(id /* block */)a2; - (void)allDeliveriesWithLimit:(unsigned long long)a0 withCompletion:(id /* block */)a1; - (void)rebuildNamesForDetailCache:(id /* block */)a0; - (void)rejectContactDetailRecord:(id)a0 confirmRejectUI:(int)a1 completion:(id /* block */)a2; - (void)registerForCoreSpotlightIndexing; - (void)logMetricSearchResultsIncludedPureSuggestionWithBundleId:(id)a0; - (void)removeAllStoredPseudoContactsWithCompletion:(id /* block */)a0; - (void)cnContactMatchesForRecordIds:(id)a0 withCompletion:(id /* block */)a1; - (void)urlsFoundBetweenStartDate:(id)a0 endDate:(id)a1 excludingBundleIdentifiers:(id)a2 limit:(unsigned int)a3 withCompletion:(id /* block */)a4; - (id)createLaunchIntentForStorageEvent:(id)a0; - (id)harvestStore; - (BOOL)containsNonCuratedData:(id)a0; - (void)contentAdmissionBlocklistDidChange:(id)a0; - (void)reportMailIntelligenceFollowUpUserEngagement:(long long)a0 forStringFromFollowUpWarning:(id)a1 withCompletion:(id /* block */)a2; - (void)confirmRecord:(id)a0 confirmRejectUI:(int)a1 completion:(id /* block */)a2; - (void)deleteInteractionsWithBundleId:(id)a0 completion:(id /* block */)a1; - (void)deleteSpotlightReferencesWithBundleIdentifier:(id)a0 completion:(id /* block */)a1; - (void)logEventInteractionForEventWithUniqueKey:(id)a0 interface:(unsigned short)a1 actionType:(unsigned short)a2; - (void)namesForDetail:(id)a0 limitTo:(unsigned long long)a1 prependMaybe:(BOOL)a2 onlySignificant:(BOOL)a3 supportsInfoLookup:(BOOL)a4 withCompletion:(id /* block */)a5; - (void)harvestedSuggestionsFromMessage:(id)a0 bundleIdentifier:(id)a1 options:(unsigned long long)a2 withCompletion:(id /* block */)a3; @end