/** SDK-owned platform module. This implementation is maintained in goodvibes-sdk. */
/**
 * Shared circuit breaker for consecutive all-error turn detection.
 *
 * These thresholds are intentionally fixed constants for now.
 * Thresholds are hardcoded; could be made configurable via configManager in the future.
 */
export declare const CONSECUTIVE_ERROR_WARN = 5;
export declare const CONSECUTIVE_ERROR_BREAK = 10;
export declare class ConsecutiveErrorBreaker {
    private count;
    /** Record an all-failed turn. Returns 'warn' at WARN threshold, 'break' at BREAK threshold, 'ok' otherwise. */
    recordAllFailed(): 'ok' | 'warn' | 'break';
    /** Reset counter on any success. */
    recordSuccess(): void;
    /** Current consecutive error count. */
    get consecutiveErrors(): number;
}
//# sourceMappingURL=circuit-breaker.d.ts.map