/// <reference types="magnet-uri" />
/// <reference types="parse-torrent-file" />
import * as WebTorrent from 'webtorrent';
import { VideoFile } from '../../models';
import { PeerTubeServer } from '../server';
declare function webtorrentAdd(torrentId: string, refreshWebTorrent?: boolean): Promise<WebTorrent.Torrent>;
declare function parseTorrentVideo(server: PeerTubeServer, file: VideoFile): Promise<import("magnet-uri").Instance | import("parse-torrent-file").Instance>;
export { webtorrentAdd, parseTorrentVideo };
//# sourceMappingURL=webtorrent.d.ts.map