export interface PgMigrationResult { service: string; applied: number[]; alreadyApplied: number[]; errors: string[]; totalMigrations: number; } /** * TLS settings for a Postgres DSN. RDS presents a certificate chain the default * Node trust store does not carry, so `sslmode=require`/`ssl=true` DSNs opt into * encryption without chain verification — matching how every other economy * Postgres connection in this repo is dialled. */ export declare function resolvePgSsl(dsn: string): { rejectUnauthorized: false; } | undefined; /** * Apply an ordered array of SQL migrations to a PostgreSQL database. * * The statements are executed verbatim: `PG_MIGRATIONS` is already Postgres DDL, * so it is NOT passed through the SQLite->PG translator in `dialect.ts` (doing so * would be a no-op today — `pg-migrations.test.ts` asserts that — and simply * wrong for any future Postgres-native statement). * * @param connectionString - PG connection string (postgres://...) * @param migrations - Ordered array of SQL strings. Index = version number. * @param service - Service name for result reporting. */ export declare function applyPgMigrations(connectionString: string, migrations: string[], service?: string): Promise; //# sourceMappingURL=pg-migrate.d.ts.map