/** * KiCad Standard Footprint Mapper * Maps common package names to KiCad built-in footprints for hybrid approach * * CONSERVATIVE APPROACH: Only uses KiCad built-ins for 2-pad unpolarized passives (R/C/L). * All other components (ICs, transistors, diodes, etc.) generate custom footprints * to avoid pin-flip issues from pad numbering mismatches. */ export interface FootprintMapping { library: string; footprint: string; } /** * Map package name to KiCad standard footprint * * CONSERVATIVE APPROACH: Only returns built-in mappings for 2-pad unpolarized passives. * This avoids pin-flip issues that can occur when pad numbering differs between * EasyEDA data and KiCad built-in footprints (e.g., SOT-23 transistors have * different BCE/CBE/EBC pinouts across manufacturers). * * Returns null if no standard mapping exists (will fall back to generated footprint) */ export declare function mapToKicadFootprint(packageName: string, componentPrefix: string, _category?: string, _description?: string): FootprintMapping | null; /** * Get expected pad count for a KiCad footprint mapping * Used to validate that EasyEDA footprint matches before using built-in * * Returns null if pad count is unknown (caller should allow the mapping) */ export declare function getExpectedPadCount(mapping: FootprintMapping): number | null; /** * Get full KiCad footprint reference string * Format: "Library:Footprint" */ export declare function getKicadFootprintRef(mapping: FootprintMapping): string; /** * Check if a package is likely a standard passive that can use KiCad footprints */ export declare function isStandardPassive(packageName: string, prefix: string): boolean; //# sourceMappingURL=footprint-mapper.d.ts.map