---@meta hexis/retry

---Generated declarations. Requires the matching Hexis build; live acceptance is pending.
local M = {}

---@param factory fun(attempt: integer): HexisActionHandle
---@param options? {attempts?: integer, timeout?: number, backoff?: number, max_backoff?: number}
---@return HexisActionResult result
---@return integer attempt
function M.run(factory, options) end

return M
