Infinitehits load more hyperlink url for next page of collections (SEO optimization)

We are using the infinitehits widget, and have enabled the “show-previous” modifier.

For SEO optimization, our refinePrevious and refineNext actions are on hyperlink <a> elements. We’d like to add hrefs for those elements which point to the next and previous page, and include all current refinements. Struggling to find the way. Here’s partial code:

    slot-scope="{ page, isFirstPage, refinePrevious }"
    class="ais-InfiniteHits-hitLoadMore button button--secondary previous">
    Load prev products

        class="ais-InfiniteHits-hitLoadMore button button--secondary"
        Load more products

Help appreciated!