import * as React from "react";
import type { PreviewContent } from "./preview/message-types";
type Props = {
    /**
     * The URL that the iframe should load
     */
    url: string;
    /**
     * Whether the iframe should be displaying in mobile mode
     */
    isMobile: boolean;
    /**
     * Whether to make the iframe's height match its content's height, used to
     * prevent scrolling inside the iframe.
     */
    seamless: boolean;
    /**
     * The content to render in the preview area.
     */
    content: PreviewContent;
};
/**
 * Displays content in an iframe, isolating it from the parent page and
 * switches to rendering for mobile, if needed.
 *
 * To simulate the environment of content rendered by itself, content previews
 * are rendered inside iframes, where components such as the math keypad and
 * mobile breakpoints based on media queries work (because the body of the
 * document is not the body of the editor). To make this work, this component
 * renders an iframe and communicates with it via the
 * {@link usePreviewController} hook and its use of postMessage.
 *
 * This is the new preview iframe component, replacing `IframeContentRenderer`
 * once all editors have migrated. It exists alongside the legacy component so
 * that consumers can keep using `IframeContentRenderer` until they are all
 * ported over.
 */
declare function PreviewWithIframe(props: Props): React.JSX.Element;
declare namespace PreviewWithIframe {
    var displayName: string;
}
export default PreviewWithIframe;
