import { OverlayHoc } from "./../_shared/overlay-hoc/overlay-hoc.js";
import { createRicosFunctionalExtension } from "./create-ricos-extension/index.js";
const overlay = createRicosFunctionalExtension({
  type: "extension",
  name: "overlay",
  groups: [],
  reconfigure: (config, extensions, _props, settings) => ({
    ...config,
    addOptions: () => settings,
    addNodeHoc: () => ({
      nodeTypes: extensions.filter((extension) => extension.groups.includes("overlay")).map(({ name }) => name),
      priority: 10,
      getNodeHoc: () => OverlayHoc
    })
  }),
  createExtensionConfig() {
    return {
      name: this.name,
      priority: 10
    };
  }
});
export {
  overlay
};
//# sourceMappingURL=overlay.js.map
