import React from 'react';
import type { ElementProps } from '../index';
export type PreviewElementProps = ElementProps & {
    /**
     * Function to be called on error loading media.
     * @internal
     */
    onError?: () => void;
    onLoad?: () => void;
    /**
     * An image URL to render. This will replace the default image from smart link data.
     */
    overrideUrl?: string;
};
declare const PreviewElement: (props: PreviewElementProps) => React.JSX.Element | null;
export default PreviewElement;
