defmodule Aprsme.PacketsBehaviour do
  @moduledoc """
  Behaviour for Packets module to allow mocking in tests
  """

  @callback get_historical_packet_count(map()) :: non_neg_integer()
  @callback get_recent_packets(map()) :: list()
  @callback get_nearby_stations(float(), float(), String.t() | nil, map()) :: list()
  @callback get_weather_packets(String.t(), DateTime.t(), DateTime.t(), map()) :: list()
end
