Mohamed Salah has signed a new long-term deal to extend his stay at Liverpool, the club announced on Friday.