import {
  blockConfigSchema,
  blockFieldConfigSchema,
  blockFieldExtensionSchema,
  blockFieldExtensionsSchema,
  blockFieldOptionsSchema,
  containerAlignmentSchema,
  containerMaxWidthSchema,
  containerOptionsSchema,
  contentConfigSchema,
  contentTypeConfigSchema,
  entryConfigSchema,
  fieldSelectOptionSchema,
  navigationItemConfigSchema,
  navigationMenuConfigSchema,
  pageConfigSchema,
  riverbankSiteConfigSchema,
  sdkCustomBlockSchema,
  sdkThemeConfigSchema,
  sdkThemePaletteSchema,
  sectionBackgroundSchema,
  sectionOptionsSchema,
  sectionSpacingSchema,
  siteSettingsConfigSchema,
  siteStyleConfigSchema
} from "./chunk-P4K63SBZ.mjs";
import {
  SYSTEM_BLOCK_KINDS
} from "./chunk-D2QLTPUJ.mjs";
import "./chunk-LNOUXALA.mjs";
import "./chunk-AEFWG657.mjs";
import "./chunk-BYBJA6SP.mjs";
import "./chunk-BJTO5JO5.mjs";

// 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;
}
export {
  SYSTEM_BLOCK_KINDS,
  blockConfigSchema,
  blockFieldConfigSchema,
  blockFieldExtensionSchema,
  blockFieldExtensionsSchema,
  blockFieldOptionsSchema,
  containerAlignmentSchema,
  containerMaxWidthSchema,
  containerOptionsSchema,
  contentConfigSchema,
  contentTypeConfigSchema,
  createEntry,
  defineConfig,
  defineContentConfig,
  defineTypedContentType,
  entryConfigSchema,
  fieldSelectOptionSchema,
  navigationItemConfigSchema,
  navigationMenuConfigSchema,
  pageConfigSchema,
  riverbankSiteConfigSchema,
  sdkCustomBlockSchema,
  sdkThemeConfigSchema,
  sdkThemePaletteSchema,
  sectionBackgroundSchema,
  sectionOptionsSchema,
  sectionSpacingSchema,
  siteSettingsConfigSchema,
  siteStyleConfigSchema,
  tiptap
};
//# sourceMappingURL=config.mjs.map