import { pluginAiSuggestions } from "./plugin-ai-suggestions/options.js";
import { pluginCollab } from "./plugin-collab/options.js";
import { readYXmlFragment, writeYXmlFragment } from "./plugin-collab/y-adapter.js";
import { extractUoUParams } from "./_shared/extract-uou-params.js";
import { getInitialLinkData } from "./_shared/link/get-initial-link-data.js";
import { parseInstance } from "./_shared/request-service-provider/parse-instance.js";
import { RicosEditor } from "./ricos-editor/index.js";
import { resolveFileUrl } from "./ricos-media/index.js";
import { RicosViewer } from "./ricos-viewer-next/index.js";
import {
  ACTION_BUTTON_TYPE,
  AUDIO_TYPE,
  CODE_BLOCK_TYPE,
  COLLAPSIBLE_LIST_TYPE,
  compare,
  createContent,
  DIVIDER_TYPE,
  EMBED_TYPE,
  EMOJI_TYPE,
  EXTERNAL_MENTIONS_TYPE,
  FILE_UPLOAD_TYPE,
  GALLERY_TYPE,
  getMediaData,
  getTextDirection,
  GIPHY_TYPE,
  HASHTAG_TYPE,
  HEADINGS_DROPDOWN_TYPE,
  HTML_TYPE,
  IMAGE_TYPE,
  INDENT_TYPE,
  isContentStateEmpty,
  isDraftContent,
  isRichContent,
  isRichContentEmpty,
  LINE_SPACING_TYPE,
  LINK_BUTTON_TYPE,
  LINK_PREVIEW_TYPE,
  LINK_TYPE,
  MENTION_TYPE,
  normalizeInitialState,
  POLL_TYPE,
  RICOS_ANCHOR_TYPE,
  RICOS_CAPTION_TYPE,
  RICOS_DIVIDER_TYPE,
  RICOS_FILE_TYPE,
  RICOS_GALLERY_TYPE,
  RICOS_GIPHY_TYPE,
  RICOS_IMAGE_TYPE,
  RICOS_LINK_BUTTON_TYPE,
  RICOS_LINK_PREVIEW_TYPE,
  RICOS_LINK_TYPE,
  RICOS_MENTION_TYPE,
  RICOS_POLL_TYPE,
  RICOS_SHAPE_TYPE,
  RICOS_VERTICAL_EMBED_TYPE,
  RICOS_VIDEO_TYPE,
  SHAPE_TYPE,
  SPOILER_TYPE,
  TABLE_TYPE,
  TOC_TYPE,
  TEXT_COLOR_TYPE,
  TEXT_HIGHLIGHT_TYPE,
  TIPTAP_SHAPE_TYPE,
  Version,
  VERTICAL_EMBED_TYPE,
  VIDEO_TYPE
} from "./ricos-content/index.js";
import { isContentEqual } from "./ricos-content/lib/comapare-draft-content.js";
import { setupContentBuilder } from "./ricos-content/lib/content.js";
import { getPluginData, getText } from "./ricos-content/lib/content-application.js";
import { fromDraft, fromPlainText, toDraft, toPlainText } from "./ricos-content/lib/converters.js";
import { createEmptyContent } from "./ricos-content/lib/create-empty-content.js";
import { ensureDraftContent } from "./ricos-content/lib/ensure-draft-content.js";
import { ensureRicosContent } from "./ricos-content/lib/ensure-ricos-content.js";
import { extract } from "./ricos-content/lib/extract.js";
import { extractMedia } from "./ricos-content/lib/extract-media.js";
import { getContentLength } from "./ricos-content/lib/get-content-length.js";
import { isRichContentEqual } from "./ricos-content/lib/is-rich-content-equal.js";
import { ensureContentId } from "./ricos-content/lib/metadata-utils.js";
import { modify } from "./ricos-content/lib/modify.js";
import {
  createParagraphNode,
  createTextNode,
  initializeMetadata
} from "./ricos-content/lib/node-utils.js";
import {
  fromCKEditorHtml,
  fromRichTextHtml,
  toHtml
} from "./ricos-content/lib/server-side-converters.js";
import { toPlainTextSync } from "./ricos-content/lib/to-plain-text-sync.js";
import { toTranslatables, translateContent } from "./ricos-content/lib/translate.js";
import { truncateRichContent } from "./ricos-content/lib/truncate-rich-content.js";
import { getCountableNodes, truncateContent } from "./ricos-content/lib/truncate-content.js";
import { getAnchorableNodesQuery } from "./ricos-content-query/index.js";
import { RicosEditor as RicosEditor2 } from "./ricos-editor/index.js";
import {
  AppEmbedData_AppType,
  ButtonData_Styles_Background_Type,
  ButtonData_Type,
  CollapsibleListData_Direction,
  CollapsibleListData_InitialExpandedItems,
  Decoration_Type,
  DividerData_Alignment,
  DividerData_LineStyle,
  DividerData_Width,
  FontSizeData_fontType,
  GalleryOptions_ItemStyle_Crop,
  GalleryOptions_Layout_Orientation,
  GalleryOptions_Layout_Type,
  GalleryOptions_Thumbnails_Alignment,
  GIFData_GIFType,
  HTMLData_Source,
  ImageData,
  LayoutData_Backdrop_Type,
  LayoutData_Background_Type,
  LayoutData_ResponsivenessBehaviour,
  LayoutData_VerticalAlignment_Alignment,
  LayoutData_Banner_Position,
  LayoutData_Banner_Origin,
  LayoutData_DesignTarget,
  Link_Target,
  Node_Type,
  PluginContainerData_Alignment,
  PluginContainerData_Width_Type,
  PollData_Design_PollDesign_Background_Type,
  PollData_Layout_PollLayout_Direction,
  PollData_Layout_PollLayout_Type,
  PollData_Poll_Settings_Permissions_ViewRole,
  PollData_Poll_Settings_Permissions_VoteRole,
  RichContent,
  TextStyle_TextAlignment,
  SmartBlockData_ColumnSize,
  SmartBlockData_Type
} from "./ricos-schema/legacy/wix/rich_content/v1/index.js";
import { validateRicosDocument } from "./ricos-schema/next-schema/index.js";
import {
  ToolbarType
} from "./ricos-types/index.js";
import { RicosViewer as RicosViewer2 } from "./ricos-viewer-next/index.js";
import { convertToGalleryItemList } from "./_shared/media/convert-to-gallery-item-list.js";
import { getAbsoluteUrl } from "./_shared/media/get-absolute-url.js";
import { PLUGIN_TOOLBAR_BUTTON_ID } from "./_shared/plugin-toolbar/plugin-toolbar-buttons-ids.js";
import { quickStartViewerPlugins } from "./_shared/quick-start-viewer-plugins/quick-start-viewer-plugins.js";
import { generateKey, isHexColor } from "./wix-rich-content-common/index.js";
import { truncateContentState } from "./wix-rich-content-common/lib/content-state-services.js";
import { Tooltip } from "./wix-rich-content-common/lib/tooltip.js";
import {
  EditorEvents,
  EditorEventsContext,
  EditorEventsProvider,
  withEditorContext
} from "./editor-common/editor-events-context.js";
import {
  RicosEditorApiContext,
  RicosEditorApiProvider,
  useRicosEditorApi,
  withRicosEditorApi
} from "./_shared/ricos-editor-api-context/ricos-editor-api-context.js";
import {
  BUTTON_TYPES,
  FORMATTING_BUTTONS,
  INSERT_PLUGIN_BUTTONS
} from "./editor-common/index.js";
import { pluginAi } from "./plugin-ai/index.js";
import {
  audioButtonsTypes,
  pluginAudio
} from "./plugin-audio/index.js";
import { pluginAudio as pluginAudio2 } from "./plugin-audio/viewer.js";
import {
  pluginActionButton,
  pluginLinkButton
} from "./plugin-button/index.js";
import {
  pluginActionButton as pluginActionButton2,
  pluginLinkButton as pluginLinkButton2
} from "./plugin-button/viewer.js";
import { pluginCodeBlock } from "./plugin-code-block/index.js";
import { pluginCodeBlock as pluginCodeBlock2 } from "./plugin-code-block/viewer.js";
import {
  pluginCollapsibleList
} from "./plugin-collapsible-list/index.js";
import { pluginCollapsibleList as pluginCollapsibleList2 } from "./plugin-collapsible-list/viewer.js";
import { DIVIDER_BUTTONS, pluginDivider } from "./plugin-divider/index.js";
import { pluginDivider as pluginDivider2 } from "./plugin-divider/viewer.js";
import { pluginEmoji } from "./plugin-emoji/index.js";
import { pluginEmoji as pluginEmoji2 } from "./plugin-emoji/viewer.js";
import {
  pluginFileUpload
} from "./plugin-file-upload/index.js";
import {
  fileExtensionToType,
  FileTypes
} from "./plugin-file-upload/lib/file-extension-to-type.js";
import { pluginFileUpload as pluginFileUpload2 } from "./plugin-file-upload/viewer.js";
import { pluginFontFamily } from "./plugin-font-family/index.js";
import { pluginFontFamily as pluginFontFamily2 } from "./plugin-font-family/viewer.js";
import {
  pluginGallery
} from "./plugin-gallery/index.js";
import { pluginGallery as pluginGallery2 } from "./plugin-gallery/viewer.js";
import { pluginGiphy } from "./plugin-giphy/index.js";
import { pluginGiphy as pluginGiphy2 } from "./plugin-giphy/viewer.js";
import { pluginHashtag } from "./plugin-hashtag/index.js";
import { pluginHashtag as pluginHashtag2 } from "./plugin-hashtag/viewer.js";
import { pluginHeadings } from "./plugin-headings/index.js";
import { htmlButtonsTypes, pluginHtml } from "./plugin-html/index.js";
import { pluginHtml as pluginHtml2 } from "./plugin-html/viewer.js";
import { pluginImage } from "./plugin-image/index.js";
import { pluginImage as pluginImage2 } from "./plugin-image/viewer.js";
import { pluginIndent } from "./plugin-indent/index.js";
import { pluginIndent as pluginIndent2 } from "./plugin-indent/viewer.js";
import { pluginInlineAi } from "./plugin-inline-ai/index.js";
import { pluginLineSpacing } from "./plugin-line-spacing/index.js";
import { pluginLineSpacing as pluginLineSpacing2 } from "./plugin-line-spacing/viewer.js";
import { pluginLink } from "./plugin-link/index.js";
import { pluginLink as pluginLink2 } from "./plugin-link/viewer.js";
import {
  LinkPreviewProviders,
  pluginLinkPreview
} from "./plugin-link-preview/index.js";
import { pluginLinkPreview as pluginLinkPreview2 } from "./plugin-link-preview/viewer.js";
import {
  pluginMentions
} from "./plugin-mentions/index.js";
import { pluginMentions as pluginMentions2 } from "./plugin-mentions/viewer.js";
import { pluginShape, SHAPE_RICOS_DEFAULTS } from "./plugin-shape/index.js";
import { pluginShape as pluginShape2 } from "./plugin-shape/viewer.js";
import { pluginSmartBlock } from "./plugin-smart-block/index.js";
import { pluginSmartBlock as pluginSmartBlock2 } from "./plugin-smart-block/viewer.js";
import {
  pluginPoll
} from "./plugin-social-polls/index.js";
import { pluginPoll as pluginPoll2 } from "./plugin-social-polls/viewer.js";
import { pluginSpoiler, SpoilerEditorWrapper } from "./plugin-spoiler/index.js";
import {
  initSpoilersContentState,
  pluginSpoiler as pluginSpoiler2,
  SpoilerViewerWrapper
} from "./plugin-spoiler/viewer.js";
import { pluginTable, TABLE_BUTTONS } from "./plugin-table/index.js";
import { pluginTable as pluginTable2 } from "./plugin-table/viewer.js";
import { pluginToc } from "./plugin-toc/index.js";
import { pluginToc as pluginToc2 } from "./plugin-toc/viewer.js";
import { pluginTextColor, pluginTextHighlight } from "./plugin-text-color/index.js";
import {
  pluginTextColor as pluginTextColor2,
  pluginTextHighlight as pluginTextHighlight2
} from "./plugin-text-color/viewer.js";
import {
  pluginVerticalEmbed,
  verticalEmbedProviders
} from "./plugin-vertical-embed/index.js";
import { pluginVerticalEmbed as pluginVerticalEmbed2 } from "./plugin-vertical-embed/viewer.js";
import {
  pluginVideo,
  videoButtonsTypes
} from "./plugin-video/index.js";
import { pluginVideo as pluginVideo2 } from "./plugin-video/viewer.js";
import {
  TextSelectionToolbar,
  TwitterButton
} from "./text-selection-toolbar/index.js";
import {
  RicosWidget
} from "./ui-components/wixel-assistant/ricos-assistant-widget.js";
const MAP_TYPE = "wix-draft-plugin-map";
export {
  ACTION_BUTTON_TYPE,
  AUDIO_TYPE,
  AppEmbedData_AppType,
  BUTTON_TYPES,
  ButtonData_Styles_Background_Type,
  ButtonData_Type,
  CODE_BLOCK_TYPE,
  COLLAPSIBLE_LIST_TYPE,
  CollapsibleListData_Direction,
  CollapsibleListData_InitialExpandedItems,
  DIVIDER_BUTTONS,
  DIVIDER_TYPE,
  Decoration_Type,
  DividerData_Alignment,
  DividerData_LineStyle,
  DividerData_Width,
  EMBED_TYPE,
  EMOJI_TYPE,
  EXTERNAL_MENTIONS_TYPE,
  EditorEvents,
  EditorEventsContext,
  EditorEventsProvider,
  FILE_UPLOAD_TYPE,
  FORMATTING_BUTTONS,
  FileTypes,
  FontSizeData_fontType,
  GALLERY_TYPE,
  GIFData_GIFType,
  GIPHY_TYPE,
  GalleryOptions_ItemStyle_Crop,
  GalleryOptions_Layout_Orientation,
  GalleryOptions_Layout_Type,
  GalleryOptions_Thumbnails_Alignment,
  HASHTAG_TYPE,
  HEADINGS_DROPDOWN_TYPE,
  HTMLData_Source,
  HTML_TYPE,
  IMAGE_TYPE,
  INDENT_TYPE,
  INSERT_PLUGIN_BUTTONS,
  ImageData,
  LINE_SPACING_TYPE,
  LINK_BUTTON_TYPE,
  LINK_PREVIEW_TYPE,
  LINK_TYPE,
  LayoutData_Backdrop_Type,
  LayoutData_Background_Type,
  LayoutData_Banner_Origin,
  LayoutData_Banner_Position,
  LayoutData_DesignTarget,
  LayoutData_ResponsivenessBehaviour,
  LayoutData_VerticalAlignment_Alignment,
  LinkPreviewProviders,
  Link_Target,
  MAP_TYPE,
  MENTION_TYPE,
  Node_Type,
  PLUGIN_TOOLBAR_BUTTON_ID,
  POLL_TYPE,
  PluginContainerData_Alignment,
  PluginContainerData_Width_Type,
  PollData_Design_PollDesign_Background_Type,
  PollData_Layout_PollLayout_Direction,
  PollData_Layout_PollLayout_Type,
  PollData_Poll_Settings_Permissions_ViewRole,
  PollData_Poll_Settings_Permissions_VoteRole,
  RICOS_ANCHOR_TYPE,
  RICOS_CAPTION_TYPE,
  RICOS_DIVIDER_TYPE,
  RICOS_FILE_TYPE,
  RICOS_GALLERY_TYPE,
  RICOS_GIPHY_TYPE,
  RICOS_IMAGE_TYPE,
  RICOS_LINK_BUTTON_TYPE,
  RICOS_LINK_PREVIEW_TYPE,
  RICOS_LINK_TYPE,
  RICOS_MENTION_TYPE,
  RICOS_POLL_TYPE,
  RICOS_SHAPE_TYPE,
  RICOS_VERTICAL_EMBED_TYPE,
  RICOS_VIDEO_TYPE,
  RichContent,
  RicosEditor2 as RicosEditor,
  RicosEditorApiContext,
  RicosEditorApiProvider,
  RicosViewer2 as RicosViewer,
  RicosWidget,
  SHAPE_RICOS_DEFAULTS,
  SHAPE_TYPE,
  SPOILER_TYPE,
  SmartBlockData_ColumnSize,
  SmartBlockData_Type,
  SpoilerEditorWrapper,
  SpoilerViewerWrapper,
  TABLE_BUTTONS,
  TABLE_TYPE,
  TEXT_COLOR_TYPE,
  TEXT_HIGHLIGHT_TYPE,
  TIPTAP_SHAPE_TYPE,
  TOC_TYPE,
  TextSelectionToolbar,
  TextStyle_TextAlignment,
  ToolbarType,
  Tooltip,
  TwitterButton,
  VERTICAL_EMBED_TYPE,
  VIDEO_TYPE,
  Version,
  RicosEditor as WixRicosEditor,
  RicosViewer as WixRicosViewer,
  audioButtonsTypes,
  compare,
  convertToGalleryItemList as convertItemData,
  createContent,
  createEmptyContent,
  createParagraphNode,
  createTextNode,
  ensureContentId,
  ensureDraftContent,
  ensureRicosContent,
  extract,
  extractMedia,
  extractUoUParams,
  fileExtensionToType,
  fromCKEditorHtml,
  fromDraft,
  fromPlainText,
  fromRichTextHtml,
  generateKey,
  getAbsoluteUrl,
  getAnchorableNodesQuery,
  getContentLength,
  getCountableNodes,
  getInitialLinkData,
  getMediaData,
  getPluginData,
  getText,
  getTextDirection,
  htmlButtonsTypes,
  initSpoilersContentState,
  initializeMetadata,
  isContentEqual,
  isContentStateEmpty,
  isDraftContent,
  isHexColor,
  isRichContent,
  isRichContentEmpty,
  isRichContentEqual,
  modify,
  normalizeInitialState,
  parseInstance,
  pluginActionButton,
  pluginActionButton2 as pluginActionButtonViewer,
  pluginAi,
  pluginAiSuggestions,
  pluginAudio,
  pluginAudio2 as pluginAudioViewer,
  pluginCodeBlock,
  pluginCodeBlock2 as pluginCodeBlockViewer,
  pluginCollab,
  pluginCollapsibleList,
  pluginCollapsibleList2 as pluginCollapsibleListViewer,
  pluginDivider,
  pluginDivider2 as pluginDividerViewer,
  pluginEmoji,
  pluginEmoji2 as pluginEmojiViewer,
  pluginFileUpload,
  pluginFileUpload2 as pluginFileUploadViewer,
  pluginFontFamily,
  pluginFontFamily2 as pluginFontFamilyViewer,
  pluginGallery,
  pluginGallery2 as pluginGalleryViewer,
  pluginGiphy,
  pluginGiphy2 as pluginGiphyViewer,
  pluginHashtag,
  pluginHashtag2 as pluginHashtagViewer,
  pluginHeadings,
  pluginHtml,
  pluginHtml2 as pluginHtmlViewer,
  pluginImage,
  pluginImage2 as pluginImageViewer,
  pluginIndent,
  pluginIndent2 as pluginIndentViewer,
  pluginInlineAi,
  pluginLineSpacing,
  pluginLineSpacing2 as pluginLineSpacingViewer,
  pluginLink,
  pluginLinkButton,
  pluginLinkButton2 as pluginLinkButtonViewer,
  pluginLinkPreview,
  pluginLinkPreview2 as pluginLinkPreviewViewer,
  pluginLink2 as pluginLinkViewer,
  pluginMentions,
  pluginMentions2 as pluginMentionsViewer,
  pluginPoll,
  pluginPoll2 as pluginPollViewer,
  pluginShape,
  pluginShape2 as pluginShapeViewer,
  pluginSmartBlock,
  pluginSmartBlock2 as pluginSmartBlockViewer,
  pluginSpoiler,
  pluginSpoiler2 as pluginSpoilerViewer,
  pluginTable,
  pluginTable2 as pluginTableViewer,
  pluginTextColor,
  pluginTextColor2 as pluginTextColorViewer,
  pluginTextHighlight,
  pluginTextHighlight2 as pluginTextHighlightViewer,
  pluginToc,
  pluginToc2 as pluginTocViewer,
  pluginVerticalEmbed,
  pluginVerticalEmbed2 as pluginVerticalEmbedViewer,
  pluginVideo,
  pluginVideo2 as pluginVideoViewer,
  quickStartViewerPlugins,
  readYXmlFragment,
  resolveFileUrl,
  setupContentBuilder,
  toDraft,
  toHtml,
  toPlainText,
  toPlainTextSync,
  toTranslatables,
  translateContent,
  truncateContent,
  truncateContentState,
  truncateRichContent,
  useRicosEditorApi,
  validateRicosDocument,
  verticalEmbedProviders,
  videoButtonsTypes,
  withEditorContext,
  withRicosEditorApi,
  writeYXmlFragment
};
//# sourceMappingURL=legacy.js.map
