import { type StartDownloadAssetsToOpfsOptions, type DownloadAssetsToOpfsResult, type StartDownloadError } from './index.js'; export type DownloadAssetsStatus = 'idle' | 'pending' | 'success' | 'failure' | 'aborted'; export interface UseDownloadAssetsToOpfsState { status: DownloadAssetsStatus; progress: { downloaded: number; total: number; } | null; fileProgress: { loadedAssets: string[]; totalCount: number; } | null; error: StartDownloadError | null; data: DownloadAssetsToOpfsResult | null; } export declare function useDownloadAssetsToOpfs(): { startDownload: (options: Omit) => Promise; status: DownloadAssetsStatus; progress: UseDownloadAssetsToOpfsState['progress']; fileProgress: UseDownloadAssetsToOpfsState['fileProgress']; error: UseDownloadAssetsToOpfsState['error']; data: UseDownloadAssetsToOpfsState['data']; reset: () => void; };