/** * JLC API client for component search and details * Uses JLCPCB's parts library API which provides LCSC component data */ import type { LCSCSearchOptions, ComponentSearchResult } from '../types/index.js'; export interface LCSCProduct { productCode: string; productModel: string; brandNameEn: string; encapStandard: string; productPriceList: Array<{ ladder: number; productPrice: number; currencySymbol: string; }>; stockNumber: number; productIntroEn: string; } export declare class JLCClient { /** * Search for components via JLCPCB API */ search(query: string, options?: LCSCSearchOptions): Promise; /** * Get stock and pricing information for a component */ getStock(lcscPartNumber: string): Promise<{ stock: number; priceBreaks: Array<{ quantity: number; price: number; }>; }>; /** * Get detailed component information including attributes * Used to enrich EasyEDA data with JLC-specific attributes */ getComponentDetails(lcscPartNumber: string): Promise; } export declare const jlcClient: JLCClient; //# sourceMappingURL=jlc.d.ts.map