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