import Plugin from './plugin' ; import { StreamQuery , StreamData } from './plugins.types' ; abstract class StreamProviderPlugin extends Plugin { sourceName : string ; apiEndpoint ? : string ; baseUrl ? : string ; abstract search ( query ) ; abstract getAlternateStream ( query , currentStream ) ; abstract getStreamForId ( id ) ; } export default StreamProviderPlugin ;