Napoli midfielder Marek Hamsik has confirmed his commitment to the club despite interest from elsewhere.