import { type ReactNode } from 'react'; export interface NextPreviewComponentProps { /** * Delay in ms between the CMS reporting a save as ready and navigating. False to * disable. Merges back-to-back saves into one refresh. * @default 50 */ refreshTimeout?: number | false; /** * Optional loading indicator shown during refresh delay. */ children?: ReactNode; /** The CMS URL for retrying media with the preview token. See `PreviewComponentProps.cmsUrl`. */ cmsUrl?: string; } /** * Next.js-specific PreviewComponent with automatic router integration. * Handles soft refresh (router.refresh) for same-URL updates and navigation for different URLs. * * @example * ```tsx * import { NextPreviewComponent } from '@optimizely/cms-sdk/react/nextjs'; * * export default function PreviewPage() { * return ; * } * ``` */ export declare function NextPreviewComponent({ refreshTimeout, children, cmsUrl, }?: NextPreviewComponentProps): import("react").JSX.Element;