import type { PreviewContent } from "./message-types";
/**
 * Sanitizes preview content by removing non-serializable functions and React
 * components from apiOptions before sending via postMessage.
 *
 * NOTE: The article-all case currently sanitizes apiOptions on each section
 * individually because the current type is ArticlePreviewData[] (each section
 * carries its own apiOptions). This will be simplified to a single apiOptions
 * when we restructure the preview data types.
 */
export declare function sanitizePreviewData(
/** Preview content to sanitize */
content: PreviewContent): PreviewContent;
