@class FPItemManager, QLSqliteDatabase, NSString; @interface QLCacheIndexDatabase : NSObject { NSString *_databasePath; } @property (readonly) unsigned long long maxThumbnailLifeTime; @property (readonly) unsigned long long fileEntryCount; @property (readonly) unsigned long long thumbnailCount; @property (readonly) QLSqliteDatabase *database; @property (readonly) unsigned long long reserveBufferCount; @property (readonly) unsigned long long reserveBufferSize; @property (retain) FPItemManager *itemManager; - (void)noteRemoteThumbnailMissingForItems:(id)a0; - (id)itemsAfterFilteringOutItemsWithMissingThumbnails:(id)a0; - (BOOL)beginTransaction; - (BOOL)setLastHitDateOfAllCachedThumbnailsToDate:(id)a0; - (void)noteRemoteThumbnailPresentForItems:(id)a0; - (id)lastCrapWithDate:(id *)a0; - (void)close; - (BOOL)itemIsMissingRemoteThumbnail:(id)a0; - (void)checkpoint; - (BOOL)insertOrUpdateImageDataForCacheId:(unsigned long long)a0 size:(float)a1 iconMode:(unsigned char)a2 badgeType:(unsigned long long)a3 iconVariant:(long long)a4 interpolationQuality:(int)a5 bitmapFormat:(id)a6 bitmapDataBlobInfo:(id)a7 metadataBlobInfo:(id)a8 flavor:(int)a9 contentRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a10 externalGeneratorDataHash:(unsigned long long)a11 lastHitDate:(id)a12; - (id)initWithPath:(id)a0; - (id)removeThumbnailsOlderThanDate:(id)a0; - (unsigned long long)sizeSumOfThumbnailsOlderThanDate:(id)a0; - (void)reset; - (void)endTransaction; - (id)allBuffersIncludingReserved:(BOOL)a0; - (void)open; - (id)_removeThumbnailsFromStatement:(struct sqlite3_stmt { } *)a0; - (id)removeOldThumbnails; - (id)removeAllThumbnailsForCacheId:(unsigned long long)a0; - (id)batchOfFileProviderItemsStartingAtRowId:(unsigned long long)a0 endingAtRowId:(unsigned long long *)a1; - (void)_createTables; - (void)addReservedBufferWithBlobInfo:(id)a0; - (BOOL)doesExist; - (id)removeThumbnailsForDeletedFiles; - (unsigned long long)insertOrUpdateThumbnailWithVersionedFileIdentifier:(id)a0 shouldInvalidAllThumbnailSizes:(BOOL *)a1 added:(BOOL *)a2; - (id)queryCacheForFileRequests:(id)a0; - (id)removeFilesFromUninstalledFileProvidersWithIdentifiers:(id)a0; - (id)allReservedBuffers; - (id)removePercentageOldestThumbnails:(unsigned long long)a0; - (id)enumeratorForAllUbiquitousFiles:(BOOL)a0 withExtraInfo:(BOOL)a1; - (BOOL)isValid; - (id)removeFilesFromUninstalledFileProvidersWithRemainingFileProviderIdentifiers:(id)a0; - (void)save; - (void).cxx_destruct; - (id)removeFilesWithFileInfo:(id)a0; - (unsigned long long)missingRemoteThumbnailsCountForFileProviderIds:(id)a0; - (void)updateHitCount:(id)a0 forFileIdentifier:(id)a1; - (id)removeFilesFromUninstalledFileProvidersWithIdentifiers:(id)a0 whichAreRemaining:(BOOL)a1; - (BOOL)add:(unsigned long long)a0 blobInfosStartingAtColumn:(unsigned long long)a1 ofSteppedStatement:(struct sqlite3_stmt { } *)a2 toArray:(id)a3; - (id)removeThumbnailsWithCacheIds:(id)a0; - (unsigned long long)_cacheIdForFileIdentifier:(id)a0 createVersion:(id *)a1; - (id)itemsGroupedByProviderDomain:(id)a0; - (void)_deleteAllTables; - (BOOL)removeReservedBufferWithBlobInfo:(id)a0; - (id)removeThumbnailForFileIdentifier:(id)a0; - (void)removeUbiquitousFilesWithRowids:(id)a0; - (BOOL)getBlobInfoForCacheId:(unsigned long long)a0 size:(float)a1 iconMode:(unsigned char)a2 badgeType:(unsigned long long)a3 iconVariant:(long long)a4 interpolationQuality:(int)a5 externalGeneratorDataHash:(unsigned long long)a6 bitmapDataBlobInfo:(id *)a7 plistBufferBlobInfo:(id *)a8; - (id)batchOfRegularItemsStartingAtRowId:(unsigned long long)a0 endingAtRowId:(unsigned long long *)a1; - (void)do:(id /* block */)a0; - (void)removeBasicFilesWithRowids:(id)a0; @end