export interface MetricsLogItem { source: string; action: string; version: string; } export declare const Metrics: { initMetrics(fwk: string): void; /** * Calls Console Platform's client logging JS API with provided metric name, value, and detail. * Does nothing if Console Platform client logging JS is not present in page. */ sendMetric(metricName: string, value: number, detail?: string | undefined): void; sendMetricObject(metric: MetricsLogItem, value: number): void; sendMetricObjectOnce(metric: MetricsLogItem, value: number): void; sendMetricOnce(metricName: string, value: number, detail?: string | undefined): void; logComponentLoaded(): void; logComponentUsed(componentName: string): void; }; export declare const MetricsTestHelper: { resetOneTimeMetricsCache: () => void; formatMajorVersionForMetricDetail: (version: string) => string; formatVersionForMetricName: (theme: string, version: string) => string; }; //# sourceMappingURL=metrics.d.ts.map