atomWithRefresh has been provided by jotai/utils since v2.7.0. Jump to the doc
atomWithRefresh
jotai/utils