import { Frame, Environment } from '../index'; import { Executor } from './Executor'; export declare class ExpressionEvaluator { private frame; private globals; private executor; constructor(frame: Frame, globals: Environment, executor?: Executor | null); evaluate(expr: string): Promise; /** * Replace all subexpressions $(...) in an expression string with their evaluated values */ private replaceSubexpressions; /** * Extract a subexpression $(...) from a string, starting at the given position * Returns null if no valid subexpression is found */ private extractSubexpressionFromString; private executeFunctionCall; private resolveVariable; }