// Copyright (c) 2026 Dominic Masters // // This software is released under the MIT License. // https://opensource.org/licenses/MIT /// /** * Adds/removes a UIElement (or Label/Rectangle/etc.) from the engine's * render roots. Root elements get their render() called once per frame; * everything else only renders as a child of a root (see * UIElement.add()). A root and a child are mutually exclusive -- * UI.add() detaches the element from any parent first. */ declare const UI: { add(element: UIElement): void; remove(element: UIElement): void; };