import { ApiBase } from '../Implementation/ApiBase';
export class CommentsInternalApi extends ApiBase {
    areCommentsSupportedInLayout() {
        if (this.getLayoutApi().isCurrentLayoutPivot()) {
            return false;
        }
        return true;
    }
    getCommentsDateFormat() {
        const dateFormat = this.getCommentOptions().dateFormat;
        return typeof dateFormat === 'function' ? dateFormat() : dateFormat;
    }
}
