import { Command } from '../../../command/types' ; export enum CliEventTypes { SELECT_COMMAND = 'select-command' , SUGGEST_COMMAND = 'suggest-command' , REMOVE_LAST_COMMAND = 'remove-last-command' , CLEAR_COMMAND = 'clear-command' , SEND_COMMAND = 'send-command' , EXECUTE_COMMAND = 'execute-command' , COMMAND_EXECUTED = 'command-executed' , WORKBENCH_CHANGED = 'workbench-changed' , CLEAR_SCREEN = 'clear-screen' } export interface CliEventBus { fire ( type , command ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , commands , argument ? ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , commands , argument ? ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type , commands , argument ? ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; fire ( type ) : this ; on ( type , listener ) : this ; off ( type , listener ) : this ; }