import type { Dialect, ExtraOptions, Querier, QuerierPool } from '../type/index.js'; export declare abstract class AbstractQuerierPool implements QuerierPool { readonly dialect: Dialect; readonly extra?: ExtraOptions | undefined; constructor(dialect: Dialect, extra?: ExtraOptions | undefined); /** * get a querier from the pool. */ abstract getQuerier(): Promise; /** * get a querier from the pool and run the given callback inside a transaction. */ transaction(callback: (querier: Q) => Promise): Promise; /** * get a querier from the pool, run the given callback, and release the querier. */ withQuerier(callback: (querier: Q) => Promise): Promise; /** * end the pool. */ abstract end(): Promise; } //# sourceMappingURL=abstractQuerierPool.d.ts.map