@class NSString, RTDistanceCalculator, RTPersistenceExpirationEnforcer, RTPersistenceMirroringManager; @interface RTLearnedLocationStore : RTStore <RTEnumerableStore> @property (retain, nonatomic) RTPersistenceExpirationEnforcer *expirationEnforcer; @property (retain, nonatomic) RTDistanceCalculator *distanceCalculator; @property (retain, nonatomic) RTPersistenceMirroringManager *mirroringManager; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (id)filterLocationsOfInterests:(id)a0; + (id)filterPlaces:(id)a0; - (void)_fetchVisitsWithoutPlacesForCurrentDeviceWithHandler:(id /* block */)a0 limit:(id)a1; - (void)removeVisitWithIdentifier:(id)a0 handler:(id /* block */)a1; - (id)fetchRequestFromOptions:(id)a0 offset:(unsigned long long)a1 error:(id *)a2; - (void)removeUnreferencedMapItems:(id /* block */)a0; - (void)removeUnreferencedPlacesWithHandler:(id /* block */)a0; - (void)fetchPlacesWithinDistance:(double)a0 location:(id)a1 predicate:(id)a2 handler:(id /* block */)a3; - (void)_associatePlacesToVisits:(id)a0 handler:(id /* block */)a1; - (void)updateTransitionWithIdentifier:(id)a0 motionActivityType:(unsigned long long)a1 handler:(id /* block */)a2; - (id)init; - (BOOL)deleteVisitsUsingCloudFetchRequest:(id)a0 localFetchRequest:(id)a1 context:(id)a2 tombstoneContext:(id)a3 error:(id *)a4; - (void)_fetchVisitWithIdentifier:(id)a0 handler:(id /* block */)a1; - (void)fetchPlacesWithType:(unsigned long long)a0 handler:(id /* block */)a1; - (void)_fetchMetricsWithHandler:(id /* block */)a0; - (void)fetchRecentLocationsOfInterestWithHandler:(id /* block */)a0; - (void)_updateExpirationDateOfVisitSubgraphWithVisitIdentifiers:(id)a0 expirationDate:(id)a1 allowThresholdBypass:(BOOL)a2 handler:(id /* block */)a3; - (void)fetchTransitionsWithHandler:(id /* block */)a0; - (void)_moc_updateExpirationDateOfVisitSubgraphWithVisitIdentifiers:(id)a0 expirationDate:(id)a1 allowThresholdBypass:(BOOL)a2 context:(id)a3 handler:(id /* block */)a4; - (void)updateExpirationDateOfVisitsWithIdentifiers:(id)a0 expirationDate:(id)a1 allowThresholdBypass:(BOOL)a2 handler:(id /* block */)a3; - (void)_fetchVisitsWithIncompletePlacesForCurrentDeviceWithHandler:(id /* block */)a0; - (void)_fetchEntityAsDictionaryWithEntityName:(id)a0 propertiesToFetch:(id)a1 handler:(id /* block */)a2; - (void)removeRecordsExpiredBeforeDate:(id)a0 handler:(id /* block */)a1; - (void)fetchLocationOfInterestWithMapItem:(id)a0 handler:(id /* block */)a1; - (void)removeTransitionsReferencingVisits:(id)a0 handler:(id /* block */)a1; - (void)fetchVisitsWithPredicate:(id)a0 handler:(id /* block */)a1; - (void)fetchLocationOfInterestWithPlace:(id)a0 handler:(id /* block */)a1; - (BOOL)_updateExpirationDateOfPlaceSubgraphWithVisitIdentifiers:(id)a0 expirationDate:(id)a1 context:(id)a2 error:(id *)a3; - (id)_unionSetOfVisitIdentifiersOverlappingVisitIdentifiers:(id)a0 allowThresholdBypass:(BOOL)a1 context:(id)a2 error:(id *)a3; - (void)associatePlacesToVisits:(id)a0 handler:(id /* block */)a1; - (void)_updateExpirationDateOfVisitsWithIdentifiers:(id)a0 expirationDate:(id)a1 handler:(id /* block */)a2; - (BOOL)deletePlacesWithinIdentifierSet:(id)a0 tombstoneContext:(id)a1 error:(id *)a2; - (void)_fetchVisitsWithPredicate:(id)a0 ascending:(BOOL)a1 limit:(id)a2 handler:(id /* block */)a3; - (void)_fetchLocationOfInterestVisitedLastWithHandler:(id /* block */)a0; - (id)predicateForObjectsNotFromCurrentDevice; - (void)fetchTransitionWithDestinationIdentifier:(id)a0 handler:(id /* block */)a1; - (void)_fetchTransitionWithDestinationIdentifier:(id)a0 handler:(id /* block */)a1; - (void)_fetchLocationOfInterestWithPlace:(id)a0 handler:(id /* block */)a1; - (void)fetchVisitIdentifiersIn:(id)a0 handler:(id /* block */)a1; - (id)predicateForVisitsWithinDistance:(double)a0 location:(id)a1; - (void)updateExpirationDateOfVisitsWithIdentifiers:(id)a0 expirationDate:(id)a1 handler:(id /* block */)a2; - (void)fetchVisitWithIdentifier:(id)a0 handler:(id /* block */)a1; - (void)_fetchDevicesNotFromCurrentDeviceWithHandler:(id /* block */)a0; - (id)migrateLegacyMapItemsWithEnumerationBlock:(id /* block */)a0; - (void)fetchVisitsWithIncompletePlacesForCurrentDeviceWithHandler:(id /* block */)a0; - (void)__removeUnreferencedMapItems:(id /* block */)a0; - (void)_fetchVisitsPredating:(id)a0 handler:(id /* block */)a1; - (void)logCloudStoreWithReason:(id)a0 handler:(id /* block */)a1; - (void)removeOverlappingVisitsAndTransitionsForVisits:(id)a0 handler:(id /* block */)a1; - (void)_logCloudStoreWithReason:(id)a0 handler:(id /* block */)a1; - (void)_fetchTransitionsBetweenStartDate:(id)a0 endDate:(id)a1 handler:(id /* block */)a2; - (void)removeTransitionsWithHandler:(id /* block */)a0; - (void)fetchPlaceWithMapItem:(id)a0 predicate:(id)a1 handler:(id /* block */)a2; - (void)fetchVisitsWithoutPlacesForCurrentDeviceWithHandler:(id /* block */)a0 limit:(id)a1; - (void)fetchLocationsOfInterestVisitedBetweenStartDate:(id)a0 endDate:(id)a1 handler:(id /* block */)a2; - (void)_fetchLocationOfInterestWithIdentifier:(id)a0 handler:(id /* block */)a1; - (void)removeVisits:(id)a0 handler:(id /* block */)a1; - (void)updateLocationsOfInterest:(id)a0 handler:(id /* block */)a1; - (void)_refreshMapItemsWithEnumerationBlock:(id /* block */)a0 completionBlock:(id /* block */)a1; - (void)_removeVisits:(id)a0 handler:(id /* block */)a1; - (void)_fetchPlacesWithIdentifiers:(id)a0 handler:(id /* block */)a1; - (void)_removeVisitWithIdentifier:(id)a0 handler:(id /* block */)a1; - (void)fetchVisitsToPlace:(id)a0 handler:(id /* block */)a1; - (void)_removeUnreferencedPlacesWithHandler:(id /* block */)a0; - (void)updateLocationOfInterestWithIdentifier:(id)a0 place:(id)a1 handler:(id /* block */)a2; - (void)_removeAllMapItems:(id /* block */)a0; - (void)submitMetricsOnExtendingLifetimeOfObjectsWithIdentifiers:(id)a0 context:(id)a1; - (void)logLocalStoreWithReason:(id)a0 handler:(id /* block */)a1; - (void)fetchInferredMapItemForVisitIdentifier:(id)a0 handler:(id /* block */)a1; - (void)fetchPlacesWithPredicate:(id)a0 handler:(id /* block */)a1; - (id)identifiersForPlacesThatDedupeToPlace:(id)a0 context:(id)a1 error:(id *)a2; - (BOOL)_processDeletionRequestWithFetchRequest:(id)a0 context:(id)a1 error:(id *)a2; - (void)storeVisits:(id)a0 place:(id)a1 handler:(id /* block */)a2; - (void)fetchLocationsOfInterestWithPlaceType:(unsigned long long)a0 handler:(id /* block */)a1; - (void)_fetchCountOfVisitsToPlaceWithIdentifier:(id)a0 handler:(id /* block */)a1; - (void)_removeRecordsExpiredBeforeDate:(id)a0 handler:(id /* block */)a1; - (void)fetchPlacesWithIdentifiers:(id)a0 handler:(id /* block */)a1; - (void)_updateLocationOfInterestWithIdentifier:(id)a0 place:(id)a1 handler:(id /* block */)a2; - (void)_expireLifetimeOfVisitsWithIdentifiers:(id)a0 expirationDate:(id)a1 handler:(id /* block */)a2; - (void)replaceWithLocationsOfInterest:(id)a0 handler:(id /* block */)a1; - (void)updateVisits:(id)a0 place:(id)a1 handler:(id /* block */)a2; - (void)removeAllMapItems:(id /* block */)a0; - (void)_removeVisitsWithHandler:(id /* block */)a0; - (void)extendExpirationDateOfVisitsWithIdentifiers:(id)a0 expirationDate:(id)a1 handler:(id /* block */)a2; - (void)__removeUnreferencedAddresses:(id /* block */)a0; - (void)_fetchLocationsOfInterestVisitedBetweenStartDate:(id)a0 endDate:(id)a1 includePlaceholders:(BOOL)a2 handler:(id /* block */)a3; - (void)fetchLastVisitWithHandler:(id /* block */)a0; - (void)updatePlaces:(id)a0 handler:(id /* block */)a1; - (void)_fetchTransitionWithOriginIdentifier:(id)a0 handler:(id /* block */)a1; - (BOOL)cloudStoreChangedSinceDate:(id)a0; - (void)fetchPlaceWithMapItemIdentifier:(id)a0 handler:(id /* block */)a1; - (void)_updateTransitionWithIdentifier:(id)a0 motionActivityType:(unsigned long long)a1 handler:(id /* block */)a2; - (void)_fetchLocationOfInterestWithMapItem:(id)a0 handler:(id /* block */)a1; - (id)predicateForCompleteVisits; - (void)_removeOverlappingVisitsAndTransitionsForVisits:(id)a0 handler:(id /* block */)a1; - (void)fetchPlacesWithMapItem:(id)a0 handler:(id /* block */)a1; - (id)_learnedLocationsOfInterestFromLearnedLocationsOfInterestMO:(id)a0 context:(id)a1; - (void)__removeUnreferencedExtendedAttributes:(id /* block */)a0; - (void)_removeTransitionsReferencingVisits:(id)a0 handler:(id /* block */)a1; - (void)_clearWithHandler:(id /* block */)a0; - (void)_fetchPlacesWithMapItem:(id)a0 predicate:(id)a1 handler:(id /* block */)a2; - (BOOL)deleteTransitionsReferencingVisitIdentifiers:(id)a0 context:(id)a1 tombstoneContext:(id)a2 error:(id *)a3; - (void)fetchCountOfVisitsToPlaceWithIdentifier:(id)a0 endDate:(id)a1 handler:(id /* block */)a2; - (void)_fetchPlaceOfVisit:(id)a0 handler:(id /* block */)a1; - (BOOL)deletePlacesWithinIdentifierSetWithZeroVisits:(id)a0 context:(id)a1 tombstoneContext:(id)a2 error:(id *)a3; - (void)_removeTransitionsWithHandler:(id /* block */)a0; - (void)storeTransitions:(id)a0 handler:(id /* block */)a1; - (void)_fetchLocationOfInterestTransitionsBetweenStartDate:(id)a0 endDate:(id)a1 handler:(id /* block */)a2; - (void)fetchCloudStorePersistentHistorySinceDate:(id)a0 earlyStop:(BOOL)a1 handler:(id /* block */)a2; - (void)_fetchLocationOfInterestVisitedFirstWithHandler:(id /* block */)a0; - (void)fetchAllLocationsOfInterestWithHandler:(id /* block */)a0; - (void)fetchPlacesWithType:(unsigned long long)a0 predicate:(id)a1 handler:(id /* block */)a2; - (id)createFetchRequestForOverlappingVisits:(id)a0 entityName:(id)a1 entryDatePropertyName:(id)a2 exitDatePropertyName:(id)a3 context:(id)a4 error:(id *)a5; - (void)_fetchPlacesWithPredicate:(id)a0 handler:(id /* block */)a1; - (void)_storeVisits:(id)a0 place:(id)a1 handler:(id /* block */)a2; - (void).cxx_destruct; - (id)initWithDistanceCalculator:(id)a0 expirationEnforcer:(id)a1 mirroringManager:(id)a2; - (void)storeVisits:(id)a0 handler:(id /* block */)a1; - (void)fetchPlaceOfVisit:(id)a0 handler:(id /* block */)a1; - (void)fetchVisitsWithHandler:(id /* block */)a0; - (id)refreshMapItemsWithEnumerationBlock:(id /* block */)a0; - (void)_fetchPlacesWithType:(unsigned long long)a0 predicate:(id)a1 handler:(id /* block */)a2; - (void)fetchLocationsOfInterestWithVisitsWithinDistance:(double)a0 location:(id)a1 handler:(id /* block */)a2; - (id)identifiersForPlacesThatOwnVisitIdentifiers:(id)a0 context:(id)a1 error:(id *)a2; - (void)_updateVisits:(id)a0 place:(id)a1 handler:(id /* block */)a2; - (void)_removePlacesForLocationOfInterest:(id)a0 handler:(id /* block */)a1; - (BOOL)placeTypeForMapItem:(id)a0 placeType:(unsigned long long *)a1 placeTypeSource:(unsigned long long *)a2 error:(id *)a3; - (void)_fetchCloudStorePersistentHistorySinceDate:(id)a0 earlyStop:(BOOL)a1 handler:(id /* block */)a2; - (void)fetchLocationOfInterestVisitedLastWithHandler:(id /* block */)a0; - (void)_fetchVisitIdentifiersIn:(id)a0 handler:(id /* block */)a1; - (void)fetchLocationOfInterestTransitionsBetweenStartDate:(id)a0 endDate:(id)a1 handler:(id /* block */)a2; - (id)predicateForObjectsFromCurrentDevice; - (id)predicateForVisitsFromEntryDate:(id)a0 exitDate:(id)a1; - (void)fetchLocationsOfInterestVisitedSinceDate:(id)a0 handler:(id /* block */)a1; - (void)fetchCountOfVisitsToPlaceWithIdentifier:(id)a0 handler:(id /* block */)a1; - (void)fetchVisitsWithPredicate:(id)a0 ascending:(BOOL)a1 dateInterval:(id)a2 limit:(id)a3 handler:(id /* block */)a4; - (void)_fetchPlaceWithMapItemIdentifier:(id)a0 handler:(id /* block */)a1; - (void)_fetchLastVisitToPlaceWithIdentifier:(id)a0 handler:(id /* block */)a1; - (void)removePlace:(id)a0 handler:(id /* block */)a1; - (void)fetchVisitsWithDevice:(id)a0 dateInterval:(id)a1 handler:(id /* block */)a2; - (void)fetchLocationOfInterestWithIdentifier:(id)a0 handler:(id /* block */)a1; - (void)_removeLocationsOfInterestWithHandler:(id /* block */)a0; - (void)_extendExpirationDateOfVisitsWithIdentifiers:(id)a0 expirationDate:(id)a1 handler:(id /* block */)a2; - (void)fetchPlacesWithinDistance:(double)a0 location:(id)a1 handler:(id /* block */)a2; - (void)storeLocationsOfInterest:(id)a0 handler:(id /* block */)a1; - (void)fetchLocationOfInterestVisitedFirstWithHandler:(id /* block */)a0; - (void)fetchPlacesWithHandler:(id /* block */)a0; - (void)_fetchLocationsOfInterestWithinDistance:(double)a0 location:(id)a1 handler:(id /* block */)a2; - (void)fetchPlacesWithMapItem:(id)a0 predicate:(id)a1 handler:(id /* block */)a2; - (id)fetchVisitIdentifiersUsingFetchRequest:(id)a0 context:(id)a1 error:(id *)a2; - (void)_replaceWithLocationsOfInterest:(id)a0 handler:(id /* block */)a1; - (void)fetchMetricsWithHandler:(id /* block */)a0; - (void)removePlacesForLocationOfInterest:(id)a0 handler:(id /* block */)a1; - (id)fetchRequestFromLocationOfInterestOptions:(id)a0; - (void)removeVisitsWithHandler:(id /* block */)a0; - (void)_fetchLastVisitWithHandler:(id /* block */)a0; - (void)_fetchLocationsOfInterestWithVisitsWithinDistance:(double)a0 location:(id)a1 handler:(id /* block */)a2; - (void)_removePlacesWithHandler:(id /* block */)a0; - (void)_fetchInferredMapItemForVisitIdentifier:(id)a0 handler:(id /* block */)a1; - (BOOL)_updateExpirationDateOfVisitsAndTransitionsWithVisitIdentifiers:(id)a0 expirationDate:(id)a1 context:(id)a2 visitsUpdated:(unsigned long long *)a3 error:(id *)a4; - (id)groupCloudManagedObjectsByDeviceIdentifier:(id)a0; - (void)_removeUnreferencedMapItems:(id /* block */)a0; - (void)fetchTransitionWithOriginIdentifier:(id)a0 handler:(id /* block */)a1; - (void)fetchVisitsPredating:(id)a0 handler:(id /* block */)a1; - (void)_migrateLegacyMapItemsWithEnumerationBlock:(id /* block */)a0 completionBlock:(id /* block */)a1; - (void)removeLocationOfInterestWithIdentifier:(id)a0 handler:(id /* block */)a1; - (void)fetchDevicesNotFromCurrentDeviceWithHandler:(id /* block */)a0; - (void)fetchLocationsOfInterestWithinDistance:(double)a0 location:(id)a1 handler:(id /* block */)a2; - (void)clearWithHandler:(id /* block */)a0; - (void)removePlacesWithHandler:(id /* block */)a0; - (void)fetchTransitionsBetweenStartDate:(id)a0 endDate:(id)a1 handler:(id /* block */)a2; - (void)_fetchVisitsToPlace:(id)a0 handler:(id /* block */)a1; - (void)_logLocalStoreWithReason:(id)a0 handler:(id /* block */)a1; - (void)expireLifetimeOfVisitsWithIdentifiers:(id)a0 expirationDate:(id)a1 handler:(id /* block */)a2; - (void)_removeLocationOfInterestWithIdentifier:(id)a0 handler:(id /* block */)a1; - (void)_fetchCountOfVisitsToPlaceWithIdentifier:(id)a0 endDate:(id)a1 handler:(id /* block */)a2; - (void)fetchLastVisitToPlaceWithIdentifier:(id)a0 handler:(id /* block */)a1; - (void)_removePlace:(id)a0 handler:(id /* block */)a1; - (void)_fetchPlacesWithinDistance:(double)a0 location:(id)a1 predicate:(id)a2 handler:(id /* block */)a3; - (void)_fetchLocationsOfInterestWithPlaceType:(unsigned long long)a0 handler:(id /* block */)a1; - (void)enumerateStoredLocationsOfInterestWithOptions:(id)a0 enumerationBlock:(id /* block */)a1; - (void)storePlaces:(id)a0 handler:(id /* block */)a1; @end