Liverpool have signed midfielder Wataru Endo from Stuttgart for a fee of around 19m euros (£16.2m), subject to a work permit and international clearance.

The 30-year-old Japan international has agreed a four-year contract.