/** * Code Executor Module * Safely executes generated code with timeout and cleanup */ import type { ExecuteResult } from './types.js'; /** * Infer language from file extension */ export declare function inferLanguageFromExtension(filename: string): string | null; /** * Execute code and return result */ export declare function executeCode(code: string, language: string, timeout?: number): Promise; /** * Save blocked code to temp directory for inspection */ export declare function saveBlockedCode(code: string, language: string): Promise;