mirrored_repositories/bloom/lib/features/todolist/data/repositories
import 'package:bloom/features/todolist/data/models/task_model.dart';

abstract class TodosHistoryApi {
  const TodosHistoryApi();
  Stream<List<TaskModel>> getTodos();
  Future<void> saveTodo(TaskModel taskModel);
  Future<void> deleteTodo(String id);
  Future<int> clearCompleted();
}

class TodoHistoryNotFoundException implements Exception {}
