/** * Fetch reference SVGs from JLCPCB/EasyEDA API * * API Endpoint: https://easyeda.com/api/products/{LCSC_CODE}/svgs * * Returns pre-rendered SVGs for both symbol (docType: 2) and footprint (docType: 4) */ import type { ReferenceSVG } from './types.js'; /** * Fetch reference SVG from JLCPCB/EasyEDA API * * @param lcscCode - LCSC part number (e.g., 'C22467599') * @returns Reference SVG data including symbol and footprint */ export declare function fetchReferenceSVG(lcscCode: string): Promise; /** * Fetch multiple reference SVGs in parallel * * @param lcscCodes - Array of LCSC part numbers * @param concurrency - Max parallel requests (default: 5) * @returns Map of LCSC code to reference SVG */ export declare function fetchReferenceSVGs(lcscCodes: string[], concurrency?: number): Promise>; /** * Convert EasyEDA coordinates to mm * EasyEDA uses 10mil units (0.254mm per unit) */ export declare function eeToMm(value: number): number; /** * Extract viewBox dimensions from SVG string */ export declare function extractViewBox(svg: string): { x: number; y: number; width: number; height: number; } | null; /** * Check if a component has a footprint available */ export declare function hasFootprint(lcscCode: string): Promise; /** * Check if a component has a symbol available */ export declare function hasSymbol(lcscCode: string): Promise; //# sourceMappingURL=reference-fetcher.d.ts.map