---@meta -- Generated from native/src/runtime/runtime.cpp. Do not edit. -- The firmware loads /.lua/main.lua into every fresh state and calls these on the -- table it returns. Where apps live, what surrounds them and which of these an app -- itself sees are all main.lua's to decide. -- -- Fields the firmware reads: home, the route sys.back() lands on once history is -- empty, and data, the sys.getAppDataPath() template whose ? is the app id. -- -- The firmware does not clear the frame before calling draw(), and commits changed -- display content after each callback batch using the panel's own refresh policy. -- Timer callbacks are registered directly with timer.after/every. ---Required. Mounts the route; failing here leaves no app running. ---@param route string The app path sys.launch, sys.back or the boot recorded. ---@param arg? string The string passed to sys.launch or sys.replace. function start(route, arg) end ---Optional frame loop, called once after start and then at most 30 FPS, best effort. ---@param deltaMs integer Monotonic milliseconds since the previous draw; zero on the first. function draw(deltaMs) end