import type { Anchor } from "../model/types"; export declare function markedAncestor(node: Node, root: Element): Element | null; /** The paragraph-like block a node sits in; its text is what "has this changed?" is judged on. */ export declare function blockOf(node: Node, root: Element): Element; /** A CSS path from `from` to its descendant `to`, usable as from.querySelector(path). '' when they're equal. */ export declare function cssPath(from: Element, to: Element): string; export declare function describeRange(range: Range, root: Element, view?: Record): Anchor; export declare function describeElement(el: Element, root: Element, point?: { x: number; y: number; }, view?: Record): Anchor;