UNPKG

@mojir/lits

Version:

Lits is a Lisp dialect implemented in TypeScript

940 lines (939 loc) 47 kB
export type Colorizer = ReturnType<typeof createColorizer>; export declare enum ColorEnum { Reset = "\u001B[0m", Bright = "\u001B[1m", ResetBright = "\u001B[21m", Dim = "\u001B[2m", ResetDim = "\u001B[22m", Italic = "\u001B[3m", ResetItalic = "\u001B[23m", Underscore = "\u001B[4m", ResetUnderscore = "\u001B[24m", Blink = "\u001B[5m", ResetBlink = "\u001B[25m", Reverse = "\u001B[7m", ResetReverse = "\u001B[27m", Hidden = "\u001B[8m", ResetHidden = "\u001B[28m", FgBlack = "\u001B[30m", FgRed = "\u001B[31m", FgGreen = "\u001B[32m", FgYellow = "\u001B[33m", FgBlue = "\u001B[34m", FgMagenta = "\u001B[35m", FgCyan = "\u001B[36m", FgWhite = "\u001B[37m", FgGray = "\u001B[90m", BgBlack = "\u001B[40m", BgRed = "\u001B[41m", BgGreen = "\u001B[42m", BgYellow = "\u001B[43m", BgBlue = "\u001B[44m", BgMagenta = "\u001B[45m", BgCyan = "\u001B[46m", BgWhite = "\u001B[47m", BgGray = "\u001B[100m" } type Formatter = (text: string) => string; declare function createFormatter(enableColors: boolean, colors: ColorEnum[], formatters: Formatter[]): { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; export declare function createColorizer(enableColors?: boolean): { black: { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; red: { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; green: { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; yellow: { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; blue: { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; magenta: { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; cyan: { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; white: { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; gray: { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; bgBlack: { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; bgRed: { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; bgGreen: { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; bgYellow: { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; bgBlue: { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; bgMagenta: { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; bgCyan: { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; bgWhite: { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; bgGray: { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; reset: { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; bright: { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; dim: { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; italic: { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; underscore: { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; blink: { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; reverse: { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; hidden: { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; leftPad: (length: number, char?: string) => { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; rightPad: (length: number, char?: string) => { (text: string): string; black: ReturnType<typeof createFormatter>; red: ReturnType<typeof createFormatter>; green: ReturnType<typeof createFormatter>; yellow: ReturnType<typeof createFormatter>; blue: ReturnType<typeof createFormatter>; magenta: ReturnType<typeof createFormatter>; cyan: ReturnType<typeof createFormatter>; white: ReturnType<typeof createFormatter>; gray: ReturnType<typeof createFormatter>; bgBlack: ReturnType<typeof createFormatter>; bgRed: ReturnType<typeof createFormatter>; bgGreen: ReturnType<typeof createFormatter>; bgYellow: ReturnType<typeof createFormatter>; bgBlue: ReturnType<typeof createFormatter>; bgMagenta: ReturnType<typeof createFormatter>; bgCyan: ReturnType<typeof createFormatter>; bgWhite: ReturnType<typeof createFormatter>; bgGray: ReturnType<typeof createFormatter>; reset: ReturnType<typeof createFormatter>; bright: ReturnType<typeof createFormatter>; dim: ReturnType<typeof createFormatter>; italic: ReturnType<typeof createFormatter>; underscore: ReturnType<typeof createFormatter>; blink: ReturnType<typeof createFormatter>; reverse: ReturnType<typeof createFormatter>; hidden: ReturnType<typeof createFormatter>; leftPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; rightPad: (length: number, char?: string) => ReturnType<typeof createFormatter>; }; }; export {};