interface SequenceState { hash : string, name : string, progress : number, current? : number } interface State { width? : number, height? : number, sequence? : SequenceState } interface Message { cmd? : string; state? : State; sequence? : string; }