/** * A collection of ANSI color codes for console logging. * * @property {string} Reset - The ANSI code for resetting console color. * @property {string} Bright - The ANSI code for brightening console color. * @property {string} Dim - The ANSI code for dimming console color. * @property {string} Underscore - The ANSI code for underlining console text. * @property {string} Blink - The ANSI code for blinking console text. * @property {string} Reverse - The ANSI code for reversing the foreground and background colors of console text. * @property {string} Hidden - The ANSI code for hiding console text. * @property {string} FgBlack - The ANSI code for setting the foreground color to black. * @property {string} FgRed - The ANSI code for setting the foreground color to red. * @property {string} FgGreen - The ANSI code for setting the foreground color to green. * @property {string} FgYellow - The ANSI code for setting the foreground color to yellow. * @property {string} FgBlue - The ANSI code for setting the foreground color to blue. * @property {string} FgMagenta - The ANSI code for setting the foreground color to magenta. * @property {string} FgCyan - The ANSI code for setting the foreground color to cyan. * @property {string} FgWhite - The ANSI code for setting the foreground color to white. * @property {string} BgBlack - The ANSI code for setting the background color to black. * @property {string} BgRed - The ANSI code for setting the background color to red. * @property {string} BgGreen - The ANSI code for setting the background color to green. * @property {string} BgYellow - The ANSI code for setting the background color to yellow. * @property {string} BgBlue - The ANSI code for setting the background color to blue. * @property {string} BgMagenta - The ANSI code for setting the background color to magenta. * @property {string} BgCyan - The ANSI code for setting the background color to cyan. * @property {string} BgWhite - The ANSI code for setting the background color to white. */ export declare const colors: { Reset: string; Bright: string; Dim: string; Underscore: string; Blink: string; Reverse: string; Hidden: string; FgBlack: string; FgRed: string; FgGreen: string; FgYellow: string; FgBlue: string; FgMagenta: string; FgCyan: string; FgWhite: string; BgBlack: string; BgRed: string; BgGreen: string; BgYellow: string; BgBlue: string; BgMagenta: string; BgCyan: string; BgWhite: string; }; /** * Logs the given messages with type "info". * * @param {...string} messages - The messages to log. * @returns {void} */ export declare const logInfo: (...messages: string[]) => void; /** * Logs the given messages with type "error". * * @param {...string} messages - The messages to log. * @returns {void} */ export declare const logError: (...messages: string[]) => void; /** * Logs the given messages with type "warn". * * @param {...string} messages - The messages to log. * @returns {void} */ export declare const logWarn: (...messages: string[]) => void; /** * Returns a function that takes an option name and returns the value * of the corresponding command line option from the given arguments. * * @param {string[]} argv - The command line arguments. * @returns {(optionName: string) => string|undefined} - The option value. */ export declare const getCmdOption: (argv: string[]) => (a: string) => string | undefined;