I know that enemies can take both short rests and long rests, because there is at least one enemy which recover one of its features after a rest. See the Cloaker (Monster Manual, p. 42):
Phantasms (Recharges after a Short or Long Rest). The cloaker magically creates [...]
But my question is whether they can spend Hit Dice (if they have them) in order to recover HP.
Take as an example this same creature:
Hit Points 78 (12d10 + 12)
[...] CON 12 (+1) [...]
Does that mean they have a pool of 12 dice, each one a d10, as Hit Dice? And when they spend Hit Dice on a short rest, do they add a +1 HP per Hit Die rolled due to its Constitution modifier?
Related: Where are a monster’s hit dice found in the stat block? (asks about hit dice but not if they can use them or add they CON) and What is the “+ 75” in these NPC hit point stats? (asks about the flat number next to the hit dice).