method Interface.prototype.onceimport { Interface } from "https://dotland.deno.dev/std@0.177.0/node/readline.ts"; once(event: string, listener: (...args: any[]) => void): thisonce(event: "close", listener: () => void): thisonce(event: "line", listener: (input: string) => void): thisonce(event: "pause", listener: () => void): thisonce(event: "resume", listener: () => void): thisonce(event: "SIGCONT", listener: () => void): thisonce(event: "SIGINT", listener: () => void): thisonce(event: "SIGTSTP", listener: () => void): thisonce(event: "history", listener: (history: string[]) => void): thisParametersevent: stringlistener: (...args: any[]) => voidReturnsthisParametersevent: "close"listener: () => voidReturnsthisParametersevent: "line"listener: (input: string) => voidReturnsthisParametersevent: "pause"listener: () => voidReturnsthisParametersevent: "resume"listener: () => voidReturnsthisParametersevent: "SIGCONT"listener: () => voidReturnsthisParametersevent: "SIGINT"listener: () => voidReturnsthisParametersevent: "SIGTSTP"listener: () => voidReturnsthisParametersevent: "history"listener: (history: string[]) => voidReturnsthis