/** * Typed circuit description → SPICE deck translation. * * Every card is built from typed, validated component data — there is no path from tool * input to a raw SPICE deck string. Net and reference-designator names are restricted to * a safe identifier pattern before being embedded in deck text (see `assertSafeIdentifier`), * so even a caller-supplied node name cannot inject additional SPICE cards or `.control` * directives. * * @module */ import type { SimAnalysis, SimCircuit } from './types.js'; export declare function assertSafeIdentifier(value: string, kind: string): void; /** Build a complete, ngspice-batch-mode-ready SPICE deck for the given circuit and analysis. */ export declare function buildSpiceDeck(circuit: SimCircuit, analysis: SimAnalysis): string;