import { CommandProperties } from "./commandProperties"; export interface CircuitBreaker { allowRequest(): boolean; markSuccess(): void; isOpen(): boolean; properties: CommandProperties; } export declare class CircuitBreakerFactory { static getOrCreate(properties: CommandProperties): any; static get(commandName: string): CircuitBreaker; static getCache(): Map; static resetCache(): void; }