/** * Detect CHECK constraints that only enforce NOT NULL on a single column. * Used to align shadow vs target when constraint names differ but behavior matches. */ export declare function stripOuterParens(expr: string): string; /** * If `check_clause` is a single-column `IS NOT NULL`, return that column's name (unquoted). * Otherwise null. */ export declare function parseSingleColumnIsNotNullColumn(checkClause: string | null | undefined): string | null; /** * Stable key for "this CHECK is just NOT NULL on column X of table T". * Used to match source vs target without requiring identical constraint names. */ export declare function notNullCheckEquivalenceKey(tableName: string, constraintType: string, checkClause: string | null | undefined, columnName: string | null | undefined): string | null; export declare function collectNotNullCheckKeys(rows: Array<{ table_name: string; constraint_type: string; check_clause?: string | null; column_name?: string | null; }>): Set; //# sourceMappingURL=constraintNotNullEquivalence.d.ts.map