import 'package:krow_domain/krow_domain.dart';

/// Repository interface for fetching and managing client orders.
abstract class IViewOrdersRepository {
  /// Fetches a list of [OrderItem] for the client.
  Future<List<OrderItem>> getOrdersForRange({
    required DateTime start,
    required DateTime end,
  });

  /// Fetches accepted staff applications for the given day, grouped by shift+role.
  Future<Map<String, List<Map<String, dynamic>>>> getAcceptedApplicationsForDay(
    DateTime day,
  );
}
