/** * Gets the version of the WASM OpenSCAD engine. * @returns {Promise} Resolves with the version string. */ export function getWasmVersion(): Promise; /** * Compiles OpenSCAD code using the WASM engine, emitting live updates. * @param {string} scadCode - The OpenSCAD code. * @param {string} [fileType='stl'] - Output file type (e.g., 'stl', 'amf'). * @param {string[]} [args=[]] - Extra command-line arguments. * @returns {EventEmitter} Emits 'stdout', 'stderr', 'done', and 'error' events. */ export function compileWasm(scadCode: string, fileType?: string, args?: string[]): EventEmitter; import { EventEmitter } from 'events';