/** * ngspice detection and sandboxed batch execution. * * Always uses `execFile` (never `exec`/`spawn` with `shell: true`), so deck content is * never interpreted by a shell. The deck is written to a dedicated, freshly-created temp * directory that is removed afterward regardless of success or failure. * * @module */ import type { NgspiceAvailability } from './types.js'; export declare function detectNgspice(binary?: string): Promise; export interface RunNgspiceOptions { binary?: string; timeoutMs?: number; } export interface RunNgspiceResult { stdout: string; stderr: string; } /** Run an ngspice deck in batch mode inside a scratch temp directory. */ export declare function runNgspiceDeck(deck: string, options?: RunNgspiceOptions): Promise;