method Interface.prototype.emitInterface.prototype.emit(event: string | symbol,...args: any[],): booleanDeprecatedParametersevent: string | symbol<span>...args</span>: any[]Return TypebooleanInterface.prototype.emit(event: "close"): booleanDeprecatedParametersevent: "close"Return TypebooleanInterface.prototype.emit(event: "line",input: string,): booleanDeprecatedParametersevent: "line"input: stringReturn TypebooleanInterface.prototype.emit(event: "pause"): booleanDeprecatedParametersevent: "pause"Return TypebooleanInterface.prototype.emit(event: "resume"): booleanDeprecatedParametersevent: "resume"Return TypebooleanInterface.prototype.emit(event: "SIGCONT"): booleanDeprecatedParametersevent: "SIGCONT"Return TypebooleanInterface.prototype.emit(event: "SIGINT"): booleanDeprecatedParametersevent: "SIGINT"Return TypebooleanInterface.prototype.emit(event: "SIGTSTP"): booleanDeprecatedParametersevent: "SIGTSTP"Return TypebooleanInterface.prototype.emit(event: "history",history: string[],): booleanDeprecatedParametersevent: "history"history: string[]Return Typeboolean