import type { OfflineVectorExport } from './types.js'; export interface OfflineStorageMeta { version: string; exportedAt: string; documentCount: number; chunkCount: number; type: 'general' | 'tenant' | 'combined'; } /** * IndexedDB storage for offline vector exports * Provides persistent caching of pre-computed TF-IDF vectors */ export declare class CyberneticOfflineStorage { private db; private dbPromise; private readonly dbName; private readonly dbVersion; /** * Initialize IndexedDB for vector storage */ private initDB; /** * Store vector export in IndexedDB */ store(id: string, exportData: OfflineVectorExport): Promise; /** * Retrieve vector export from IndexedDB */ retrieve(id: string): Promise; /** * Check if cached vectors are valid (not expired) */ isValid(id: string, maxAge: number): Promise; /** * Get cached export metadata without loading full data */ getMeta(id: string): Promise; /** * Check if any cached vectors exist */ hasData(): Promise; /** * Get all cached export IDs */ getStoredIds(): Promise; /** * Clear specific cached vectors */ delete(id: string): Promise; /** * Clear all cached vectors */ clear(): Promise; /** * Get the database connection */ private getDB; /** * Close database connection */ close(): void; } //# sourceMappingURL=CyberneticOfflineStorage.d.ts.map