import { ReactNode } from "react";
/**
 * Shown in place of the preview when there's nothing to render: the "add
 * source" state when the source is empty, or - with `error` - the compact
 * error state when the source failed to render (the full error message is
 * shown in the source popup while editing).
 */
export declare const PreviewPlaceholder: (props: {
    text: string;
    icon?: ReactNode;
    error?: boolean;
}) => import("react/jsx-runtime").JSX.Element;
