import { type RefObject } from 'react'; import { type SourceAffectedFrame } from '../editor/inspect.js'; export declare function InspectOverlay({ iframeRef, containerRef, affectedFrames, onSelect, }: { /** route page — when placed over a same-origin iframe. */ iframeRef?: RefObject; /** fixture page — when placed over a scroll container in the body (same document). */ containerRef?: RefObject; /** Current selection screen. Even before calculating the impact of all same-source frames, at least the current frame is preserved in the operation. */ affectedFrames?: readonly SourceAffectedFrame[]; /** Fires when the picked element changes; the frame maps it to a variant target. */ onSelect?: (element: HTMLElement | null) => void; }): import("react").JSX.Element;