The 22-year-old goalkeeper will leave the Reds on a free transfer, but Liverpool will retain 40% of the player rights.