import { Decimal } from 'decimal.js'; import { Type } from '../types/datatype'; import { EnvInputType } from './environment'; import { SymbolTable } from './symboltable'; declare class Constant { readonly symbolTable: SymbolTable; readonly values: Map; constructor(symbolTable: SymbolTable); get(key: string): Type | undefined; /** * create or assign a constant with value * @param {string} key constants name * @param {Type | Big.Decimal | number | string} value value */ set(key: string, value: Type | Decimal | number | string): void; /** * import values from Object or map into constants * @param {Object | Map} values */ use(values: EnvInputType): void; } export { Constant };