import type { CircuitState, SafetyCircuitConfig } from '../../types/safety.js';
export declare class CircuitBreaker {
    private readonly name;
    private state;
    private failureCount;
    private lastFailureTime;
    private readonly config;
    constructor(name: string, config?: Partial<SafetyCircuitConfig>);
    execute<T>(fn: () => Promise<T>, fallback?: T): Promise<T>;
    getState(): CircuitState;
    reset(): void;
    getFailureCount(): number;
}
//# sourceMappingURL=circuit-breaker.d.ts.map