mlx-bun library API
    Preparing search index...

    GET /downloads: one transfer.

    interface DownloadInfo {
        bytesPerSec?: number;
        currentFile: string | null;
        error?: string;
        receivedBytes: number;
        repoId: string;
        state: "active" | "done" | "error";
        totalBytes: number;
    }
    Index
    bytesPerSec?: number
    currentFile: string | null
    error?: string
    receivedBytes: number
    repoId: string
    state: "active" | "done" | "error"
    totalBytes: number