/**
 * PostgreSQL driver adapter for `Db`.
 *
 * Provides `create_pg_db()` to construct a `Db` backed by a `pg.Pool`.
 * Only imports `pg` types — the actual `pg` package is dynamically imported
 * by callers (e.g., `create_db`) that construct the `Pool`.
 *
 * @module
 */
import type { Pool } from 'pg';
import { type DbDriverResult } from './db.js';
/**
 * Create a `Db` backed by a `pg.Pool`.
 *
 * Owns the transaction implementation, acquiring a dedicated pool client
 * per transaction.
 *
 * @param pool - an already-constructed `pg.Pool`
 * @returns the `Db` instance and a `close` callback bound to `pool.end()`
 */
export declare const create_pg_db: (pool: Pool) => DbDriverResult;
//# sourceMappingURL=db_pg.d.ts.map