import { type PostgresDialectConfig as KyselyPostgresDialectConfig } from "kysely";
import { PostgresConnection } from "./PostgresConnection";
import type { Pool } from "pg";
export type PostgresDialectConfig = Omit<KyselyPostgresDialectConfig, "pool"> & {
    pool: Pool;
};
export declare class PgPostgresConnection extends PostgresConnection<Pool> {
    name: string;
    constructor(config: PostgresDialectConfig);
    close(): Promise<void>;
}
export declare function pg(config: PostgresDialectConfig): PgPostgresConnection;
