A conversion bike is going to have two wires coming from the motor, and you can attach any battery. Bikes with very refined frames and motors have much more complicated mounts and, generally, connectors.
It's like camera batteries, except that there are 'aftermarket' batteries made to...