import type { DrizzleConfig } from 'drizzle-orm'; import type { NodePgDatabase } from 'drizzle-orm/node-postgres'; import type { Client, Pool, PoolClient, PoolConfig } from 'pg'; import type { Schema } from '../types'; export type NodePgClient = Pool | PoolClient | Client; export type PostgresDataSourceOptions = { type: 'postgresql'; } & DrizzleConfig & ({ connection: string | PoolConfig; } | { client: NodePgClient; }); export type PostgresDrizzle = NodePgDatabase & { $client: NodePgClient; }; export interface PostgresExecuteResult { command: string; rowCount: number; oid: unknown; rows: unknown[]; fields: unknown[]; RowCtor: unknown; rowAsArray: boolean; } //# sourceMappingURL=interface.d.ts.map