import { createNodeFromContent } from "./create-node-from-content.js";
function createDocument(content, schema, parseOptions = {}, options = {}) {
  return createNodeFromContent(content, schema, {
    slice: false,
    parseOptions,
    errorOnInvalidContent: options.errorOnInvalidContent
  });
}
export {
  createDocument
};
//# sourceMappingURL=create-document.js.map
