import { Scope } from "./run/Scope"; import { AXFunction } from "./run/AXFunction"; import { MethodInfo } from "./abc/lazy/MethodInfo"; /** * Helps the interpreter allocate fewer Scope objects. */ export declare class ScopeStack { parent: Scope; stack: any[]; isWith: boolean[]; scopes: Scope[]; constructor(parent: Scope); push(object: any, isWith: boolean): void; get(index: any): any; clear(): void; pop(): void; topScope(): Scope; } export declare function interpret(methodInfo: MethodInfo, savedScope: Scope, callee: AXFunction): any;