/**
 * System Resource Alert Service
 *
 * Proactively monitors disk, CPU, and memory usage and sends user-facing
 * notifications when thresholds are exceeded. This prevents silent failures
 * like ENOSPC that can cause the orchestrator to become stuck.
 *
 * - Polls MonitoringService.getSystemMetrics() at a configurable interval
 * - Checks metrics against warning/critical thresholds
 * - Sends chat notifications via ChatService.addSystemMessage()
 * - Broadcasts WebSocket events for frontend toast/banner display
 * - Per-metric cooldown prevents notification spam
 *
 * @module system-resource-alert
 */
/**
 * Service that polls system resource metrics and sends proactive alerts
 * when disk, memory, or CPU usage exceeds configured thresholds.
 */
export declare class SystemResourceAlertService {
    private intervalId;
    private lastAlertTimes;
    private logger;
    private readonly pollInterval;
    private readonly cooldownMs;
    constructor();
    /**
     * Start periodic resource monitoring.
     */
    startMonitoring(): void;
    /**
     * Stop periodic resource monitoring.
     */
    stopMonitoring(): void;
    /**
     * Check current resource metrics against thresholds and send alerts.
     */
    private checkResources;
    /**
     * Auto-stop idle agents to free memory during critical memory pressure.
     * Only stops agents that are idle (not actively working on tasks).
     *
     * @returns Number of agents stopped
     */
    private autoStopIdleAgents;
    /**
     * Send an alert if the cooldown period has elapsed for this alert key.
     *
     * @param alertKey - Unique identifier for the metric+severity (e.g. 'disk_critical')
     * @param message - Human-readable alert message
     * @param severity - Alert severity level ('warning' or 'critical')
     */
    private sendAlert;
}
//# sourceMappingURL=system-resource-alert.service.d.ts.map