prelude: :gerbil/compiler/ssxi
package: std/db

(begin
  (declare-type
   std/db/postgresql#postgresql-connection::t
   (@struct-type
    std/db/postgresql#postgresql-connection::t
    std/db/dbi#connection::t
    0
    :init!
    ((final: . #t))))
  (declare-type
   std/db/postgresql#postgresql-connection?
   (@struct-pred std/db/postgresql#postgresql-connection::t))
  (declare-type
   std/db/postgresql#make-postgresql-connection
   (@struct-cons std/db/postgresql#postgresql-connection::t))
  (declare-type
   std/db/postgresql#postgresql-statement::t
   (@struct-type
    std/db/postgresql#postgresql-statement::t
    std/db/dbi#statement::t
    7
    :init!
    ((final: . #t))))
  (declare-type
   std/db/postgresql#postgresql-statement?
   (@struct-pred std/db/postgresql#postgresql-statement::t))
  (declare-type
   std/db/postgresql#make-postgresql-statement
   (@struct-cons std/db/postgresql#postgresql-statement::t))
  (declare-type
   std/db/postgresql#postgresql-statement-conn
   (@struct-getf std/db/postgresql#postgresql-statement::t 0 #f))
  (declare-type
   std/db/postgresql#postgresql-statement-params
   (@struct-getf std/db/postgresql#postgresql-statement::t 1 #f))
  (declare-type
   std/db/postgresql#postgresql-statement-cols
   (@struct-getf std/db/postgresql#postgresql-statement::t 2 #f))
  (declare-type
   std/db/postgresql#postgresql-statement-bind
   (@struct-getf std/db/postgresql#postgresql-statement::t 3 #f))
  (declare-type
   std/db/postgresql#postgresql-statement-row
   (@struct-getf std/db/postgresql#postgresql-statement::t 4 #f))
  (declare-type
   std/db/postgresql#postgresql-statement-inp
   (@struct-getf std/db/postgresql#postgresql-statement::t 5 #f))
  (declare-type
   std/db/postgresql#postgresql-statement-token
   (@struct-getf std/db/postgresql#postgresql-statement::t 6 #f))
  (declare-type
   std/db/postgresql#postgresql-statement-conn-set!
   (@struct-setf std/db/postgresql#postgresql-statement::t 0 #f))
  (declare-type
   std/db/postgresql#postgresql-statement-params-set!
   (@struct-setf std/db/postgresql#postgresql-statement::t 1 #f))
  (declare-type
   std/db/postgresql#postgresql-statement-cols-set!
   (@struct-setf std/db/postgresql#postgresql-statement::t 2 #f))
  (declare-type
   std/db/postgresql#postgresql-statement-bind-set!
   (@struct-setf std/db/postgresql#postgresql-statement::t 3 #f))
  (declare-type
   std/db/postgresql#postgresql-statement-row-set!
   (@struct-setf std/db/postgresql#postgresql-statement::t 4 #f))
  (declare-type
   std/db/postgresql#postgresql-statement-inp-set!
   (@struct-setf std/db/postgresql#postgresql-statement::t 5 #f))
  (declare-type
   std/db/postgresql#postgresql-statement-token-set!
   (@struct-setf std/db/postgresql#postgresql-statement::t 6 #f))
  (declare-type
   std/db/postgresql#postgresql-statement:::init!
   (@lambda 5 struct-instance-init!))
  (declare-method
   std/db/postgresql#postgresql-statement::t
   :init!
   std/db/postgresql#postgresql-statement:::init!
   #f)
  (declare-type std/db/postgresql#postgresql-connect__% (@lambda 6 #f))
  (declare-type
   std/db/postgresql#postgresql-connect__@
   (@kw-lambda-dispatch
    (host: port: user: passwd: db:)
    std/db/postgresql#postgresql-connect__%))
  (declare-type
   std/db/postgresql#postgresql-connect
   (@kw-lambda
    (passwd: port: host: user: db:)
    std/db/postgresql#postgresql-connect__@))
  (declare-type
   std/db/postgresql#postgresql-connection::close
   (@lambda 1 std/db/postgresql-driver#postgresql-close!))
  (declare-method
   std/db/postgresql#postgresql-connection::t
   close
   std/db/postgresql#postgresql-connection::close
   #f)
  (declare-type
   std/db/postgresql#postgresql-connection::prepare
   (@lambda 2 #f))
  (declare-method
   std/db/postgresql#postgresql-connection::t
   prepare
   std/db/postgresql#postgresql-connection::prepare
   #f)
  (declare-type
   std/db/postgresql#postgresql-statement::finalize
   (@lambda 1 #f))
  (declare-method
   std/db/postgresql#postgresql-statement::t
   finalize
   std/db/postgresql#postgresql-statement::finalize
   #f)
  (declare-type std/db/postgresql#postgresql-statement::bind (@lambda (1) #f))
  (declare-method
   std/db/postgresql#postgresql-statement::t
   bind
   std/db/postgresql#postgresql-statement::bind
   #f)
  (declare-type std/db/postgresql#postgresql-statement::clear (@lambda 1 #f))
  (declare-method
   std/db/postgresql#postgresql-statement::t
   clear
   std/db/postgresql#postgresql-statement::clear
   #f)
  (declare-type std/db/postgresql#postgresql-statement::reset (@lambda 1 #f))
  (declare-method
   std/db/postgresql#postgresql-statement::t
   reset
   std/db/postgresql#postgresql-statement::reset
   #f)
  (declare-type std/db/postgresql#postgresql-statement::exec (@lambda 1 #f))
  (declare-method
   std/db/postgresql#postgresql-statement::t
   exec
   std/db/postgresql#postgresql-statement::exec
   #f)
  (declare-type
   std/db/postgresql#postgresql-statement::query-start
   (@lambda 1 #f))
  (declare-method
   std/db/postgresql#postgresql-statement::t
   query-start
   std/db/postgresql#postgresql-statement::query-start
   #f)
  (declare-type
   std/db/postgresql#postgresql-statement::query-fetch
   (@lambda 1 #f))
  (declare-method
   std/db/postgresql#postgresql-statement::t
   query-fetch
   std/db/postgresql#postgresql-statement::query-fetch
   #f)
  (declare-type
   std/db/postgresql#postgresql-statement::query-row
   (@lambda 1 std/db/postgresql#postgresql-statement-row))
  (declare-method
   std/db/postgresql#postgresql-statement::t
   query-row
   std/db/postgresql#postgresql-statement::query-row
   #f)
  (declare-type
   std/db/postgresql#postgresql-statement::query-fini
   (@lambda 1 #f))
  (declare-method
   std/db/postgresql#postgresql-statement::t
   query-fini
   std/db/postgresql#postgresql-statement::query-fini
   #f)
  (declare-type std/db/postgresql#postgresql-statement::columns (@lambda 1 #f))
  (declare-method
   std/db/postgresql#postgresql-statement::t
   columns
   std/db/postgresql#postgresql-statement::columns
   #f)
  (declare-type
   std/db/postgresql#catalog::t
   (@struct-type std/db/postgresql#catalog::t #f 2 :init! ((final: . #t))))
  (declare-type
   std/db/postgresql#catalog?
   (@struct-pred std/db/postgresql#catalog::t))
  (declare-type
   std/db/postgresql#make-catalog
   (@struct-cons std/db/postgresql#catalog::t))
  (declare-type
   std/db/postgresql#catalog-s
   (@struct-getf std/db/postgresql#catalog::t 0 #f))
  (declare-type
   std/db/postgresql#catalog-d
   (@struct-getf std/db/postgresql#catalog::t 1 #f))
  (declare-type
   std/db/postgresql#catalog-s-set!
   (@struct-setf std/db/postgresql#catalog::t 0 #f))
  (declare-type
   std/db/postgresql#catalog-d-set!
   (@struct-setf std/db/postgresql#catalog::t 1 #f))
  (declare-type std/db/postgresql#catalog:::init! (@lambda (1) #f))
  (declare-method
   std/db/postgresql#catalog::t
   :init!
   std/db/postgresql#catalog:::init!
   #f)
  (declare-type std/db/postgresql#catalog-serializer (@lambda 2 #f))
  (declare-type std/db/postgresql#catalog-deserializer (@lambda 2 #f))
  (declare-type std/db/postgresql#serialize-boolean (@lambda 1 #f))
  (declare-type std/db/postgresql#deserialize-boolean (@lambda 1 #f))
  (declare-type std/db/postgresql#serialize-date (@lambda 1 #f))
  (declare-type std/db/postgresql#deserialize-date (@lambda 1 #f))
  (declare-type std/db/postgresql#serialize-timestamp (@lambda 1 #f))
  (declare-type std/db/postgresql#deserialize-timestamp (@lambda 1 #f))
  (declare-type std/db/postgresql#serialize-timestamptz (@lambda 1 #f))
  (declare-type std/db/postgresql#deserialize-timestamptz (@lambda 1 #f))
  (declare-type std/db/postgresql#identity-string (@lambda 1 #f)))
