import { MVideo } from '../types/models/video/video';
import { MVideoFile, MVideoFileRedundanciesOpt } from '../types/models/video/video-file';
import { MStreamingPlaylistVideo } from '../types/models/video/video-streaming-playlist';
declare const createTorrentPromise: (arg1: string, arg2: any) => Promise<any>;
declare function downloadWebTorrentVideo(target: {
    uri: string;
    torrentName?: string;
}, timeout: number): Promise<string>;
declare function createTorrentAndSetInfoHash(videoOrPlaylist: MVideo | MStreamingPlaylistVideo, videoFile: MVideoFile): Promise<void>;
declare function updateTorrentMetadata(videoOrPlaylist: MVideo | MStreamingPlaylistVideo, videoFile: MVideoFile): Promise<void>;
declare function generateMagnetUri(video: MVideo, videoFile: MVideoFileRedundanciesOpt, trackerUrls: string[]): string;
export { createTorrentPromise, updateTorrentMetadata, createTorrentAndSetInfoHash, generateMagnetUri, downloadWebTorrentVideo };
//# sourceMappingURL=webtorrent.d.ts.map