Toggle refine multiple attributes at time

In an effort to provide a simple example, suppose there is an index items in a grocery store with both:
in_stock: bool,
expiration_timestamp: numeric

and we want to have a toggleable facet to “show unavailable items” where we remove the default filter of expiration_timestamp > [NOW] AND in_stock:true,

I am able to manually manage state of what is passed into Configure to include the combination of these filters into my query, but this solution does not allow me to have a single “refinement” in the refinement list that toggles the combination of these attribute filters.

Another potential solution is to make a combination Numeric attribute (say availability_timestamp) that is zero if in_stock is false, and the value of expiration_timestamp if in_stock is true. However, the toggleable filter does not allow the use of Numeric attributes.