import type { NodePosition } from 'roosterjs-editor-types'; /** * @internal * Pastes a table inside another, modifying the original to create a merged one * @param currentTd The cell where the cursor is in the table to paste into * @param rootNodeToInsert A Node containing the table to be inserted * @param position The position to paste the table * @param range The selected range of the table * * Position and range are here for when table selection allows to move pivot point */ export default function pasteTable(currentTd: HTMLTableCellElement, rootNodeToInsert: HTMLTableElement, position?: NodePosition, range?: Range): void;