/// <reference types="node" />
/// <reference types="react-scripts" />
/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
import { ResolverProps, UseDownloader, UseDownloaderOptions } from './types';
/**
 * Resolver function to handle the download progress.
 * @param {ResolverProps} props
 * @returns {Response}
 */
export declare const resolver: ({ setSize, setControllerCallback, setPercentageCallback, setErrorCallback, }: ResolverProps) => (response: Response) => Response;
/**
 * jsDownload function to handle the download process.
 * @param {Blob} data
 * @param {string} filename
 * @param {string} mime
 * @returns {boolean | NodeJS.Timeout}
 */
export declare const jsDownload: (data: Blob, filename: string, mime?: string) => boolean | NodeJS.Timeout;
/**
 * useDownloader hook to handle the download process.
 * @param {UseDownloaderOptions} options
 * @returns {UseDownloader}
 */
export default function useDownloader(options?: UseDownloaderOptions): UseDownloader;
