import { type Options as MorphlexOptions } from 'morphlex'; /** * Callback to decide whether an element should be morphed. * Return `false` to prevent morphing of this element and its subtree. */ export type UpdateCallback = (fromEl: HTMLElement, toEl: HTMLElement) => boolean; /** * Morph DOM nodes using morphlex. */ declare function morph(from: ChildNode, to: ChildNode | string, updateCallbacks?: UpdateCallback[], morphlexOptions?: MorphlexOptions): void; export default morph;