import * as React from "react";
export interface DownloadButtonProps extends React.HTMLProps<any> {
    url: string;
    mimeType: string;
    isPlainLink?: boolean;
    fulfill?: (url: string) => Promise<Blob>;
    indirectFulfill?: (url: string, type: string) => Promise<string>;
    title?: string;
    indirectType?: string;
}
export default class DownloadButton extends React.Component<DownloadButtonProps, any> {
    constructor(props: any);
    render(): JSX.Element;
    fulfill(): Promise<void>;
    isIndirect(): boolean;
    generateFilename(str: string): string;
    mimeType(): string;
    fileExtension(): any;
    downloadLabel(): string;
}
