/****************************************************************************** * Copyright 2021 TypeFox GmbH * This program and the accompanying materials are made available under the * terms of the MIT License, which is available in the project root. ******************************************************************************/ import type { Definition, Evaluation, Expression, Module } from './generated/ast.js'; export declare function interpretEvaluations(module: Module): Map; export interface InterpreterContext { module: Module; context: Map; result: Map; } export declare function evalExpression(expr: Expression, ctx?: InterpreterContext): number; //# sourceMappingURL=arithmetics-evaluator.d.ts.map