import type { BlockElement, InlineElement } from 'roosterjs-editor-types'; /** * Get the inline element at a node * @param rootNode The root node of current scope * @param node The node to get InlineElement from */ export default function getInlineElementAtNode(rootNode: Node, node: Node | null): InlineElement; /** * Get the inline element at a node * @param parentBlock Parent BlockElement of this node * @param node The node to get InlineElement from */ export default function getInlineElementAtNode(parentBlock: BlockElement, node: Node | null): InlineElement;