import type { SafetyPolicy, SafetyCircuitBreaker } from './types.js'; import type { TrustManager } from './trust-manager.js'; import type { CollusionDetector } from './collusion-detector.js'; import type { HumanEscalationManager, EscalationContext } from './human-escalation.js'; export declare class SafetyEnforcer { private policy; private trustManager; private collusionDetector; private escalationManager; private breakers; private halted; private haltReason; constructor(policy: SafetyPolicy, trustManager: TrustManager, collusionDetector: CollusionDetector, escalationManager: HumanEscalationManager); /** * Check all safety signals and trip breakers if thresholds exceeded. * Returns whether the system should halt. */ evaluate(context: EscalationContext): { shouldHalt: boolean; trippedBreakers: SafetyCircuitBreaker[]; reason: string | null; }; /** * Check if a specific task has exceeded reject cycles. */ checkTaskRejectCycles(taskId: string, attempts: number, context: EscalationContext): boolean; /** Get all circuit breakers and their states. */ getBreakers(): readonly SafetyCircuitBreaker[]; /** Check if the system is halted. */ isHalted(): boolean; /** Get the halt reason if halted. */ getHaltReason(): string | null; /** Reset all circuit breakers (e.g., after human intervention). */ reset(): void; }