import { ResolvedPaintItem } from '../../../../contracts/src/index.js'; import { SdtBoundaryOptions } from './container.js'; /** * The container-label keys a `computeSdtBoundaries` walk over `resolvedItems` * WOULD add to `sdtLabelsRendered`, without mutating it. This is the pure * "which labels does this page display" function the persistent-page reuse path * compares against recorded per-page label state: label placement is * cross-page prefix state that resolve stamps do not cover, so an untouched * reuse is only safe when the recorded labels equal this expectation. * * Implemented BY running `computeSdtBoundaries` on a scratch copy of the * prefix set (never a hand-maintained mirror), so the two can not drift. * Pages without container items take the allocation-free fast path. */ export declare const computeExpectedSdtLabelKeys: (resolvedItems: readonly ResolvedPaintItem[], sdtLabelsRendered: ReadonlySet) => ReadonlySet; export declare const computeSdtBoundaries: (resolvedItems: readonly ResolvedPaintItem[], sdtLabelsRendered: Set) => Map;