/** * Sources: * - Copyright (c) 2013 Stephen Oney, http://jsep.from.so/, MIT License * - Copyright (c) 2023 Don McCurdy, https://github.com/donmccurdy/expression-eval, MIT License */ import jsep from 'jsep'; declare type operand = number | string; declare type unaryCallback = (a: operand) => operand; declare type binaryCallback = (a: operand, b: operand) => operand; declare function evaluate(_node: jsep.Expression, context: object): any; declare function evalAsync(_node: jsep.Expression, context: object): any; declare function compile(expression: string | jsep.Expression): (context: object) => any; declare function compileAsync(expression: string | jsep.Expression): (context: object) => Promise; declare function addUnaryOp(operator: string, _function: unaryCallback): void; declare function addBinaryOp(operator: string, precedenceOrFn: number | binaryCallback, _function: binaryCallback): void; export { jsep as parse, evaluate as eval, evalAsync, compile, compileAsync, addUnaryOp, addBinaryOp }; //# sourceMappingURL=expression-eval.d.ts.map