"use strict";Object.defineProperty(exports, "__esModule", {value: true});
























var _chunk2KCF2DNKjs = require('./chunk-2KCF2DNK.js');


var _chunkGERCMTPQjs = require('./chunk-GERCMTPQ.js');
require('./chunk-7UPVCT3K.js');
require('./chunk-RVDS7VSP.js');
require('./chunk-YYO3RIFO.js');
require('./chunk-DGUM43GV.js');

// src/config/typed-entries.ts
function defineTypedContentType(config) {
  return config;
}
function createEntry(contentType, entry) {
  return {
    ...entry,
    contentType: contentType.key
  };
}
var tiptap = {
  /**
   * Create an empty TipTap document.
   *
   * @returns An empty TipTap document node
   */
  empty() {
    return { type: "doc", content: [] };
  },
  /**
   * Create a TipTap document with a single paragraph.
   *
   * @param text - The paragraph text content
   * @returns A TipTap document with one paragraph
   */
  paragraph(text) {
    return {
      type: "doc",
      content: [
        {
          type: "paragraph",
          content: text ? [{ type: "text", text }] : []
        }
      ]
    };
  },
  /**
   * Create a TipTap document with custom content nodes.
   *
   * @param content - Array of TipTap nodes to include in the document
   * @returns A TipTap document wrapping the content
   */
  doc(content) {
    return { type: "doc", content };
  },
  /**
   * Create a heading node.
   *
   * Note: This returns a heading node, not a document. Use with tiptap.doc()
   * to create a complete document.
   *
   * @param level - Heading level (1-6)
   * @param text - Heading text content
   * @returns A TipTap heading node
   */
  heading(level, text) {
    return {
      type: "heading",
      attrs: { level },
      content: [{ type: "text", text }]
    };
  }
};

// src/config/index.ts
function defineConfig(config) {
  return config;
}
function defineContentConfig(config) {
  return config;
}































exports.SYSTEM_BLOCK_KINDS = _chunkGERCMTPQjs.SYSTEM_BLOCK_KINDS; exports.blockConfigSchema = _chunk2KCF2DNKjs.blockConfigSchema; exports.blockFieldConfigSchema = _chunk2KCF2DNKjs.blockFieldConfigSchema; exports.blockFieldExtensionSchema = _chunk2KCF2DNKjs.blockFieldExtensionSchema; exports.blockFieldExtensionsSchema = _chunk2KCF2DNKjs.blockFieldExtensionsSchema; exports.blockFieldOptionsSchema = _chunk2KCF2DNKjs.blockFieldOptionsSchema; exports.containerAlignmentSchema = _chunk2KCF2DNKjs.containerAlignmentSchema; exports.containerMaxWidthSchema = _chunk2KCF2DNKjs.containerMaxWidthSchema; exports.containerOptionsSchema = _chunk2KCF2DNKjs.containerOptionsSchema; exports.contentConfigSchema = _chunk2KCF2DNKjs.contentConfigSchema; exports.contentTypeConfigSchema = _chunk2KCF2DNKjs.contentTypeConfigSchema; exports.createEntry = createEntry; exports.defineConfig = defineConfig; exports.defineContentConfig = defineContentConfig; exports.defineTypedContentType = defineTypedContentType; exports.entryConfigSchema = _chunk2KCF2DNKjs.entryConfigSchema; exports.fieldSelectOptionSchema = _chunk2KCF2DNKjs.fieldSelectOptionSchema; exports.navigationItemConfigSchema = _chunk2KCF2DNKjs.navigationItemConfigSchema; exports.navigationMenuConfigSchema = _chunk2KCF2DNKjs.navigationMenuConfigSchema; exports.pageConfigSchema = _chunk2KCF2DNKjs.pageConfigSchema; exports.riverbankSiteConfigSchema = _chunk2KCF2DNKjs.riverbankSiteConfigSchema; exports.sdkCustomBlockSchema = _chunk2KCF2DNKjs.sdkCustomBlockSchema; exports.sdkThemeConfigSchema = _chunk2KCF2DNKjs.sdkThemeConfigSchema; exports.sdkThemePaletteSchema = _chunk2KCF2DNKjs.sdkThemePaletteSchema; exports.sectionBackgroundSchema = _chunk2KCF2DNKjs.sectionBackgroundSchema; exports.sectionOptionsSchema = _chunk2KCF2DNKjs.sectionOptionsSchema; exports.sectionSpacingSchema = _chunk2KCF2DNKjs.sectionSpacingSchema; exports.siteSettingsConfigSchema = _chunk2KCF2DNKjs.siteSettingsConfigSchema; exports.siteStyleConfigSchema = _chunk2KCF2DNKjs.siteStyleConfigSchema; exports.tiptap = tiptap;
//# sourceMappingURL=config.js.map