import type { AsyncClient, SyncClient } from './types.js'; /** * Wrap a `SyncClient` so every error from `all` / `run` / `raw` / `iterate` * is normalized via `mapSqliteDriverError`. Mirrors `instrumentClient` * structurally — applied once at adapter-factory exit rather than per call. * * The error's `system` comes from the client's own `.system` field, so * adapters don't have to pass it twice. * * Transactions re-wrap the inner client so queries inside a tx get the same * error contract as queries outside it. */ export declare function wrapSyncClientErrors(client: SyncClient): SyncClient; export declare function wrapAsyncClientErrors(client: AsyncClient): AsyncClient;