/** * @internal * * Get the path of the node relative to rootNode. * The path of the node is an array of integer indices into the childNodes of the given node. * * The node path will be what the node path will be on a _normalized_ dom * (e.g. empty text nodes will be ignored and adjacent text nodes will be concatenated) * * @param rootNode the node the path will be relative to * @param position the position to get indexes from. Follows the same semantics * as selectionRange (if node is of type Text, it is an offset into the text of that node. * If node is of type Element, it is the index of a child in that Element node.) */ export declare function getPath(node: Node | null, offset: number, rootNode: Node): number[];