Oh, one of my new comments is exactly this. An enum in communications.d.ts sounds great!