import { CommandProperties } from "../../commandProperties"; import { ICommandMetrics } from "../commandMetricsFactory"; export declare class HystrixCommandMetrics implements ICommandMetrics { properties: CommandProperties; private rollingCount; commandName: string; commandGroup: string; private currentExecutionCount; private lastHealthCountsSnapshot; private percentileCount; metricsRollingStatisticalWindowInMilliseconds: number; constructor(properties: CommandProperties); markFallbackSuccess(): void; markFallbackFailure(): void; markFallbackRejection(): void; markExceptionThrown(): void; markBadRequest(duration: number): void; markResponseFromCache(): void; markSuccess(): void; markRejected(): void; markFailure(): void; markTimeout(): void; markShortCircuited(): void; incrementExecutionCount(): void; decrementExecutionCount(): void; getCurrentExecutionCount(): number; addExecutionTime(time: any): void; getRollingCount(type: any): number; getExecutionTime(percentile: any): any; getHealthCounts(): { totalCount: number; errorCount: number; errorPercentage: number; }; reset(): void; }