---@alias UnrealEngine.BuildType
---| "DebugGame"
---| "Development"
---| "Shipping"

--- The options for UnrealEngine.nvim
---@class UnrealEngine.Opts
---@field engine_path string|nil The path to the source version of Unreal Engine
---@field build_type UnrealEngine.BuildType|nil The type of build
---@field with_editor boolean|nil If you are also building the editor
---@field register_icon boolean|nil Registers the Unreal Engine icon for .uproject files
---@field close_on_success boolean|nil Close the terminal split automatically when the command is successful
---@field uproject_path string|nil The .uproject path, can be provided externally
---@field auto_generate boolean|nil Will generate the LSP info if .uproject is detected at top level of cwd
---@field auto_build boolean|nil Will build your C++ code on save
---@field environment_variables table<string,string>|nil This will pass the environment variables to the engine when launching (Linux/Mac only)

--- Information about the project
---@class UnrealEngine.UprojectInfo
---@field path string Full path to the .uproject file
---@field name string The project name derived from the file name (without extension)
---@field cwd string The projects current working directory
