import { PoolClient } from 'pg'; export declare class Database { private pool; constructor(databaseUrl: string); /** * Executes a callback function within a database transaction. */ withTransaction(fn: (client: PoolClient) => Promise): Promise; /** * Shuts down the connection pool. */ shutdown(): Promise; }