/** * Props for the citation iframe preview component. * * @private component of `` */ export type CitationIframePreviewProps = { src: string; title: string; /** * Optional agent identifier (name or permanent id) scoping the live browser fallback * to the agent's persistent server-side browser profile. */ agentIdentifier?: string; /** * Optional close handler passed to the live browser toolbar when the preview fills a modal. */ onClose?: () => void; /** * Reports whether the URL is embedded directly or shown through the live browser fallback. */ onStatusChange?: (status: CitationIframePreviewStatus) => void; /** * Initial preview status used when the parent already knows the resolved mode. */ initialStatus?: CitationIframePreviewStatus; }; /** * Internal status of the iframe embed check. * * @private type of `` */ export type CitationIframePreviewStatus = 'loading' | 'embed' | 'browser-stream'; /** * Renders a citation URL preview as an iframe when the target page allows embedding, * or falls back to an interactive live server-side browser session (``) * when it does not (e.g. X-Frame-Options: DENY / SAMEORIGIN). * * Embedding capability is determined by `GET /api/page-preview/check?url=`. * If that endpoint is unavailable the component falls back to the iframe directly. * * @private component of `` */ export declare function CitationIframePreview({ src, title, agentIdentifier, onClose, onStatusChange, initialStatus, }: CitationIframePreviewProps): import("react/jsx-runtime").JSX.Element;