import '../entities/dashboard_summary.dart';
import '../entities/recent_operation.dart';
import '../entities/server_status.dart';

/// Repository interface for dashboard data operations.
abstract class DashboardRepository {
  /// Fetches the aggregated dashboard summary (servers, alerts, tasks).
  Future<DashboardSummary> getSummary();

  /// Fetches recent operations tasks.
  Future<List<RecentOperation>> getRecentOperations({int limit = 5});

  /// Fetches the status of all servers.
  Future<List<ServerStatus>> getServerStatuses();
}
