Somerset have confirmed that Jos Buttler is leaving the club and Sky sources understand he will be announced as a Lancashire player next week.