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

---@param type reward
---@param choice
---@param required
---@param reward
---@param index number
---@return string name
---@return string texture
---@return number numItems
---@return 6 quality
---@return  0
---@return  1
---@return  2
---@return  3
---@return  4
---@return  5
---@return  6
---@return 1nil isUsable
---Returns information about items in a questgiver dialog. Only valid when the questgiver UI is showing the accept/decline, progress, or completion stages of a quest dialog (between the QUEST_DETAIL and QUEST_FINISHED, QUEST_PROGRESS and QUEST_FINISHED, or QUEST_COMPLETE and QUEST_FINISHED events); otherwise may return empty values or those from the most recently displayed quest.
function GetQuestItemInfo(type, choice, required, reward, index) end
