import { VideoInfo } from '../urlParser'; export type FormatHandler = (vi: VideoInfo, params: Record) => string; export default class Provider> { provider: string; alternatives: string[]; defaultFormat: FormatKeys; formats: Record>; mediaTypes: Record; parse(url: string, params: Record): VideoInfo | undefined; }