/** * PostgreSQL storage backend for RecCall * Provides enterprise-grade storage with ACID compliance and query capabilities */ import type { IContextStorage, ShortcutId, Shortcut } from '../core/interfaces.js'; type Pool = any; export interface PostgresStorageConfig { pool?: Pool; connectionString?: string; tableName?: string; } export declare class PostgresStorage implements IContextStorage { private pool; private tableName; constructor(config: PostgresStorageConfig); /** * Initialize database schema */ initialize(): Promise; record(shortcut: ShortcutId, context: string, options?: Record): Promise; get(shortcut: ShortcutId): Promise; list(): Promise; update(shortcut: ShortcutId, context: string, options?: Record): Promise; delete(shortcut: ShortcutId): Promise; purge(): Promise; exists(shortcut: ShortcutId): Promise; getByCategory(category: string): Promise; /** * Close database connections */ close(): Promise; /** * Get database pool instance */ getPool(): Pool; } export {}; //# sourceMappingURL=postgres.d.ts.map