--- @meta

local love = {}
love.timer = {}

--#region enums
-- ************************************************************ --
-- ************************************************************ --
-- Enumerators
-- ************************************************************ --
-- ************************************************************ --



--#endregion enums
--#region types
-- ************************************************************ --
-- ************************************************************ --
-- Types / Objects
-- ************************************************************ --
-- ************************************************************ --



--#endregion types
--#region functions
-- ************************************************************ --
-- ************************************************************ --
-- Functions
-- ************************************************************ --
-- ************************************************************ --

--- Returns the average delta time (seconds per frame) over the last second.
---
--- @return number delta The average delta time over the last second.
function love.timer.getAverageDelta() return 0 end

--- Returns the time between the last two frames.
---
--- @return number dt The time passed (in seconds).
function love.timer.getDelta() return 0 end

--- Returns the current frames per second.
---
--- @return number fps The current FPS.
function love.timer.getFPS() return 0 end

--- Returns the value of a timer with an unspecified starting time.
--- 
--- This function should only be used to calculate differences between points in time, as the starting time of the timer is unknown.
---
--- @return number time The time in seconds. Given as a decimal, accurate to the microsecond.
function love.timer.getTime() return 0 end

--- Pauses the current thread for the specified amount of time.
---
--- @param s number Seconds to sleep for.
--- @return nil
function love.timer.sleep(s) return  end

--- Measures the time between two frames.
--- 
--- Calling this changes the return value of love.timer.getDelta.
---
--- @return number dt The time passed (in seconds).
function love.timer.step() return 0 end

--#endregion functions
