--- Module for interacting with playback volume. The Bluetooth and wired outputs store their current volume separately; this API only allows interacting with the volume of the currently used output device.
-- @module alerts
localalerts={}
--- Returns the current volume as a percentage of the current volume limit.
-- @tparam function constructor Called to create the UI for the alert. A new default root object and group will be set before calling this function.i Alerts are non-interactable; the group created for the constructor will not be granted focus.
functionalerts.show(constructor)end
--- Dismisses any visible alerts, removing them from the screen.
--- Module for interacting with playback volume. The Bluetooth and wired outputs store their current volume separately; this API only allows interacting with the volume of the currently used output device.
-- @module volume
localvolume={}
--- Returns the current volume as a percentage of the current volume limit.
-- @treturn types.Property an integer property
functionvolume.current_pct()end
--- Returns the current volume in terms of dB from line level.