Worcestershire have agreed the signing of Sri Lanka Test batsman Thilan Samaraweera as their overseas player for the 2013 season.