export interface APIAgent { sendMessage(destination: string, command: string, data?: Record): Promise; }