/**
 * Service Interface: ICircuitBreakerService
 * Defines the contract for circuit breaker operations
 */
export type CircuitBreakerState = 'closed' | 'open' | 'half-open';
export interface ICircuitBreakerService {
    /**
     * Check if the circuit is open (should block operations)
     */
    isOpen(): boolean;
    /**
     * Record a successful operation
     */
    recordSuccess(): void;
    /**
     * Record a failed operation
     */
    recordFailure(): void;
    /**
     * Get current circuit breaker state
     */
    getState(): CircuitBreakerState;
    /**
     * Reset the circuit breaker
     */
    reset(): void;
}
//# sourceMappingURL=ICircuitBreakerService.d.ts.map