namespace NeonSprawl.Server.Game.AbilityInput;
/// In-memory per-player hotbar slot cooldown ends (NEO-32).
public interface IPlayerAbilityCooldownStore
{
/// Returns true when the slot has a cooldown end strictly after .
bool IsOnCooldown(string playerId, int slotIndex, DateTimeOffset now);
/// Sets cooldown end for a slot to + .
void StartCooldown(string playerId, int slotIndex, DateTimeOffset now, TimeSpan duration);
/// Gets stored end instant for the slot when an entry exists (may be in the past).
bool TryGetCooldownEndUtc(string playerId, int slotIndex, out DateTimeOffset endUtc);
}