Part of the ABC transporter complex TagGH involved in teichoic acids export. Responsible for energy coupling to the transport system. ATP + H2O + teichoic acidSide 1 = ADP + phosphate + teichoic acidSide 2. The complex is composed of two ATP-binding proteins (TagH) and two transmembrane proteins (TagG). Belongs to the ABC transporter superfamily. Teichoic acids exporter (TC 3.A.1.104.1) family.