/**
 * Core Constants
 * Phase 4: Thresholds and configuration for widgets
 */
/**
 * Latency classification thresholds (ms)
 */
export const LATENCY_THRESHOLDS = {
    LOW: 50, // < 50ms = LOW
    MEDIUM: 150, // 50-150ms = MEDIUM
    HIGH: Infinity, // > 150ms = HIGH
};
/**
 * Get latency class from milliseconds
 */
export function getLatencyClass(ms) {
    if (ms === "UNKNOWN")
        return "UNKNOWN";
    if (ms < LATENCY_THRESHOLDS.LOW)
        return "LOW";
    if (ms < LATENCY_THRESHOLDS.MEDIUM)
        return "MEDIUM";
    return "HIGH";
}
/**
 * Sparkline history window (samples)
 */
export const SPARKLINE_HISTORY_SIZE = 60;
/**
 * Sparkline tick interval (ms) - approximate
 */
export const SPARKLINE_TICK_MS = 1000;
//# sourceMappingURL=constants.js.map