/**
 * Evaluate an expression body, transforming JSX to `React.createElement` only when the
 * parsed estree actually contains a JSX node. The raw `Function()` evaluator can't parse
 * JSX, so JSX-bearing expressions take the build-and-serialize path while everything else
 * evaluates directly. Input acorn can't parse falls back to the plain evaluator unchanged.
 */
export declare const evalExpression: (expression: string, scope: Record<string, unknown>) => any;
