---@diagnostic disable: missing-return, lowercase-global ---@meta ---@param id number ---@param bookType spell ---@param pet ---@param spell ---Casts a from the spellbook. Only protected (i.e. usable only by the Blizzard UI) if the given id corresponds to a spell which can be cast (not a passive spell) and is not a trade skill; can be used by addons to cast the "spells" that open trade skill windows. function CastSpell(id, bookType, pet, spell) end