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