import type { CachedDocument, CacheStatus } from './types.js'; interface CacheConfig { storage: 'indexeddb' | 'localstorage'; maxAge: number; } /** * Document cache for offline RAG fallback */ export declare class CyberneticCache { private config; private db; private dbPromise; private documentCount; private lastSyncAt; constructor(config: CacheConfig); /** * Load metadata from localStorage */ private loadLocalStorageMetadata; /** * Initialize IndexedDB */ private initDB; /** * Get database instance */ private getDB; /** * Load cached metadata (count, last sync) */ private loadMetadata; /** * Store documents in cache */ store(documents: CachedDocument[]): Promise; /** * Retrieve all cached documents */ retrieve(): Promise; /** * Get last sync timestamp */ getLastSync(): Promise; /** * Get cache status */ getStatus(): CacheStatus; /** * Clear all cached data */ clear(): Promise; private storeLocalStorage; private retrieveLocalStorage; } export {}; //# sourceMappingURL=CyberneticCache.d.ts.map