import { type VNode, toVNode } from 'snabbdom'; export type { VNode } from 'snabbdom'; export { toVNode }; export declare const patch: (oldVnode: VNode | Element | DocumentFragment, vnode: VNode) => VNode; export declare const memoizedVNodes: WeakSet; /** Clones any reused vnode in the tree so snabbdom never sees one object at two * positions. Memoized subtrees (createLazy/createKeyedLazy results) are left * opaque so their same-vnode short-circuit survives. Pass a shared `seen` set * to coordinate with `dedupeMemoizedResult` across a render; omit it for * one-off use. */ export declare const dedupeSharedVNodes: (root: VNode, seen?: Set) => VNode; /** Dedupes the freshly built subtree of a memoized view (a * createLazy/createKeyedLazy result) so a const shared inside it, or across * memoized siblings sharing `seen`, is cloned even though the top-level pass * leaves memoized subtrees opaque. The result root itself is left untracked, so * the top-level pass still exempts it by membership rather than treating it as * a duplicate. */ export declare const dedupeMemoizedResult: (root: VNode, seen?: Set) => VNode; //# sourceMappingURL=vdom.d.ts.map