import { MatrixEvent } from "matrix-js-sdk/src/matrix";
import React from "react";
import { MediaEventHelper } from "../../../utils/MediaEventHelper";
import { TranslationKey } from "../../../languageHandler";
interface IProps {
    mxEvent: MatrixEvent;
    mediaEventHelperGet: () => MediaEventHelper | undefined;
}
interface IState {
    loading: boolean;
    blob?: Blob;
    tooltip: TranslationKey;
}
export default class DownloadActionButton extends React.PureComponent<IProps, IState> {
    private downloader;
    constructor(props: IProps);
    private onDownloadClick;
    private doDownload;
    private downloadBlob;
    render(): React.ReactNode;
}
export {};
