import { PgClient, PgMigrator } from '@effect/sql-pg'; import { Effect, Layer, Redacted } from 'effect'; export type PgConfigurationService = { readonly username: string; readonly password: Redacted.Redacted; readonly database: string; readonly host: string; readonly port: number; readonly maxConnections?: number; }; declare const PgConfiguration_base: import("effect/Context").TagClass & Effect.Tag.Proxy & { use: (body: (_: PgConfigurationService) => X) => [X] extends [Effect.Effect] ? Effect.Effect : [X] extends [PromiseLike] ? Effect.Effect : Effect.Effect; }; export declare class PgConfiguration extends PgConfiguration_base { } export declare const PgLive: Layer.Layer; export declare const makePgConfigurationLive: (prefix: string) => Layer.Layer; export declare const PgConfigurationLive: Layer.Layer; export declare const PostgresLive: Layer.Layer; export {}; //# sourceMappingURL=postgres.d.ts.map