/** * Reconciles one DOM node against a new vnode, reusing it whenever it is the * same kind of node so focus, selection, uncommitted input values, `:hover` * and running transitions survive the re-render. * @param {Node} parent the parent node being patched * @param {Node | null | undefined} dom the existing node at this index, if any * @param {any} oldVnode the vnode that produced `dom`, if known * @param {any} newVnode the vnode to render */ export function patchNode(parent: Node, dom: Node | null | undefined, oldVnode: any, newVnode: any): void; /** * Reconciles a parent's child nodes against a new children list by index * (non-keyed), trimming any leftover trailing nodes. * @param {Node} parent the parent node to patch into * @param {any} oldChildren the previous vnode children (or previous tree) * @param {any} newChildren the new vnode children (or new tree) */ export function patchChildren(parent: Node, oldChildren: any, newChildren: any): void;