import pg from "pg";
export declare function getPool(): pg.Pool;
export declare function query<R extends pg.QueryResultRow>(text: string, values?: unknown[]): Promise<pg.QueryResult<R>>;
export declare function withTransaction<T>(fn: (client: pg.PoolClient) => Promise<T>): Promise<T>;
export declare function closePool(): Promise<void>;
