TanStack Query - more complex offline mechanism suggestions

So I asked before what to use for offline mode and it seems that tanstack query + zustand seems to be a solid approach. now I have a case where I'm not sure how to solve it without breaking any good practices.

If I'd want to persist everything I get from backend, TS Query's got me covered with persist mechanism where I can pass in async storage.

However, in my case, I'll get some sensitive data (token, refresh token) and I'd like to store it in SecureStorage. Then, I'll make queries with that token, and the data can be persisted in async storage.

Now I don't want to create two persisters, even though it's possible it seems like a bad pattern.

How to correctly setup architecture that would allow me to kind of switch between Secure and Async storage?