---@meta ---@diagnostic disable: missing-return -- Type stub for the sandboxed `require`. The stock `package` library does not -- exist in Luna (it is disabled in .luarc.json, which also removes the stock -- `require` definition — this stub replaces it). Reference: docs/require.md -- -- Names are dot-separated (`require "lib.helper"` → lib/helper.lua or -- lib/helper/init.lua), resolved against the main script's directory and each -- entry of $LUNA_INCLUDE_PATHS. Each module runs once; the result is cached. ---Load a module. Returns the module's value and, unlike stock Lua's loader ---data, the resolved file path as the second value. ---@param modname string dot-separated module name ---@return any module ---@return string path the resolved file path function require(modname) end