"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CommentsInternalApi = void 0;
const ApiBase_1 = require("../Implementation/ApiBase");
class CommentsInternalApi extends ApiBase_1.ApiBase {
    areCommentsSupportedInLayout() {
        if (this.getLayoutApi().isCurrentLayoutPivot()) {
            return false;
        }
        return true;
    }
    getCommentsDateFormat() {
        const dateFormat = this.getCommentOptions().dateFormat;
        return typeof dateFormat === 'function' ? dateFormat() : dateFormat;
    }
}
exports.CommentsInternalApi = CommentsInternalApi;
