"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.UNORDERED_LIST = exports.TOP_LEVEL_TYPES = exports.TABLE_ROW = exports.TABLE_CELL = exports.TABLE = exports.PARAGRAPH = exports.ORDERED_LIST = exports.LIST_ITEM = exports.LINK = exports.INLINE_LEVEL_TYPES = exports.IMAGE = exports.HEADER_TYPE_MAP = exports.HEADER_LIST = exports.HEADER6 = exports.HEADER5 = exports.HEADER4 = exports.HEADER3 = exports.HEADER2 = exports.HEADER1 = exports.HEADER = exports.FORMULA = exports.COLUMN = exports.CODE_LINE = exports.CODE_BLOCK = exports.CHECK_LIST_ITEM = exports.BLOCKQUOTE = void 0;
const BLOCKQUOTE = exports.BLOCKQUOTE = 'blockquote';
const HEADER = exports.HEADER = 'header';
// each header type should be start with HEADER, all of justices should based on HEADER
const HEADER1 = exports.HEADER1 = `${HEADER}1`;
const HEADER2 = exports.HEADER2 = `${HEADER}2`;
const HEADER3 = exports.HEADER3 = `${HEADER}3`;
const HEADER4 = exports.HEADER4 = `${HEADER}4`;
const HEADER5 = exports.HEADER5 = `${HEADER}5`;
const HEADER6 = exports.HEADER6 = `${HEADER}6`;
const ORDERED_LIST = exports.ORDERED_LIST = 'ordered_list'; // <ol>
const UNORDERED_LIST = exports.UNORDERED_LIST = 'unordered_list'; // <ul> // unordered_list can not work
const LIST_ITEM = exports.LIST_ITEM = 'list_item'; // <li>
const CHECK_LIST_ITEM = exports.CHECK_LIST_ITEM = 'check_list_item';
const PARAGRAPH = exports.PARAGRAPH = 'paragraph';
const CODE_BLOCK = exports.CODE_BLOCK = 'code_block';
const CODE_LINE = exports.CODE_LINE = 'code_line';
const TABLE = exports.TABLE = 'table';
const TABLE_ROW = exports.TABLE_ROW = 'table_row';
const TABLE_CELL = exports.TABLE_CELL = 'table_cell';
const IMAGE = exports.IMAGE = 'image';
const LINK = exports.LINK = 'link';
const FORMULA = exports.FORMULA = 'formula';
const COLUMN = exports.COLUMN = 'column';
const TOP_LEVEL_TYPES = exports.TOP_LEVEL_TYPES = [BLOCKQUOTE, HEADER1, HEADER2, HEADER3, HEADER4, HEADER5, HEADER6, ORDERED_LIST, UNORDERED_LIST, CHECK_LIST_ITEM, PARAGRAPH, CODE_BLOCK, TABLE];
const INLINE_LEVEL_TYPES = exports.INLINE_LEVEL_TYPES = [IMAGE, LINK];
const HEADER_LIST = exports.HEADER_LIST = ['H1', 'H2', 'H3', 'H4', 'H5', 'H6'];
const HEADER_TYPE_MAP = exports.HEADER_TYPE_MAP = {
  H1: HEADER1,
  H2: HEADER2,
  H3: HEADER3,
  H4: HEADER4,
  H5: HEADER5,
  H6: HEADER6
};