import { CommandRegistry } from "../ipc"; /** * DbManager - Manages persistent key-value storage for Eden apps * * Provides namespace-isolated storage using SQLite backend via Keyv. * Each app gets its own namespace, preventing cross-app data access. */ export declare class DbManager { private keyv; private handler; constructor(commandRegistry: CommandRegistry, appsDirectory: string); /** * Get the namespaced key for an app */ private getNamespacedKey; /** * Extract the original key from a namespaced key */ private extractKey; /** * Get a value from storage for an app */ get(appId: string, key: string): Promise; /** * Set a value in storage for an app */ set(appId: string, key: string, value: string): Promise; /** * Delete a key from storage for an app */ delete(appId: string, key: string): Promise; /** * Clear all keys for an app */ clear(appId: string): Promise; /** * List all keys for an app */ list(appId: string): Promise; /** * Check if a key exists for an app */ has(appId: string, key: string): Promise; dispose(): Promise; } //# sourceMappingURL=DbManager.d.ts.map