import { type AuditListOptions, type ConversationAuditEntry, type Session, type SessionStore } from '@kuralle-agents/core'; import type { QueryResult } from 'pg'; type PostgresClient = { query: (text: string, params?: unknown[]) => Promise; }; export type PostgresStoreOptions = { client: PostgresClient; tableName?: string; auditTableName?: string; autoMigrate?: boolean; }; export declare class PostgresSessionStore implements SessionStore { private client; private table; private auditTable; private ready; constructor(options: PostgresStoreOptions); private init; get(id: string): Promise; save(session: Session): Promise; delete(id: string): Promise; list(userId?: string): Promise; cleanup(maxAgeMs: number): Promise; appendAuditEntry(sessionId: string, entry: ConversationAuditEntry): Promise; listAuditEntries(sessionId: string, opts?: AuditListOptions): Promise; } export {};