/** Live review reads and writes use Puck's component index, including nested slots. */ import { type PuckApi } from '@puckeditor/core'; import { type PropValue } from './prop-value.js'; export declare function useReviewValue(componentId: string, pointer: string | undefined): PropValue; export declare function useReviewTarget(componentId: string, pointer: string | undefined): { available: boolean; field: PropValue; type: string | undefined; config: import("@puckeditor/core").Config; }; /** * Selects the block a change belongs to and brings it into view on the canvas. * * Puck renders the page into an iframe, so the block is reached through that * document rather than the editor's own. Selection is component-level: Puck * exposes no way to put the caret in a single field. */ export declare function revealReviewTarget(editor: PuckApi, componentId: string): void; interface AppliedReplacement { pointer: string; before: PropValue; inserted: PropValue; } /** Returns null when the target is absent or no longer holds the expected value. */ export declare function replaceReviewValue(editor: PuckApi, componentId: string, pointer: string, value: PropValue, expected?: PropValue): AppliedReplacement | null; export {};