sig
  type t = Dynamic_port_writer.t
  val of_string : string -> t
  val to_string : t -> string
  val create :
    unit ->
    (t * [ `Port of int ] Core.Std.Or_error.t Import.Deferred.t)
    Import.Deferred.t
  val where_to_listen :
    t -> (Import.Socket.Address.Inet.t, int) Tcp.Where_to_listen.t
  val arg : t Core.Std.Command.Spec.Arg_type.t
  val flag : t Core.Std.Command.Spec.param
  val flag_args : t -> string list
  val t_of_sexp : Sexplib.Sexp.t -> t
  val sexp_of_t : t -> Sexplib.Sexp.t
  val bin_t : t Core.Std.Bin_prot.Type_class.t
  val bin_read_t : t Core.Std.Bin_prot.Read_ml.reader
  val bin_read_t_ : t Core.Std.Bin_prot.Unsafe_read_c.reader
  val bin_read_t__ : (int -> t) Core.Std.Bin_prot.Unsafe_read_c.reader
  val bin_reader_t : t Core.Std.Bin_prot.Type_class.reader
  val bin_size_t : t Core.Std.Bin_prot.Size.sizer
  val bin_write_t : t Core.Std.Bin_prot.Write_ml.writer
  val bin_write_t_ : t Core.Std.Bin_prot.Unsafe_write_c.writer
  val bin_writer_t : t Core.Std.Bin_prot.Type_class.writer
end