---@alias NotificationPosition 'top' | 'top-right' | 'top-left' | 'bottom' | 'bottom-right' | 'bottom-left' | 'center-right' | 'center-left' ---@alias NotificationType 'inform' | 'error' | 'success' ---@class DefaultNotifyProps ---@field title? string ---@field description? string ---@field duration? number ---@field position? NotificationPosition ---@field status? 'info' | 'warning' | 'success' | 'error' ---@field id? number ---@param data DefaultNotifyProps function lib.notify(data) TriggerEvent('ox_lib:notify', data) end function lib.defaultNotify(data) -- Backwards compat for v3 data.type = data.status if data.type == 'info' or data.type == 'warning' then data.type = 'inform' end return lib.notify(data) end