export interface SandboxOptions { timeout?: number; maxMemory?: number; allowedModules?: string[]; blacklistedFunctions?: string[]; } export interface SandboxResult { success: boolean; result?: any; error?: string; executionTime: number; memoryUsed?: number; } export declare class CodeSandbox { private options; constructor(options?: SandboxOptions); executeCode(code: string): Promise; private validateCode; private executeInIsolation; private createSecureWrapper; private executeInProcess; }