import { Node_Type } from "./../../ricos-schema/legacy/wix/rich_content/v1/index.js";
import { generateId } from "../converters/generate-random-id.js";
import { setupAbstractContentBuilder } from "../RicosContentAPI/abstract-content-builder.js";
import { makeCollapsibleList } from "../RicosContentAPI/collapsible-list-builder-api.js";
import { makeListNode, makeNode, makeTextNode } from "../RicosContentAPI/node-builder-methods.js";
import { makeTable } from "../RicosContentAPI/table-builder-api.js";
import { createImageData } from "./nativeElements/add-image.js";
const setupNodeCreators = setupAbstractContentBuilder(
  generateId,
  makeTextNode,
  makeListNode,
  makeNode,
  makeTable,
  makeCollapsibleList
);
setupNodeCreators.image = ({ data }) => makeNode(generateId)({ data: createImageData(data), type: Node_Type.IMAGE });
export {
  setupNodeCreators
};
//# sourceMappingURL=plugin-creators.js.map
