import { ClearEditorExtension, TabIndentationExtension } from "@lexical/extension";
import { CheckListExtension, ListExtension } from "@lexical/list";
import { AdmonitionExtension } from "../extensions/admonition/admonition-extension.js";
import { AutoEmbedExtension } from "../extensions/auto-embed/auto-embed-extension.js";
import { BylineFloatingUIExtension } from "../extensions/byline-floating-ui/byline-floating-ui-extension.js";
import { BylineToolbarExtension } from "../extensions/byline-toolbar/byline-toolbar-extension.js";
import { CodeHighlightExtension } from "../extensions/code-highlight/code-highlight-extension.js";
import { FloatingTextFormatExtension } from "../extensions/floating-text-format/floating-text-format-extension.js";
import { HorizontalRuleExtension } from "../extensions/horizontal-rule/horizontal-rule-extension.js";
import { InlineImageExtension } from "../extensions/inline-image/inline-image-extension.js";
import { LayoutExtension } from "../extensions/layout/layout-extension.js";
import { AutoLinkExtension } from "../extensions/link/auto-link-extension.js";
import { LinkExtension } from "../extensions/link/link-extension.js";
import { TableExtension } from "../extensions/table/table-extension.js";
import { VimeoExtension } from "../extensions/vimeo/vimeo-extension.js";
import { YouTubeExtension } from "../extensions/youtube/youtube-extension.js";
import { defaultEditorConfig } from "./default.js";
import { ExtensionsList } from "./extensions-list.js";
function defaultExtensionsArray() {
    return [
        ClearEditorExtension,
        TabIndentationExtension,
        BylineToolbarExtension,
        BylineFloatingUIExtension,
        ListExtension,
        CheckListExtension,
        HorizontalRuleExtension,
        LayoutExtension,
        AdmonitionExtension,
        CodeHighlightExtension,
        TableExtension,
        LinkExtension,
        AutoLinkExtension,
        InlineImageExtension,
        YouTubeExtension,
        VimeoExtension,
        AutoEmbedExtension,
        FloatingTextFormatExtension
    ];
}
function defaultExtensionsList() {
    return new ExtensionsList(defaultExtensionsArray());
}
const defaultClientEditorConfig = {
    ...defaultEditorConfig,
    extensions: defaultExtensionsList()
};
export { defaultClientEditorConfig, defaultExtensionsArray, defaultExtensionsList };
