As per my understanding, the Figma client supports a comprehensive image resampling method. You can find detailed information here: link. However, when it comes to the Plugin API, it appears that an equivalent resampling option is currently unavailable. You can refer to the API documentation here: Plugin API ExportSettings.
I’d like to know if this absence is considered a bug. Also, could you share if there are any plans to implement this feature in the near future?