type DownloadItem = { id: string; displayInfo: { filename: string; url: string; state: string; receivedBytes?: number; totalBytes: number; }; }; type DownloadState = { downloadItems: DownloadItem[]; }; /** * A hook to handle state from the download Manager UI. The state is initialized and updated * based on information from fea. */ export default function useDownloadItems(): { downloadItems: any; removeDownloadItem: (downloadItem: DownloadItem) => void; initDownloadItems: (downloadItems: DownloadState) => void; }; export {}; //# sourceMappingURL=useDownloadItems.d.ts.map