import { Traverse } from '@ephox/sugar';
const toDomRange = (cursorRange) => {
    const doc = Traverse.owner(cursorRange.start);
    const range = doc.dom.createRange();
    range.setStart(cursorRange.start.dom, cursorRange.soffset);
    range.setEnd(cursorRange.finish.dom, cursorRange.foffset);
    return range;
};
export { toDomRange };
//# sourceMappingURL=RangeUtils.js.map