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

---@param id number
---@return string #name
---@return string #rank
---@return string #icon
---@return number #castingTime
---@return number #minRange
---@return number #maxRange
---@return number #spellID
---Returns information about a spell. As of 4.1, this function should always return valid data for a spell if the spell is in the player's spellbook (by name or index) or if requested by spell id. When in doubt, if the player does not have the spell in their spellbook, use the numeric id to access its information.
---@overload fun(index: number, bookType: string): string, string, string, number, number, number, number
---@overload fun(name: string): string, string, string, number, number, number, number
---@overload fun(spellID: number): string, string, string, number, number, number, number
function GetSpellInfo(id) end
