Nucleoside diphosphate kinase as protein histidine kinase