---@meta

--- @param unit string
--- @return string
function WA_ClassColorName(unit) end
-- Args: unit (string)
-- Returns: The name of the unit with class color formatting.

--- @param string string
--- @param numCharacters number
--- @return string
function WA_Utf8Sub(string, numCharacters) end
-- Args: string (string), numCharacters (number)
-- Returns: Shortened string, handling non-standard characters.

-- Variables

-- WeakAuras.GetActiveConditions(aura_env.id, aura_env.cloneId)
-- Returns a table containing booleans for each Condition your Aura contains.

-- WeakAuras.CurrentEncounter
-- A table that holds encounter information for a fight.
-- Access via: id (encounter_id), zone_id (ZoneMapID), boss_guids ({}).

-- Functions
---@class WeakAuras
WeakAuras = {
	--- @param eventName string
	--- @param ... any
	ScanEvents = function(eventName, ...) end,
	--- @return boolean
	IsOptionsOpen = function() end,
	--- @param setID number
	--- @return number
	GetNumSetItemsEquipped = function(setID) end,

	--- @param unit string
	--- @param index number
	--- @param filter string
	--- @return string, string, number
	GetAuraTooltipInfo = function(unit, index, filter) end,
}

-- Custom Glows
local LCG = LibStub("LibCustomGlow-1.0")

--- @param frame any
--- @param color table
--- @param numberOfLines number
--- @param speed number
--- @param length number
--- @param thickness number
--- @param xOffset number
--- @param yOffset number
--- @param border boolean
--- @param key string
function LCG.PixelGlow_Start(frame, color, numberOfLines, speed, length, thickness, xOffset, yOffset, border, key) end
-- Args: frame (UI element), color (table), numberOfLines (number), speed (number), length (number), thickness (number), xOffset (number), yOffset (number), border (boolean), key (string)
-- Starts pixel glow on the specified frame.

--- @param frame any
--- @param key string
function LCG.PixelGlow_Stop(frame, key) end
-- Args: frame (UI element), key (string, optional)
-- Stops pixel glow on the specified frame.
