import Visitor from './visitor.js'; export default class Jinter { #private; /** * The node visitor. This is responsible for walking the AST and executing the nodes. */ visitor: Visitor; /** * The global scope of the program. */ scope: Map; constructor(); defineObject(name: string, obj: T): void; /** * Generates an AST from the input. */ parseScript(input: string): import("../acorn.js").ExtendNode; /** * Evaluates the program. * @returns The result of the last statement in the program. */ evaluate(input: string): any; }