method Interface.prototype.onceInterface.prototype.once(event: string,listener: (...args: any[]) => void,): thisDeprecatedParametersevent: stringlistener: (...args: any[]) => voidReturn TypethisInterface.prototype.once(event: "close",listener: () => void,): thisDeprecatedParametersevent: "close"listener: () => voidReturn TypethisInterface.prototype.once(event: "line",listener: (input: string) => void,): thisDeprecatedParametersevent: "line"listener: (input: string) => voidReturn TypethisInterface.prototype.once(event: "pause",listener: () => void,): thisDeprecatedParametersevent: "pause"listener: () => voidReturn TypethisInterface.prototype.once(event: "resume",listener: () => void,): thisDeprecatedParametersevent: "resume"listener: () => voidReturn TypethisInterface.prototype.once(event: "SIGCONT",listener: () => void,): thisDeprecatedParametersevent: "SIGCONT"listener: () => voidReturn TypethisInterface.prototype.once(event: "SIGINT",listener: () => void,): thisDeprecatedParametersevent: "SIGINT"listener: () => voidReturn TypethisInterface.prototype.once(event: "SIGTSTP",listener: () => void,): thisDeprecatedParametersevent: "SIGTSTP"listener: () => voidReturn TypethisInterface.prototype.once(event: "history",listener: (history: string[]) => void,): thisDeprecatedParametersevent: "history"listener: (history: string[]) => voidReturn Typethis