import type { NodePosition } from 'roosterjs-editor-types'; /** * Check if this position is at beginning of the given node. * This will return true if all nodes between the beginning of target node and the position are empty. * @param position The position to check * @param targetNode The node to check * @returns True if position is at beginning of the node, otherwise false */ export default function isPositionAtBeginningOf(position: NodePosition, targetNode: Node | null): boolean;