import { NodeRegistry, Proposal, SerializedNodes } from '../../../ai'; export type PreviewData = { sections: string[]; before: SerializedNodes; after: SerializedNodes; }; /** Before/after trees limited to the ROOT sections a proposal touches; null when none, or when the proposal does not fit the page. */ export declare function previewData(snapshot: SerializedNodes, proposal: Proposal, registry?: NodeRegistry): PreviewData | null;