/** * @fileoverview Multi-LLM Provider Metrics Aggregation and Compatibility Testing * @module @skillsmith/core/testing/MultiLLMProvider.metrics * @see SMI-1523: Configure multi-LLM provider chain * @see SMI-2741: Split from MultiLLMProvider.ts to meet 500-line standard * * Standalone functions for metrics aggregation and skill compatibility testing, * extracted to keep MultiLLMProvider.ts within the 500-line limit. */ import type { LLMProviderType, ProviderMetrics, SkillCompatibilityResult, LLMRequest, LLMResponse } from './MultiLLMProvider.types.js'; /** * Aggregate metrics across all providers into a summary object * * @param providerMetrics - Map of per-provider metrics * @returns Aggregated totals and averages */ export declare function aggregateMetrics(providerMetrics: Map): { totalRequests: number; totalCost: number; avgLatencyMs: number; avgSuccessRate: number; providerBreakdown: Record; }; /** * Run a skill compatibility test across enabled providers * * @param skillId - Skill identifier to test * @param enabledProviders - List of enabled providers to test against * @param completer - Async function that executes an LLM request * @returns Compatibility result with per-provider scores and overall assessment */ export declare function runCompatibilityTest(skillId: string, enabledProviders: LLMProviderType[], completer: (request: LLMRequest) => Promise): Promise; //# sourceMappingURL=MultiLLMProvider.metrics.d.ts.map