export interface CommandResult { type: 'commandResult'; data: T; id: string; } export interface ReadyResult { type: 'onReady'; data: null; }