/** * Component Service * High-level API for searching and fetching components */ import type { ComponentSearchResult, EasyEDAComponentData, EasyEDACommunityComponent } from '../types/index.js'; export interface SearchOptions { limit?: number; inStock?: boolean; basicOnly?: boolean; source?: 'lcsc' | 'community' | 'easyeda-community' | 'all'; } export interface ComponentDetails { lcscId: string; name: string; manufacturer: string; description: string; category: string; package: string; pinCount: number; padCount: number; has3DModel: boolean; datasheet?: string; } export interface ComponentService { search(query: string, options?: SearchOptions): Promise; fetch(id: string): Promise; fetchCommunity(uuid: string): Promise; getDetails(lcscId: string): Promise; } export declare function createComponentService(): ComponentService; //# sourceMappingURL=component-service.d.ts.map