import { type Chunk } from './chunk'; import { type RuntimeValue, type RuntimeFunction } from './types'; export declare class VM { private scriptDir?; private options?; private stack; private frames; private globals; private prompts; private interpreter; private memory; private openUpvalues; private handlers; private pendingError; private deadlineAt?; private timeoutMs?; private instructionCount; constructor(scriptDir?: string | undefined, options?: { safeMode?: boolean; allowLocalFs?: boolean; allowedPaths?: string[]; args?: string[]; profile?: boolean; timeoutMs?: number; deadlineAt?: number; modelUsageState?: any; } | undefined); run(chunk: Chunk): Promise; callCompiledFunction(fn: RuntimeFunction, args: RuntimeValue[]): Promise; private closeUpvalues; private execute; private normalizeCaughtError; private performCall; private createLazy; private forceValue; private callWithTimeout; private callWithProfile; private requireCallable; private callFunctionInIsolatedVm; private runWithRemainingTimeout; private checkTimeout; private push; private pop; private peek; private currentFrame; private readByte; private read16; } //# sourceMappingURL=vm.d.ts.map