"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ALERT_DURATION_MAX_BY_UNIT = void 0;
exports.getMaxAlertDurationForUnit = getMaxAlertDurationForUnit;
/** Max lookback window for cost/system-health alerts (aligned with CreateAlertsDialog UI). */
exports.ALERT_DURATION_MAX_BY_UNIT = {
    days: 183,
    weeks: 26,
    months: 6,
};
function getMaxAlertDurationForUnit(unit) {
    if (unit === 'days' || unit === 'weeks' || unit === 'months') {
        return exports.ALERT_DURATION_MAX_BY_UNIT[unit];
    }
    return exports.ALERT_DURATION_MAX_BY_UNIT.days;
}
//# sourceMappingURL=alertDurationLimits.js.map