import { Editor } from "slate";
import { closest } from "./closest.js";
const closestBlockEntry = (editor, options) => closest(editor, {
  at: options?.at,
  match: (node) => Editor.isBlock(editor, node) && (options?.match ? options.match(node) : true)
});
export { closestBlockEntry };
//# sourceMappingURL=closestBlockEntry.js.map
