import { ExecutionContext } from '../../types.js'; import { SandboxProvider, ToolDispatcher } from './sandbox.interface.js'; import { ExecutionLimits, SandboxExecutionResult } from './types.js'; /** * Sandboxed execution provider utilizing QuickJS compiled to WebAssembly. * Guarantees memory isolation and cross-platform zero-dependency execution. */ export declare class QuickJsWasmSandboxProvider implements SandboxProvider { readonly name = "quickjs-wasm"; /** * Warms the QuickJS WebAssembly module so the first execute() does not pay for * compilation. `getQuickJS` memoizes process-wide, so there is nothing to cache here. */ initialize(): Promise; /** * Executes a user-provided script in the QuickJS WebAssembly sandbox. */ execute(code: string, dispatcher: ToolDispatcher, limits: ExecutionLimits, context?: ExecutionContext): Promise; /** * No-op: each execute() builds and tears down its own runtime and context, and the * WebAssembly module itself is shared process-wide rather than owned here. */ dispose(): Promise; } //# sourceMappingURL=quickjs-wasm.provider.d.ts.map