There's no equivalent for Safari. There are a number of Safari content blockers, but the API is strictly limited. It's somewhat similar to declarativeNetRequest in Chrome manifest v3.
No, that's not it. It's mainly just one API, blocking webRequest: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Web...