const findChildrenInRange = (node, range, predicate) => {
  const nodesWithPos = [];
  node.nodesBetween(range.from, range.to, (child, pos) => {
    if (predicate(child)) {
      nodesWithPos.push({
        node: child,
        pos
      });
    }
  });
  return nodesWithPos;
};
export {
  findChildrenInRange
};
//# sourceMappingURL=find-children-in-range.js.map
