/** * Proxy Quiet Detector * Determines whether the proxy has been idle (no traffic) for a given * threshold by efficiently reading only the tail of today's debug log file. * Used by the auto-update system to find safe windows for restarts. */ import type { QuietStatus } from "../types/index.js"; /** * Check whether proxy traffic has been quiet (no requests) for at least * `quietThresholdMs` milliseconds. * * Reads only the tail of today's debug log file for efficiency. * * @param quietThresholdMs Silence duration (ms) to consider "quiet". Default: 120 000 (2 min). * @returns QuietStatus with the idle analysis. */ export declare function checkTrafficQuiet(quietThresholdMs?: number): QuietStatus;