// ─── Game Utilities - Barrel Export ──────────────────────────────────────────

// Re-export everything from the focused modules
export { fmt, fmtDec, formatSpellCost, getSpellCostColor, formatStudyTime, formatHour } from './formatting';
export { createSafeStorage } from './safe-persist';
export { ok, okVoid, fail, failTyped, unwrapOr, isErrorCode, ErrorCode } from './result';
export type { Result, ErrorCodeType } from './result';
export { getFloorMaxHP, getFloorElement, getFloorElements } from './floor-utils';
export { buildConversionParams } from './conversion-params';
export { 
  computeMaxMana, 
  computeRegen, 
  computeEffectiveRegen, 
  computeEffectiveRegenForDisplay, 
  computeClickMana, 
  getMeditationBonus,
  type DisciplineBonuses,
} from './mana-utils';
// computeElementMax is now in ../store.ts with support for unlockedManaTypeUpgrades
export { 
  getElementalBonus, 
  getMultiElementBonus,
  getBoonBonuses, 
  calcDamage, 
  calcMeleeDamage,
  calcInsight, 
  getIncursionStrength, 
  canAffordSpellCost, 
  deductSpellCost,
  getActiveEquipmentSpells,
  getTotalDPS
} from './combat-utils';
