import { Client, Pool } from 'pg';
export declare function getPool(): Pool;
export declare function closePool(): Promise<void>;
/**
 * HotMesh connection descriptor: `{ class: Client, options: postgres_options }`.
 * Use this everywhere HotMesh / Durable APIs need a connection config
 * instead of importing `pg` and `postgres_options` directly.
 */
export declare function getConnection(): {
    class: typeof Client;
    options: Record<string, unknown>;
};
