/** * Gets the version of the native OpenSCAD executable. * @param {string} executablePath - Path to the openscad executable. * @returns {Promise} Resolves with the version string. */ export function getNativeVersion(executablePath?: string): Promise; /** * Compiles OpenSCAD code using the native executable, emitting live updates. * @param {string} scadCode - The OpenSCAD code. * @param {string} executablePath - Path to the openscad executable. * @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 compileNative(scadCode: string, executablePath: string, fileType?: string, args?: string[]): EventEmitter; import { EventEmitter } from 'events';