interface Chainimport { type Chain } from "https://dotland.deno.dev/x/cliffy@v0.19.0/ansi/chain.ts"; Chainable ansi escape method declarations. Type ParametersT extends Chain<T>Propertiestext: (text: string) => TAdd text. bel: TRing audio bell: \u0007 cursorPosition: TGet cursor position. cursorTo: (x: number, y?: number) => TMove cursor to x, y, counting from the top left corner. cursorMove: (x: number, y: number) => TMove cursor by offset. cursorUp: T & ((count: number) => T)Move cursor up by n lines. cursorDown: T & ((count: number) => T)Move cursor down by n lines. cursorForward: T & ((count: number) => T)Move cursor forward by n lines. cursorBackward: T & ((count: number) => T)Move cursor backward by n lines. cursorNextLine: T & ((count: number) => T)Move cursor to the beginning of the line n lines down. cursorPrevLine: T & ((count: number) => T)Move cursor to the beginning of the line n lines up. cursorLeft: TMove cursor to first column of current row. cursorHide: THide cursor. cursorShow: TShow cursor. cursorSave: TSave cursor. cursorRestore: TRestore cursor. scrollUp: T & ((count: number) => T)Scroll window up by n lines. scrollDown: T & ((count: number) => T)Scroll window down by n lines. eraseScreen: TClear screen. eraseUp: T & ((count: number) => T)Clear screen up by n lines. eraseDown: T & ((count: number) => T)Clear screen down by n lines. eraseLine: TClear current line. eraseLineEnd: TClear to line end. eraseLineStart: TClear to line start. eraseLines: (count: number) => TClear screen and move cursor by n lines up and move cursor to first column. clearScreen: TClear the terminal screen. (Viewport) clearTerminal: TClear the whole terminal, including scrollback buffer. (Not just the visible part of it). link: (text: string, url: string) => TCreate link. image: (buffer: string | ArrayBuffer, options?: ImageOptions) => TCreate image.