The owner of target permanent shuffles it into their library, then reveals the top card of their library. If it's a permanent card, they put it onto the battlefield.
"Tzeentch cares not what they were or what they become. Only that they change."
—Kairos Fateweaver