import { Snapshot } from '../compact'; import { PlanOptions, Proposal, Step } from './types'; /** * Turns ops into ordered primitive steps: removes, relocates, adds, setProps. Throws on ids missing from the snapshot. * Op order is guaranteed within a phase; across phases the spec ยง5.2 phase order wins, so relocates land * before adds even when an insert came first in `ops`. */ export declare function planProposal(snapshot: Snapshot, proposal: Proposal, options?: PlanOptions): Step[]; /** Ids of ROOT's direct children whose subtree changed, in after-state page order; removed sections keep their old slot. */ export declare function affectedSections(snapshot: Snapshot, steps: Step[]): string[];