module Stoplight
  module DataStore
    # Configuration for Redis-backed Stoplight storage.
    #
    # @note This is a configuration object, not the storage implementation itself.
    class Redis < Base
      attr_reader redis: redis
      attr_reader warn_on_clock_skew: bool

      def initialize: (redis, ?warn_on_clock_skew: bool) -> void
    end

    # Configuration for Memory-backed Stoplight storage.
    #
    # @note This is a configuration object, not the storage implementation itself.
    class Memory < Base
    end
  end
end
