Is it better to replacement or rebuild old electric bike batteries?

Is it better to replacement or rebuild old electric bike batteries?

Li-Ion battery rebuilt makes sense for the e-bikes which have proprietary battery and the replacement cannot be found. Due to uncertainties and labor-intensive process of a rebuild, it is recommended to get a new replacement battery if retrofitting is an option. The replacement might even be a more cost effective way.