export interface Command { step: number; type: string; payload: any; }