/// <reference types="node" />
import React from 'react';
import { EventEmitter } from 'events';
interface Props {
    style?: React.CSSProperties;
    delay?: number;
    progressFn: (req: any) => Promise<any>;
}
export declare const Emitter: EventEmitter;
declare const FileExport: {
    (props: Props): JSX.Element;
    useExport: (TaskFunctionApi: (req?: any) => Promise<import("./interface").TaskResponse>) => {
        emitTask: (params?: any) => Promise<unknown>;
        loading: boolean;
    };
};
export default FileExport;
