import '../entities/approval.dart';

/// Repository interface for approval operations.
abstract class ApprovalsRepository {
  /// Fetches all approvals, optionally filtered by status.
  Future<List<Approval>> getAll({String? status});

  /// Approves a command by approval ID.
  Future<Approval> approve(String id);

  /// Rejects a command by approval ID.
  Future<Approval> reject(String id);
}
