import type { AsciiArtColorDepth } from './convertImageDataToAsciiArt';
/**
 * ANSI escape sequence that resets all colors and attributes.
 *
 * @private within the repository
 */
export declare const ANSI_RESET = "\u001B[0m";
/**
 * One opaque 24-bit color which should be written into an ANSI escape sequence.
 *
 * @private within the repository
 */
export type AnsiRgbColor = {
    /**
     * Red channel in the range `[0, 255]`.
     */
    readonly red: number;
    /**
     * Green channel in the range `[0, 255]`.
     */
    readonly green: number;
    /**
     * Blue channel in the range `[0, 255]`.
     */
    readonly blue: number;
};
/**
 * Creates the ANSI escape code that sets the foreground color of following characters.
 *
 * @param color Color painted onto the characters.
 * @param colorDepth Color depth supported by the target terminal.
 * @returns ANSI escape sequence.
 *
 * @private within the repository
 */
export declare function createAnsiForegroundColorCode(color: AnsiRgbColor, colorDepth: AsciiArtColorDepth): string;
/**
 * Creates the ANSI escape code that sets the background color of following characters.
 *
 * @param color Color painted behind the characters.
 * @param colorDepth Color depth supported by the target terminal.
 * @returns ANSI escape sequence.
 *
 * @private within the repository
 */
export declare function createAnsiBackgroundColorCode(color: AnsiRgbColor, colorDepth: AsciiArtColorDepth): string;
