import 'package:rasadyar_inspection/data/model/response/hatching_details/hatching_details.dart';
import 'package:rasadyar_inspection/data/model/response/poultry_location/poultry_location_model.dart';

abstract class InspectionRemoteDataSource {
  /// Fetches the inspection data for a given [inspectionId].
  ///
  /// Returns a `Future` that resolves to a `Map<String, dynamic>` containing
  /// the inspection data.
  Future<Map<String, dynamic>> fetchInspectionData(String inspectionId);

  /// Fetches the list of inspections for a given [userId].
  ///
  /// Returns a `Future` that resolves to a `List<Map<String, dynamic>>`
  /// containing the list of inspections.
  Future<List<Map<String, dynamic>>> fetchInspections(String userId);

  Future<List<PoultryLocationModel>?> getNearbyLocation({
    double? centerLat,
    double? centerLng,
    double? radius,
    String? value,
  });

  Future<List<HatchingDetails>?> getHatchingDetails({
    String? code,
    bool? active,
  });
}
