import { CanvasRetrieve } from '../../../../types/openapi'; /** * Decide whether an incoming `activeCanvas` prop update requires a deep state refresh * (re-cloning content.data, replacing sections, resetting canvas history) versus a * cheap top-level shallow merge. * * Returns true when the canvas identity, content (including overrides and home_page), * or sections have changed — i.e. anything that feeds the rendered slide tree. Returns * false when only top-level metadata/tags/flags have changed, in which case the existing * shallow merge in `updateActiveCanvasProperties` is safe (and preserves canvas-history * undo state). * * Fixes PIT-5927: stale slide content flashes before fresh fetch lands because * `canvasContent.value`/`sectionComponentOverrides.value`/`canvasHomePage.value` are only * re-derived by `setActiveCanvas`, not by `updateActiveCanvasProperties`. */ export declare const needsDeepRefresh: (prev: CanvasRetrieve | null, next: CanvasRetrieve) => boolean;