import { AIConfig } from '../types/config'; import { OptimizationResult } from '../types/ai'; import { QueryMetrics } from '../types/query'; export declare class AIOptimizer { private config; private cache; private semaphore; constructor(config: AIConfig, maxConcurrent?: number); /** * Analyze a slow QueryMetrics record and return an OptimizationResult. * Results are cached by normalised SQL text to avoid redundant API calls. */ analyze(metrics: QueryMetrics): Promise; private callProvider; clearCache(): void; get cacheSize(): number; } //# sourceMappingURL=optimizer.d.ts.map