/** Canonical form: drop casts/brackets/parens, fold `= ANY (ARRAY[…])` back to `IN`, lower-case, collapse whitespace. */ export declare function normalizeCheckExpr(expr: string): string; /** True when two CHECK expressions are equivalent after normalization. */ export declare function checkExprEquals(a: string | undefined, b: string | undefined): boolean; /** * `CHECK ()` → `` (balanced outer wrapper); returns input unchanged * if there is no CHECK wrapper. Tolerates a trailing constraint modifier suffix * (`pg_get_constraintdef` can return `CHECK () NOT VALID`) so the wrapper * still strips cleanly to the inner expression instead of falling through to the * unchanged-input fallback (which would cause spurious drop+add churn). */ export declare function stripCheckWrapper(def: string): string; //# sourceMappingURL=check-expr-compare.d.ts.map