/// import ytdl, { downloadOptions } from "ytdl-core"; import { opus as Opus, FFmpeg } from "prism-media"; import { Readable, Duplex } from "stream"; interface YTDLStreamOptions extends downloadOptions { seek?: number; encoderArgs?: string[]; fmt?: string; opusEncoded?: boolean; } interface StreamOptions { seek?: number; encoderArgs?: string[]; fmt?: string; opusEncoded?: boolean; } declare const DiscordYTDLCore: { (url: string | ytdl.videoInfo, options: YTDLStreamOptions): Opus.Encoder | FFmpeg | NodeJS.WritableStream; arbitraryStream: (stream: string | Readable | Duplex, options: StreamOptions) => Opus.Encoder | FFmpeg; version: any; } & typeof ytdl; export = DiscordYTDLCore;