import type { SandboxConfig, ExecutionResult, HostFunction } from './types.js'; export declare class CodeActSandbox { private config; private registeredFunctions; constructor(config?: Partial); /** Pre-load WASM module (call at server startup for fast first execution) */ static warmup(): Promise; /** Register an async host function to be injected into sandbox */ registerFunction(name: string, fn: HostFunction): void; /** Unregister a host function */ unregisterFunction(name: string): void; /** Get list of registered function names */ getRegisteredFunctions(): string[]; /** Execute JS code in a sandboxed QuickJS context */ execute(code: string): Promise; private _injectConsole; private _injectAsyncFunction; private _normalizeError; } //# sourceMappingURL=sandbox.d.ts.map