import type { PlatformAdapter } from '../../platform/index.js'; declare const WARN_BYTES: number; declare const HYSTERESIS_BYTES: number; declare const REALERT_COOLDOWN_MS: number; interface AlertState { hasAlerted: boolean; lastAlertAt: number | null; } interface AlertDecision { alert: boolean; newState: AlertState; } declare function formatBytes(bytes: number): string; declare function shouldAlert(freeBytes: number, state: AlertState, now: number): AlertDecision; declare function checkDiskOnce(): Promise; declare function initDiskMonitor(adapter: PlatformAdapter, intervalMs?: number): void; declare function stopDiskMonitor(): void; declare function _testReset(): void; export { initDiskMonitor, stopDiskMonitor, checkDiskOnce, shouldAlert, formatBytes, WARN_BYTES, HYSTERESIS_BYTES, REALERT_COOLDOWN_MS, _testReset, }; export type { AlertState, AlertDecision };