import pg from 'pg'; export interface PostgresTestUtilsOptions { database: string; user?: string; host?: string; poolConfig?: Pick; defaultDatabase?: string; prepareAfterReset?: (client: pg.Client) => Promise; } interface CreateDatabaseOptions { dropExistingDatabase?: boolean; database?: string; templateDatabase?: string; configurePool?: boolean; prepare?: (client: pg.Client) => Promise; } interface DropDatabaseOptions { database?: string; force?: boolean; closePool?: boolean; } export interface PostgresTestUtils { createDatabase: (options?: CreateDatabaseOptions) => Promise; resetDatabase: () => Promise; dropDatabase: (options?: DropDatabaseOptions) => Promise; getDatabaseNameForCurrentTestWorker: () => string; getPoolConfig: () => pg.PoolConfig; } export declare function makePostgresTestUtils(options: PostgresTestUtilsOptions): PostgresTestUtils; export {}; //# sourceMappingURL=test-utils.d.ts.map