/** * Javascript expression evaluator, by wrapping expression in function(), with "variables" * object in scope. expression is expected to return boolean. Expressions are wrapped * inside Function() string for evaluation, with 'use strict'. * @param {string} expression javascript boolean expression. e.g. "a < b" * @param {object} variables the process variables snapshot at the point of evaluation * @returns {boolean} true if expression evaluates to true, else false * @throws {ExpressionEvalError} expression has to be of correct syntax and evaluate during rutime * @throws {InsecureExpressionError} express should only use variables as operands */ export declare function evaluateExpression(expression: string, variables: { [k: string]: unknown; }): boolean; //# sourceMappingURL=expressionEvaluator.d.ts.map