@class NSString, NSDictionary, _PASSimpleCoalescingTimer, ATXSigtermListener, NSObject, _PASLock; @protocol OS_os_transaction, OS_dispatch_queue; @interface ATXStackStateTracker : NSObject { NSObject *_transaction; NSObject *_queue; _PASSimpleCoalescingTimer *_coalescedPersistInternalStateOperation; _PASLock *_internalStateLock; NSString *_path; ATXSigtermListener *_sigtermListener; } @property (retain, nonatomic) NSDictionary *currentSuggestionsWidgetLayouts; @property (retain, nonatomic) NSDictionary *currentAppPredictionPanelLayouts; + (id)sharedInstance; - (id)init; - (id)topWidgetUniqueIdOfStack:(id)a0; - (BOOL)lastUserScrollWasALongTimeAgoForStackId:(id)a0; - (id)stackCreationEvent:(id)a0; - (BOOL)mostRecentRotationOfStackIsSystemInitiated:(id)a0; - (id)stackStateForStackId:(id)a0; - (BOOL)lastStalenessRotationWasALongTimeAgoForStackId:(id)a0; - (BOOL)lastStackRotationWasALongTimeAgoForStackId:(id)a0; - (BOOL)stackIsStale:(id)a0; - (void)handleSigterm; - (void)setLayoutForLastStalenessRotation:(id)a0 stackId:(id)a1 date:(id)a2; - (BOOL)stackWasCreatedALongTimeAgo:(id)a0; - (id)initTrackerInDirectory:(id)a0; - (id)lastUserScrollStackRotationEvent:(id)a0; - (void)cleanupOldDataWithHomeScreenPages:(id)a0; - (id)lastStackShownEvent:(id)a0; - (id)lastThreeUserVisitDatesOfPage:(unsigned long long)a0; - (void)_persistInternalStateImmediatelyOnSigterm; - (void).cxx_destruct; - (id)jsonRepresentation; - (void)coalescedPersistInternalState; - (BOOL)persistInternalState; - (void)updateStackRotationEvents; - (id)layoutForLastStalenessRotation:(id)a0; - (id)lastStackRotationEvent:(id)a0; - (BOOL)loadInternalState; - (void)updateStackRotationEventsByQueryingBiome; - (id)dataFromDisk; - (id)_blendingCacheIdToStackIdMap:(id)a0; @end