import type { SelectionPath } from 'roosterjs-editor-types'; /** * Get path of the given selection range related to the given rootNode * @param rootNode The root node where the path start from * @param range The range of selection */ export default function getSelectionPath(rootNode: Node, range: Range | null): SelectionPath | null;