import type { DataSource as dataSource } from "../data-source/DataSource";
import { EntityManager } from "./EntityManager";
import type { QueryRunner } from "../query-runner/QueryRunner";
/**
 * Helps to create entity managers.
 */
export declare class EntityManagerFactory {
    /**
     * Creates a new entity manager depend on a given connection's driver.
     * @param connection
     * @param queryRunner
     */
    create(connection: dataSource, queryRunner?: QueryRunner): EntityManager;
}
