import { DownloadResponse } from '../@types/DownloadResponse'; export declare function fetchData(url: string, opts: RequestInit): Promise; export declare function downloadFileBrowser(url: string): Promise; export declare function downloadFile(url: string, index?: number): Promise; export declare function getData(url: string): Promise; export declare function postData(url: string, payload: BodyInit): Promise;