"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.MultilineView = void 0;
const chalk_1 = __importDefault(require("chalk"));
const art_1 = require("../utils/art");
class MultilineView {
    constructor() {
        this.genericStyle = chalk_1.default.cyan;
        this.highlightStyle = chalk_1.default.redBright.bold;
        this.av = new art_1.Art(this.genericStyle, this.highlightStyle);
    }
    render(input) {
        process.stdout.write(input);
        process.stdout.write("\n");
    }
    headerRender(input) {
        const str = this.av.createMessage(input);
        this.render(str);
    }
    renderStartHeredocMode(delimeter) {
        this.headerRender(`Multiline Mode Started: enter **${delimeter}** to submit`);
    }
    renderEndHeredocMode(delimeter) {
        this.headerRender(`Multiline Mode Ended: detected **${delimeter}**, now submitting`);
    }
}
exports.MultilineView = MultilineView;
