import * as events from "../events/index" ; /** Command describes a Text-Runner command */ export interface Command { emit ( event , payload ) : void ; /** executes this command */ execute ( ) : Promise < void > ; on ( event , handler ) : void ; }