import { IMySQLConfig } from './db.mysql.config';
import { PoolConnection } from 'mysql';
/**
 * @description 数据库连接池管理 支持多数据库的管理
 */
export declare class DBConnectionManager {
    private static readonly poolMap;
    private static getKey;
    private static getPool;
    /**
     * 获取一个数据库连接对象
     * mysql.PoolConnection
     */
    static getConnection(config: IMySQLConfig): Promise<PoolConnection>;
}
