---@diagnostic disable: missing-return, lowercase-global
---@meta

---@param index number
---@param bookType spell
---@param pet
---@param spell
---@param name string
---@return number numCasts
---Returns the number of times a spell can be cast. Generally used for spells whose casting is limited by the number of item reagents in the player's possession.
function GetSpellCount(index, bookType, pet, spell, name) end
