import React, { ReactNode } from "react";
import { MatrixEvent, IPreviewUrlResponse } from "matrix-js-sdk/src/matrix";
interface IProps {
    link: string;
    preview: IPreviewUrlResponse;
    mxEvent: MatrixEvent;
    children?: ReactNode;
}
export default class LinkPreviewWidget extends React.Component<IProps> {
    private image;
    private onImageClick;
    render(): React.ReactNode;
}
export {};
