/** * Adapter Factory for SolidWorks MCP Server * * Provides centralized adapter creation with: * - Multiple adapter type support * - Circuit breaker integration * - Connection pooling * - Automatic fallback selection */ import type { AdapterConfig, AdapterHealth, ISolidWorksAdapter } from './types.js'; /** * Factory for creating and managing SolidWorks adapters */ export declare class AdapterFactory { private static instance; private adapters; private defaultConfig; private constructor(); /** * Get singleton instance of factory */ static getInstance(): AdapterFactory; /** * Create or get adapter based on configuration */ createAdapter(config?: Partial): Promise; /** * Create base adapter based on type */ private createBaseAdapter; /** * Get the best available adapter based on system capabilities */ getBestAdapter(): Promise; /** * Detect system capabilities */ private detectSystemCapabilities; /** * Generate cache key for adapter configuration */ private getCacheKey; /** * Get all cached adapters */ getCachedAdapters(): Map; /** * Clear all cached adapters */ clearCache(): Promise; /** * Health check all cached adapters */ healthCheckAll(): Promise>; } /** * Singleton export for convenience */ export declare const adapterFactory: AdapterFactory; //# sourceMappingURL=factory.d.ts.map