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

---@param f function
---@param stackLevel number
---@param t table
---@return function f
---Sets the environment to be used by a function. If the environment has a __environment metatable, this function will error.
function setfenv(f, stackLevel, t) end
