import { IndexPath } from './indexPath.js'; import { MutationBaseOptions } from './options.js'; export type ReplaceOptions = MutationBaseOptions & { path: IndexPath; node: T; }; /** * Replace the node at the given `IndexPath` with another. */ export declare function replace(node: T, options: ReplaceOptions): T;