import { SqlDriverAdapter } from '@prisma/driver-adapter-utils'; import { SqlDriverAdapterFactory } from '@prisma/driver-adapter-utils'; /** * Prisma ORM driver adapter for Prisma Postgres. * * This adapter allows Prisma Client to connect to Prisma Postgres databases * using the PPG client library for serverless and edge environments. * * @example * ```ts * import { PrismaClient } from '@prisma/client'; * import { PrismaPostgresAdapter } from '@prisma/ppg/adapter'; * * const adapter = new PrismaPostgresAdapter({ * connectionString: process.env.PRISMA_DIRECT_TCP_URL * }); * * const prisma = new PrismaClient({ adapter }); * ``` */ export declare class PrismaPostgresAdapter implements SqlDriverAdapterFactory { #private; readonly adapterName = "@prisma/ppg-adapter"; readonly provider = "postgres"; constructor(config: PrismaPostgresAdapterConfig); connect(): Promise; } /** * Configuration for the Prisma Postgres adapter. */ export declare interface PrismaPostgresAdapterConfig { /** * The URL of the Prisma Postgres Direct TCP connection. * Use the PRISMA_DIRECT_TCP_URL from your database connection details. */ connectionString: string | URL; } export { }