import 'package:krow_domain/krow_domain.dart';

/// Repository interface for managing emergency contacts.
///
/// This interface defines the contract for fetching and saving emergency contact information.
/// It must be implemented by the data layer.
abstract class EmergencyContactRepositoryInterface {
  /// Retrieves the list of emergency contacts.
  Future<List<EmergencyContact>> getContacts(String staffId);

  /// Saves the list of emergency contacts.
  Future<void> saveContacts(String staffId, List<EmergencyContact> contacts);
}
