# sig/pg/basic_type_mapping.rbs

class PG::BasicTypeMapBasedOnResult < PG::TypeMapByOid
  def initialize: () -> void
end


# sig/pg/basic_type_mapping.rbs

class PG::BasicTypeMapForQueries < PG::TypeMapByClass
  def array_encoders_by_klass: () -> untyped
  def coder_by_name: () -> untyped
  def get_array_type: () -> untyped
  def initialize: () -> void
  def populate_encoder_list: () -> untyped
end


# sig/pg/basic_type_mapping.rbs

class PG::BasicTypeMapForResults < PG::TypeMapByOid
  def initialize: () -> void
end


# sig/pg/basic_type_mapping.rbs

class PG::BasicTypeMapForResults::WarningTypeMap < PG::BasicTypeMapForResults::PG::TypeMapInRuby
  def initialize: () -> void
  def typecast_result_value: () -> untyped
end


# sig/pg/basic_type_mapping.rbs

class PG::BasicTypeRegistry::CoderMap
  def coder_by_name: () -> untyped
  def coder_by_oid: () -> untyped
  def initialize: () -> void
end


# sig/pg/coder.rbs

class PG::Coder
  def ==: () -> untyped
  def dup: () -> untyped
  def initialize: () -> void
  def inspect: () -> untyped
  def marshal_dump: () -> untyped
  def marshal_load: () -> untyped
  def to_h: () -> untyped
end


# sig/pg/coder.rbs

class PG::CompositeCoder < PG::Coder
  def inspect: () -> untyped
  def to_h: () -> untyped
end


# sig/pg/connection.rbs

class PG::Connection
  def self.conndefaults_hash: () -> untyped
  def self.parse_connect_args: () -> untyped
  def self.quote_connstr: () -> untyped
  def conndefaults: () -> untyped
  def conndefaults_hash: () -> untyped
  def conninfo_hash: () -> untyped
  def copy_data: () -> untyped
  def ssl_attributes: () -> untyped
end


# sig/pg/coder.rbs

class PG::CopyCoder < PG::Coder
  def to_h: () -> untyped
end


# sig/pg/result.rbs

class PG::Result
  def inspect: () -> untyped
  def map_types!: () -> untyped
end


# sig/pg/text_decoder.rbs

class PG::TextDecoder::Date < PG::TextDecoder::SimpleDecoder
  def decode: () -> untyped
end


# sig/pg/text_decoder.rbs

class PG::TextDecoder::JSON < PG::TextDecoder::SimpleDecoder
  def decode: () -> untyped
end


# sig/pg/text_decoder.rbs

class PG::TextDecoder::TimestampWithTimeZone < PG::TextDecoder::SimpleDecoder
  def decode: () -> untyped
end


# sig/pg/text_decoder.rbs

class PG::TextDecoder::TimestampWithoutTimeZone < PG::TextDecoder::SimpleDecoder
  def decode: () -> untyped
end


# sig/pg/text_encoder.rbs

class PG::TextEncoder::Date < PG::TextEncoder::SimpleEncoder
  def encode: () -> untyped
end


# sig/pg/text_encoder.rbs

class PG::TextEncoder::JSON < PG::TextEncoder::SimpleEncoder
  def encode: () -> untyped
end


# sig/pg/text_encoder.rbs

class PG::TextEncoder::TimestampWithTimeZone < PG::TextEncoder::SimpleEncoder
  def encode: () -> untyped
end


# sig/pg/text_encoder.rbs

class PG::TextEncoder::TimestampWithoutTimeZone < PG::TextEncoder::SimpleEncoder
  def encode: () -> untyped
end


# sig/pg/type_map_by_column.rbs

class PG::TypeMapByColumn
  def inspect: () -> untyped
  def oids: () -> untyped
end


# sig/pg.rbs

module PG
  def self.connect: () -> untyped
  def self.version_string: () -> untyped
end


# sig/pg/basic_type_mapping.rbs

module PG::BasicTypeRegistry
  def self.alias_type: () -> untyped
  def self.register_type: () -> untyped
  def build_coder_maps: () -> untyped
  def check_format_and_direction: () -> untyped
  def supports_ranges?: () -> untyped
end


# sig/pg/coder.rbs

module PG::Coder::BinaryFormatting
  def initialize: () -> void
end
