import type { HistoireViewport } from '@histoire/protocol'; /** Actual ready content roots, shared by single/grid engine; owned by one document. */ export declare function observeRuntimeLayout(options: { /** Current structured story owner. */ getStoryId: () => string | undefined; /** Readiness comes from render acknowledgment, never DOM existence alone. */ isReady: (variantId: string) => boolean; /** Full replacement publication includes disappearing clipped cells. */ publish: (viewports: HistoireViewport[]) => void; }): { refresh: () => void; /** Remove every observer/listener before document owner is released. */ close(): void; };