@class ATXEngagementRecordManager, NSArray, NSXPCConnection, ATXUniversalBiomeUIStream, ATXProactiveSuggestionClient, NSObject, _DKEventStream; @protocol OS_dispatch_queue, _DKKnowledgeSaving, ATXPETEventTracker2Protocol; @interface ATXAppDirectoryClient : NSObject { NSXPCConnection *_xpcConnection; id<_DKKnowledgeSaving> _knowledgeStore; _DKEventStream *_knowledgeStream; NSObject *_loggingQueue; ATXProactiveSuggestionClient *_blendingClient; id _tracker; ATXUniversalBiomeUIStream *_uiStream; ATXEngagementRecordManager *_engagementRecordManager; } @property (retain) NSArray *topAppsVisible; @property (retain) NSArray *recentAppsVisible; @property (nonatomic) BOOL didSendFeedbackDuringSession; + (id)sharedInstance; + (id)_sortedDefaultCategories; + (id)_sortedBundleIDsByCategoryWithHardcodedAppCategoryMappings:(id)a0; + (id)_readRecentAppsWithError:(id *)a0; + (id)_sortedAllOtherBundleIDsFromAllBundleIDs:(id)a0 allPlaceholderBundleIDs:(id)a1 hardcodedAppCategoryMappings:(id)a2; + (id)hardcodedAppCategoryMappings; + (id)_allPlaceholderBundleIdsFromHomeScreenService:(id)a0; - (void)_resetSessionState; - (void)logLaunchFromSearchWithDate:(id)a0 bundleID:(id)a1 bundleIndex:(unsigned long long)a2 searchQueryLength:(unsigned long long)a3 searchTab:(unsigned long long)a4 appDirectoryResponse:(id)a5; - (void)predictedAppsAndRecentAppsWithShouldUseDefaultCategories:(BOOL)a0 reply:(id /* block */)a1; - (void)categoriesWithReply:(id /* block */)a0; - (void)dealloc; - (void)appLaunchDatesWithReply:(id /* block */)a0; - (void)requestNotificationWhenCategoriesAreReady; - (id)_init; - (void)_logToDuet:(unsigned long long)a0 metadata:(id)a1; - (void)_addEngagedSuggestionToERM:(id)a0; - (void)logOpenSearchWithDate:(id)a0; - (void)predictedAppsAndRecentAppsWithMaxNumberOfPredictedApps:(unsigned long long)a0 shouldUseDefaultCategories:(BOOL)a1 reply:(id /* block */)a2; - (void)logDidEnterAppDirectoryWithDate:(id)a0; - (id)_suggestionsPodDedupableBundleIds; - (void)categoriesWithShouldUseDefault:(BOOL)a0 reply:(id /* block */)a1; - (void)logCategoryExitWithDate:(id)a0 categoryID:(unsigned long long)a1 categoryIndex:(unsigned long long)a2; - (void)notifyBookmarksDidChange; - (void)_updateTopAppsVisibilityWithCategories:(id)a0; - (void)logLaunchFromCategoryPreviewWithDate:(id)a0 categoryID:(unsigned long long)a1 categoryIndex:(unsigned long long)a2 bundleID:(id)a3 bundleIndex:(unsigned long long)a4 appDirectoryResponse:(id)a5; - (void)_logCaptureRateCapture; - (void).cxx_destruct; - (void)_logToBiome:(unsigned long long)a0 metadata:(id)a1; - (void)logCloseSearchWithDate:(id)a0; - (void)_logToBiomeWithEventType:(unsigned long long)a0 date:(id)a1 blendingCacheUUID:(id)a2 shownSuggestionIds:(id)a3 engagedSuggestionIds:(id)a4 categoryID:(id)a5 categoryIndex:(id)a6 bundleId:(id)a7 bundleIndex:(id)a8 searchQueryLength:(id)a9 searchTab:(id)a10 bundleIdInTopAppsVisible:(id)a11 userLaunchedAppBeforeLeaving:(id)a12; - (void)_logCaptureRateDiversionWithType:(int)a0; - (void)logCategoryExpansionWithDate:(id)a0 categoryID:(unsigned long long)a1 categoryIndex:(unsigned long long)a2; - (void)logDidLeaveAppDirectoryWithDate:(id)a0 appDirectoryResponse:(id)a1; - (void)logLaunchFromExpandedCategoryWithDate:(id)a0 categoryID:(unsigned long long)a1 categoryIndex:(unsigned long long)a2 bundleID:(id)a3 bundleIndex:(unsigned long long)a4 appDirectoryResponse:(id)a5; @end