/** * Heuristic net/pin electrical-type classification from naming conventions, * used to auto-extract a semantic netlist from a live EasyEDA schematic * where reliable per-pin metadata isn't available from the bridge. * * EasyEDA's own pin `pinType` field is unreliably authored across its * library — live-verified: a plain resistor's pins report "IN" (meaningless * for a passive part) while a real op-amp's (LM358) pins all report * "Undefined". Name-pattern matching is tried first; native pinType is only * consulted as a fallback for a pin whose name gives no signal. * * @module */ import { type PinElectricalType } from './schema.js'; /** Classify a net name into the coarse type semantic ERC needs, reusing the * same naming-convention patterns already used for net-name domain checks. */ export declare function classifyNetType(netName: string): 'power' | 'signal' | 'ground'; /** * Best-effort electrical-type classification for a single pin. Returns * undefined (unclassified) rather than guessing wrong — callers should treat * that as "skip pin-type checks for this pin", not an error, and default the * pin to 'passive' in a DeviceValidationEntry so unclassified pins never * trigger a floating-input/output-contention/missing-power false positive. */ export declare function classifyPinElectricalType(pinName: string | undefined, nativePinType: string | undefined): PinElectricalType | undefined;