import { ConnectionConfig, Connection, ConnectionPool } from '../../../domain'; import { OrmH3lp } from '../../../../shared/infrastructure'; export declare abstract class ConnectionPoolAdapter implements ConnectionPool { protected readonly helper: OrmH3lp; config: ConnectionConfig; connections: Connection[]; constructor(config: ConnectionConfig, helper: OrmH3lp); acquire(): Promise; release(connection: Connection): Promise; end(): Promise; abstract init(): Promise; protected abstract create(id: string): Promise; }