import { STObject } from "./STObject"; /** * A context holding variables in a Smalltalk program. */ export declare class STContext { readonly id: number; readonly jsContext: any; readonly delegates: STContext[]; private variables; private constructor(); static create(): STContext; /** * Creates a new STContext and associates a given * JavaScript context with it (to access scoped * variables using the Smalltalk-JS bridge for example) */ static createWith(jsContext: any): STContext; asDelegate(): STContext; hasVariable(name: string): boolean; declareLocals(names: string[]): void; getVariableLocally(name: string): STObject; setVariableLocally(name: string, value: STObject): void; setVariable(name: string, value: STObject, globalFirst: boolean): void; getVariable(name: string): STObject; verboseToString(): string; toString(): string; }