import { n as DownloadOptions, o as ParsedTorrent, t as DownloadClient } from "../download-client-B6lhbMOK.mjs"; import { i as UploadResult, r as UploadOptions, t as UploadClient } from "../upload-client-Ct7_ssh4.mjs"; //#region src/node/upload.d.ts interface NodeUploadFile { path: string; name?: string; } declare function uploadFromPaths(client: UploadClient, files: NodeUploadFile[], opts?: UploadOptions): Promise; //#endregion //#region src/node/download.d.ts interface NodeDownloadOptions extends DownloadOptions { onInfo?: (torrent: ParsedTorrent) => void; } interface NodeDownloadResult { files: Array<{ name: string; size: number; }>; outputDir: string; } declare function downloadToDir(client: DownloadClient, wormholeUrl: string, outputDir: string, opts?: NodeDownloadOptions): Promise; //#endregion export { type NodeDownloadOptions, type NodeDownloadResult, type NodeUploadFile, downloadToDir, uploadFromPaths };