import { Layer } from "effect"; import { PgClient } from "@effect/sql-pg"; //#region src/PgClient.d.ts /** `PgClient.PgPoolConfig` without `stream`, which this module sets. */ export type Config = Omit, "stream">; /** * `PgClient.layer` from `@effect/sql-pg` that keeps the Function instance up * until the pool has closed every connection, or the request's deadline * comes. Off Vercel it behaves like the plain layer. * * It opens each socket itself, through the `stream` option, and moves the * wait to the request that takes each connection, through `onAcquire`. An * `onAcquire` in `config` still runs, after that. */ export declare const layer: (config: Config) => Layer.Layer>; //#endregion //# sourceMappingURL=PgClient.d.ts.map