import { a as Schema, s as TransactionalDatabase } from "../index-DrgOX0Fu.js";
import { PGlite } from "@electric-sql/pglite";
import { PgliteDatabase } from "drizzle-orm/pglite";
//#region src/postgres/pglite.d.ts
type PgliteTransactionalDatabase<S extends Schema> = Omit<PgliteDatabase<S>, 'transaction'> & {
  transaction: TransactionalDatabase<S>['transaction'];
  /** drizzle attaches the driver instance; declared so callers can close the database in teardown. */
  $client: PGlite;
};
declare function createPgliteClient<S extends Schema>(opts?: {
  schema?: S;
  dataDir?: string;
}): PgliteTransactionalDatabase<S>;
//#endregion
export { createPgliteClient };