Product Filter For Product Size(Options) Which Are Only In Stock

From the search page, I want to filter only the products that have the choosen size in stock.

How can I do that?

You can create 'In stock' filter out of the box

https://prnt.sc/w7txn3

But I do not think that it will hide out of stock product variations