import { SerializedNodes } from '../compact'; import { PlanOptions, Proposal, Step } from './types'; /** Only plain objects are merged into or walked through; anything else (a Date, a React element) is a leaf. */ export declare const isPlain: (value: unknown) => value is Record; /** Deep-merges `set` into `target` in place: plain objects merge, anything else (arrays included) is replaced. */ export declare function merge(target: Record, set: Record): void; /** Deletes a dotted path in place and prunes the objects it leaves empty. */ export declare function unsetPath(root: Record, path: string): void; /** Applies steps to a copy of `nodes` (plain data copied, other values shared); never mutates the input. */ export declare function applySteps(nodes: SerializedNodes, steps: Step[]): SerializedNodes; export declare function applyProposal(nodes: SerializedNodes, proposal: Proposal, options?: PlanOptions): SerializedNodes;