import type { Pool } from 'pg';
import { withTestTransaction } from './test-transaction.js';
export declare class TestDatabase {
    private pool;
    connect(): Promise<Pool>;
    getPool(): Pool;
    ensureLatestSchema(): Promise<void>;
    seedAdmin(): Promise<void>;
    withTransaction<T>(fn: Parameters<typeof withTestTransaction<T>>[1]): Promise<T>;
    close(): Promise<void>;
}
