import WebTorrent from 'webtorrent'; import { TorrentAdapter, TorrentAdapterTorrent } from '.'; export declare class WebtorrentAdapter extends TorrentAdapter { protected client: WebTorrent.Instance; constructor(options?: { downloadLimit?: number; uploadLimit?: number; }); add(magnet: string, path: string): Promise; destroy(): Promise; protected createTorrentFromClient(torrent: WebTorrent.Torrent): TorrentAdapterTorrent; }