How to Transfer a Draft Project to a Team Library

I currently have a project in my Drafts under a guest account, and I need to transfer it to the admin account of a team so they can publish it as a shared library. Could you guide me on the steps to:

  1. Move the project from my Drafts to the team account.
  2. Ensure the components are properly set up for publishing as a library?