import type { IfExprAst } from './if-expr-parser';
/**
 * Evaluate an IfExprAst against a runtime scope (train.json snapshot).
 * Returns boolean. Designed to NEVER throw — spec §5.4 null-safe semantics:
 *
 *  - `x == null` / `null == x` / `x != null` / `null != x` → strict === / !==
 *  - 其他与 null 比较（如 `x == 5` 当 x=null）→ false（不报错）
 *  - 关系算子两边任一为 null → false
 *  - 类型不匹配（如 `"abc" > 5`）→ false
 *  - && / || 短路：null 视为 falsy
 *  - 未定义变量 = null
 */
export declare function evaluateIfExpr(ast: IfExprAst, scope: Record<string, unknown>): boolean;
//# sourceMappingURL=if-expr-evaluator.d.ts.map