"use strict";
/**
 * @poppinss/colors
 *
 * (c) Harminder Virk <virk@adonisjs.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Raw = void 0;
const Base_1 = require("./Base");
/**
 * Exposes the API to print raw text to the console. The API is
 * compatible with kleur.
 *
 * One must use it when they want to disable colors
 */
class Raw extends Base_1.Colors {
    transform(_, text) {
        if (text !== undefined) {
            return String(text);
        }
        return this;
    }
}
exports.Raw = Raw;
