export declare function fetchWithProgress(input: RequestInfo | URL, init?: RequestInit, resultType?: 'unit8Array' | 'auto', onProgress?: (totalBytes: number | null, receivedBytes: number) => void): Promise<{
    data: Uint8Array;
    contentType: string | null;
}>;
type FetchWithProgressOptions = {
    url: string;
    method?: string;
    data?: XMLHttpRequestBodyInit | Document | null;
    headers?: Record<string, string>;
    onUploadProgress?: (uploaded: number, total: number) => void;
    onDownloadProgress?: (downloaded: number, total: number) => void;
};
export declare function fetchWithProgressV1({ url, method, data, headers, onUploadProgress, onDownloadProgress, }: FetchWithProgressOptions): Promise<Blob>;
export {};
//# sourceMappingURL=fetch.d.ts.map