The amount of time required depends on the project and its environment. The Product Owner needs to spend as much time as needed to do all of their responsibilities, which results in maximizing the value.Not that the only reason for the
Product Owner to spend time with the developers is not refinement but also Sprint Planning, answering questions during the Sprint, helping developers adjust their work, etc.