/** * Connection factory — resolves `(type, connectionString, opts)` to an open * `DbConnection`. Keeps the tool layer driver-agnostic. * * The factory loads the per-engine driver via `createRequire` only when that * engine is actually requested; agents using SQLite never pay the cost of * having `pg` or `mysql2` resolvable. */ import { DbConnection, DbType } from '../types'; export interface CreateConnectionOptions { type: DbType; connectionString: string; allowWrites: boolean; } export declare function createConnection(opts: CreateConnectionOptions): Promise;