@xynehq/jaf
Version:
Juspay Agent Framework - A purely functional agent framework with immutable state and composable tools
15 lines • 560 B
TypeScript
import { MemoryProvider, PostgresConfig } from '../types';
interface PostgresClient {
query(sql: string, params?: any[]): Promise<{
rows: any[];
rowCount: number;
}>;
end(): Promise<void>;
}
/**
* PostgreSQL memory provider - fully persistent with advanced querying
* Best for production environments requiring complex queries and full persistence
*/
export declare function createPostgresProvider(config: PostgresConfig, postgresClient: PostgresClient): Promise<MemoryProvider>;
export {};
//# sourceMappingURL=postgres.d.ts.map