/** * JSON Logic expression evaluation */ import type { NodeExecutionRecord } from "../types/execution.js"; /** * Evaluate a JSON Logic rule with the given context data * @param rule - JSON Logic rule (can be any valid JSON Logic structure) * @param context - Context data object to evaluate the rule against * @param history - Execution history for history functions * @param currentIndex - Current execution index for history functions * @returns Boolean result of the rule evaluation */ export declare function evaluateJsonLogic(rule: unknown, context: Record, history: NodeExecutionRecord[], currentIndex: number): Promise; /** * Validate JSON Logic rule syntax without evaluating it * Validates rule structure and any JSONata expressions in var operations * @param rule - JSON Logic rule to validate * @throws Error if syntax is invalid */ export declare function validateJsonLogicSyntax(rule: unknown): void; //# sourceMappingURL=json-logic.d.ts.map