/** * Schema Cache * * Caches MCP configuration schemas for reuse across add/repair/import commands * Stores in JSON files alongside CSV cache */ import { ConfigurationSchema } from '../services/config-schema-reader.js'; export declare class SchemaCache { private cacheDir; constructor(cacheDir: string); /** * Ensure cache directory exists */ private ensureCacheDir; /** * Save configuration schema to cache */ save(mcpName: string, schema: ConfigurationSchema): void; /** * Load configuration schema from cache */ get(mcpName: string): ConfigurationSchema | null; /** * Check if schema is cached */ has(mcpName: string): boolean; /** * Delete cached schema */ delete(mcpName: string): void; /** * Clear all cached schemas */ clear(): void; /** * Get all cached schemas */ listAll(): Array<{ mcpName: string; cachedAt: string; }>; /** * Get file path for schema */ private getSchemaPath; /** * Get cache statistics */ getStats(): { total: number; oldestCache: string | null; newestCache: string | null; }; } //# sourceMappingURL=schema-cache.d.ts.map