/** * Storage Provider Factory * * Creates the appropriate storage provider based on configuration: * - Embedded (default): SQLite + Graphology + LRU-cache (no Docker) * - Server: PostgreSQL + Neo4j + Redis (for production) * * Usage: * ```typescript * import { getStorageProvider } from './storage'; * * // Get the global storage provider (auto-configured) * const storage = await getStorageProvider(); * * // Or with explicit configuration * const storage = await getStorageProvider({ * mode: 'embedded', * dataDir: '/custom/path' * }); * * // Use the stores * const vectors = storage.getVectorStore(); * const graph = storage.getGraphStore(); * const cache = storage.getCacheStore(); * const projects = storage.getProjectStore(); * ``` */ import { IStorageProvider, StorageConfig } from './interfaces'; /** * Load configuration from ~/.codeseeker/storage.json or environment */ export declare function loadStorageConfig(): StorageConfig; /** * Get the path to storage configuration file */ export declare function getConfigPath(): string; /** * Save storage configuration */ export declare function saveStorageConfig(config: StorageConfig): void; /** * Get the global storage provider * Creates one if it doesn't exist */ export declare function getStorageProvider(config?: StorageConfig): Promise; /** * Reset the global storage provider * Useful for testing or switching modes */ export declare function resetStorageProvider(): Promise; /** * Check if server storage is available */ export declare function isServerStorageAvailable(config?: StorageConfig): Promise<{ available: boolean; details: { postgres: boolean; neo4j: boolean; redis: boolean; }; }>; //# sourceMappingURL=storage-provider.d.ts.map