/** * @name premium/metrics * @description Metrics collector for the premium subsystem. * * Aggregates counts from the session manager, event store, stream broker, * webhook engine, and provider bridge into a single `PremiumMetricsSnapshot`. * Used by the health endpoint (`GET /premium/health.json`) and MCP monitoring * tools. * * @flow * 1. `remote/server.ts` → `GET /premium/health.json` → `getPremiumMetrics()`. * 2. `premium-tools.ts` → `sap_premium_metrics` → `getPremiumMetrics()`. * * @module premium/metrics */ import type { PremiumMetricsSnapshot } from './types.js'; /** * @name getPremiumMetrics * @description Collect a point-in-time metrics snapshot of the premium subsystem. * * @returns `PremiumMetricsSnapshot` with current counts and provider health. * * @usedBy `remote/server.ts` → `GET /premium/health.json`, * `premium-tools.ts` → `sap_premium_metrics` */ export declare function getPremiumMetrics(): Promise; //# sourceMappingURL=metrics.d.ts.map