Goalkeeper Lukas Lidakevicius and winger Toni Silva have left Barnsley, the Championship club have confirmed.