@class NSCache, PPLocationStorage, PPTrialWrapper, _PASLock; @interface PPLocalLocationStore : NSObject <PPFeedbackAccepting, PPFeedbackProcessing> { _PASLock *_cache; NSCache *_modelCache; PPTrialWrapper *_trialWrapper; } @property (readonly, nonatomic) PPLocationStorage *storage; @property (readonly, nonatomic) BOOL useScoreInterpreter; + (id)defaultStore; + (id)locationFromMapItemDictionary:(id)a0; + (BOOL)isLocationRelevantNamedEntityCategory:(unsigned long long)a0; + (id)locationNamedEntityToPPScoredLocation:(id)a0; + (unsigned short)namedEntityCategoryToLocationCategory:(unsigned long long)a0; + (id)scoredLocationFromName:(id)a0 category:(unsigned short)a1 score:(double)a2 sentimentScore:(double)a3; + (id)locationFromMapItem:(id)a0; + (unsigned short)routineLOITypeToLocationCategory:(long long)a0; - (void)registerFeedback:(id)a0 completion:(id /* block */)a1; - (id)init; - (id)_init; - (id)rankedLocationsWithQuery:(id)a0 clientProcessName:(id)a1 error:(id *)a2; - (BOOL)iterRankedLocationsWithQuery:(id)a0 error:(id *)a1 block:(id /* block */)a2; - (double)finalScoreFromRecordsUsingHybrid:(id)a0 streamingScorer:(id)a1 mlModel:(id)a2; - (BOOL)deleteAllLocationsFromSourcesWithBundleId:(id)a0 groupIds:(id)a1 deletedCount:(unsigned long long *)a2 error:(id *)a3; - (BOOL)deleteAllLocationsFromSourcesWithBundleId:(id)a0 documentIds:(id)a1 deletedCount:(unsigned long long *)a2 error:(id *)a3; - (id)homeOrWorkAddresses; - (BOOL)pruneOrphanedLocationFeedbackCountsWithLimit:(long long)a0 rowOffset:(unsigned long long)a1 deletedCount:(unsigned long long *)a2 isComplete:(BOOL *)a3; - (BOOL)deleteAllLocationsFromSourcesWithBundleId:(id)a0 deletedCount:(unsigned long long *)a1 error:(id *)a2; - (id)initWithStorage:(id)a0 trialWrapper:(id)a1; - (void).cxx_destruct; - (BOOL)deleteAllLocationFeedbackCountsOlderThanDate:(id)a0; - (BOOL)deleteAllLocationsOlderThanDate:(id)a0 deletedCount:(unsigned long long *)a1 error:(id *)a2; - (BOOL)iterLocationRecordsWithQuery:(id)a0 error:(id *)a1 block:(id /* block */)a2; - (id)locationRecordsWithQuery:(id)a0 error:(id *)a1; - (BOOL)donateLocations:(id)a0 source:(id)a1 contextualNamedEntities:(id)a2 algorithm:(unsigned short)a3 cloudSync:(BOOL)a4 error:(id *)a5; - (id)locationRecordOfCategory:(unsigned short)a0; - (BOOL)deleteAllLocationsFromSourcesWithBundleId:(id)a0 groupId:(id)a1 olderThan:(id)a2 deletedCount:(unsigned long long *)a3 error:(id *)a4; - (void)processFeedback:(id)a0; - (id)locationForWork; - (id)locationForHome; - (BOOL)clearWithError:(id *)a0 deletedCount:(unsigned long long *)a1; @end