import { type Configuration, type Constructor, EntityManagerType } from '@mikro-orm/core';
import { AbstractSqlDriver } from '@mikro-orm/sql';
import { PostgreSqlConnection } from './PostgreSqlConnection.js';
import { PostgreSqlMikroORM } from './PostgreSqlMikroORM.js';
import { PostgreSqlEntityManager } from './PostgreSqlEntityManager.js';
/** Database driver for PostgreSQL. */
export declare class PostgreSqlDriver extends AbstractSqlDriver<PostgreSqlConnection> {
  [EntityManagerType]: PostgreSqlEntityManager<this>;
  constructor(config: Configuration);
  createEntityManager(useContext?: boolean): this[typeof EntityManagerType];
  /** @inheritDoc */
  getORMClass(): Constructor<PostgreSqlMikroORM>;
}
