@class NSCache, NSMutableDictionary, NSMutableSet; @interface CKSearchThumbnailPreviewGenerator : NSObject @property (retain, nonatomic) NSCache *thumbnailCache; @property (retain, nonatomic) NSCache *livePhotoStatusCache; @property (retain, nonatomic) NSCache *spatialStatusCache; @property (retain, nonatomic) NSCache *videoDurationCache; @property (retain, nonatomic) NSCache *lpLinkMetadataCache; @property (retain, nonatomic) NSCache *lpWalletItemPropertiesMetadataCache; @property (retain, nonatomic) NSMutableDictionary *mapHashesCache; @property (retain, nonatomic) NSMutableSet *keysWithInFlightGeneration; @property (retain, nonatomic) NSMutableSet *keysWithInFlightLivePhotoStatus; @property (retain, nonatomic) NSMutableSet *keysWithInFlightSpatialStatus; @property (retain, nonatomic) NSMutableSet *keysWithInFlightVideoDurationCalculation; @property (retain, nonatomic) NSMutableSet *keysWithInFlightLPLinkMetadataGeneration; @property (retain, nonatomic) NSMutableSet *keysWithInFlightLPWalletItemPropertiesMetadataGeneration; + (id)sharedInstance; + (id)__singleton__im; + (void)__setSingleton__im:(id)a0; - (id)init; - (void).cxx_destruct; - (BOOL)hasCachedPreviewForQueryResult:(id)a0; - (void)_asyncLoadCachedDiskPreviewForKeyIfAvailable:(id)a0 completion:(id /* block */)a1; - (struct { long long x0; int x1; unsigned int x2; long long x3; })_calculateDurationForVideoResult:(id)a0; - (BOOL)_checkResultForLivePhotoComplement:(id)a0; - (BOOL)_checkResultForSpatialMedia:(id)a0; - (void)_generateMapThumbnailForKey:(id)a0 attributes:(id)a1 traitCollection:(id)a2 completion:(id /* block */)a3; - (id)_lpPreviewLoadQueue; - (id)_lpWalletItemLinkPreviewLoadQueue; - (void)_persistPreview:(id)a0 atURL:(id)a1; - (id)_previewLoadQueue; - (id)_previewURLForKey:(id)a0; - (void)_prewarmLinkMetadata:(id)a0; - (void)beginFetchingLinkMetadataForQueryResult:(id)a0; - (void)beginGeneratingWebLinkPresentationPropertiesForQueryResult:(id)a0; - (id)cachedLinkMetadataForQueryResult:(id)a0; - (id)cachedMapPreviewForQueryResult:(id)a0 traitCollection:(id)a1; - (id)cachedPreviewForKey:(id)a0; - (id)cachedPreviewForQueryResult:(id)a0; - (id)cachedPreviewOrNullForKey:(id)a0; - (id)cachedWalletItemLinkPropertiesForQueryResult:(id)a0; - (struct { long long x0; int x1; unsigned int x2; long long x3; })durationForVideoResult:(id)a0; - (void)generateAndCacheIconWithURL:(id)a0 key:(id)a1 completion:(id /* block */)a2; - (void)generateAndCachePassWithURL:(id)a0 forKey:(id)a1 completion:(id /* block */)a2; - (void)generateAndCacheThumbnailWithURL:(id)a0 request:(id)a1 key:(id)a2 completion:(id /* block */)a3; - (void)generateMapPreviewForQueryResult:(id)a0 traitCollection:(id)a1; - (void)generatePreviewForQueryResult:(id)a0; - (BOOL)hasCachedLinkMetadataForQueryResult:(id)a0; - (BOOL)hasCachedMapPreviewForQueryResult:(id)a0 traitCollection:(id)a1; - (BOOL)hasCachedPreviewForKey:(id)a0; - (BOOL)hasCachedWalletItemLinkPropertiesForQueryResult:(id)a0; - (id)mapKeyForQueryResult:(id)a0 traitCollection:(id)a1; - (id)mapPlaceholderImageForTraitCollection:(id)a0; - (BOOL)queryResultHasLivePhoto:(id)a0; - (BOOL)queryResultIsSpatial:(id)a0; - (BOOL)queryResultIsVideo:(id)a0; @end