/** * Transform unsafe migration SQL emitted by the diff/sql-emit pipeline into * safe SQL. * * `CREATE INDEX` → `CREATE INDEX CONCURRENTLY`, and the * `-- pipework:no-transaction` pragma is prepended so the runner applies the * migration outside a transaction (CONCURRENTLY cannot run inside one). * * Foreign-key safety (`NOT VALID` + `VALIDATE CONSTRAINT`) is decided upstream * in `emitSQL`: Postgres rejects `NOT VALID` foreign keys on partitioned * tables, and only the op metadata knows which tables are partitioned. A * text-level pass here cannot tell, so it must not touch foreign keys. Issue #312. */ export declare function postProcessMigration(sql: string): string; //# sourceMappingURL=post-process.d.ts.map