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 app ID from a namespaced key
     */
    private extractAppId;
    /**
     * Extract the original key from a namespaced key
     */
    private extractKey;
    /**
     * Get a value from storage for an app
     */
    get(appId: string, key: string): Promise<string | undefined>;
    /**
     * Set a value in storage for an app
     */
    set(appId: string, key: string, value: string): Promise<void>;
    /**
     * Delete a key from storage for an app
     */
    delete(appId: string, key: string): Promise<boolean>;
    /**
     * Clear all keys for an app
     */
    clear(appId: string): Promise<void>;
    /**
     * List all keys for an app
     */
    list(appId: string): Promise<string[]>;
    /**
     * Check if a key exists for an app
     */
    has(appId: string, key: string): Promise<boolean>;
}
//# sourceMappingURL=DbManager.d.ts.map