import pg from 'pg'; export type TestCluster = { /** Opens a pool against the throwaway cluster. */ createPool: (max?: number) => pg.Pool; stop: () => Promise; }; /** * Starts a throwaway PostgreSQL cluster (binaries from `POSTGRES_BIN_DIR`, `PATH` or a standard * install location). Returns undefined when no server can run here, for example inside a sandbox * that forbids shared memory, so the real-database suites skip. Under CI that is a failure * instead, so the real-database tests cannot be silently skipped there. */ export declare function tryStartTestCluster(): Promise;