export interface ExecutionResult { stdout: string; stderr: string; exitCode: number; durationMs: number; sandboxed: boolean; isolationType: 'docker' | 'subprocess' | 'python'; } export declare class SandboxEngine { private static pythonCommand; private static dockerAvailable; /** * Auto-detect available Python command (python, python3, py) */ static getPythonCommand(): Promise; /** * Check if Docker is installed and running */ static isDockerAvailable(): Promise; /** * Executes Python code in an isolated temporary runtime environment */ static executePython(code: string, workingDir?: string, timeoutMs?: number): Promise; /** * Executes Shell command with subprocess/docker isolation */ static executeShell(command: string, workingDir?: string, useDockerIfAvailable?: boolean, timeoutMs?: number): Promise; } //# sourceMappingURL=sandbox.d.ts.map