import '../../contracts/danmaku.dart';

abstract class DanmakuGateway {


  Future<List<DanmakuMatch>> match(
    String baseUrl,
    String fileName,
    int durationSec,
  );


  Future<List<DanmakuMatch>> searchEpisodes(
    String baseUrl,
    String anime,
    int? episode,
  );


  Future<List<DanmakuComment>> fetchComments(
    String baseUrl,
    int episodeId, {
    int chConvert = 0,
  });


  Future<List<DanmakuBangumiEpisode>> getBangumiEpisodes(
    String baseUrl,
    int animeId,
  );
}
