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

(begin
  (declare-type
   std/db/sqlite#sqlite-connection::t
   (@struct-type
    std/db/sqlite#sqlite-connection::t
    std/db/dbi#connection::t
    0
    :init!
    ((final: . #t))))
  (declare-type
   std/db/sqlite#sqlite-connection?
   (@struct-pred std/db/sqlite#sqlite-connection::t))
  (declare-type
   std/db/sqlite#make-sqlite-connection
   (@struct-cons std/db/sqlite#sqlite-connection::t))
  (declare-type
   std/db/sqlite#sqlite-statement::t
   (@struct-type
    std/db/sqlite#sqlite-statement::t
    std/db/dbi#statement::t
    0
    #f
    ((final: . #t))))
  (declare-type
   std/db/sqlite#sqlite-statement?
   (@struct-pred std/db/sqlite#sqlite-statement::t))
  (declare-type
   std/db/sqlite#make-sqlite-statement
   (@struct-cons std/db/sqlite#sqlite-statement::t))
  (declare-type
   std/db/sqlite#sqlite-connection:::init!
   (@lambda 2 struct-instance-init!))
  (declare-method
   std/db/sqlite#sqlite-connection::t
   :init!
   std/db/sqlite#sqlite-connection:::init!
   #f)
  (declare-type std/db/sqlite#raise-sqlite-error (@lambda 2 #f))
  (declare-type std/db/sqlite#sqlite-open__% (@lambda 2 #f))
  (declare-type std/db/sqlite#sqlite-open__0 (@lambda 1 #f))
  (declare-type
   std/db/sqlite#sqlite-open
   (@case-lambda
    (1 std/db/sqlite#sqlite-open__0)
    (2 std/db/sqlite#sqlite-open__%)))
  (declare-type std/db/sqlite#sqlite-connection::close (@lambda 1 #f))
  (declare-method
   std/db/sqlite#sqlite-connection::t
   close
   std/db/sqlite#sqlite-connection::close
   #f)
  (declare-type std/db/sqlite#sqlite-connection::prepare (@lambda 2 #f))
  (declare-method
   std/db/sqlite#sqlite-connection::t
   prepare
   std/db/sqlite#sqlite-connection::prepare
   #f)
  (declare-type std/db/sqlite#sqlite-statement::finalize (@lambda 1 #f))
  (declare-method
   std/db/sqlite#sqlite-statement::t
   finalize
   std/db/sqlite#sqlite-statement::finalize
   #f)
  (declare-type std/db/sqlite#sqlite-statement::bind (@lambda (1) #f))
  (declare-method
   std/db/sqlite#sqlite-statement::t
   bind
   std/db/sqlite#sqlite-statement::bind
   #f)
  (declare-type std/db/sqlite#sqlite-statement::clear (@lambda 1 #f))
  (declare-method
   std/db/sqlite#sqlite-statement::t
   clear
   std/db/sqlite#sqlite-statement::clear
   #f)
  (declare-type std/db/sqlite#sqlite-statement::reset (@lambda 1 #f))
  (declare-method
   std/db/sqlite#sqlite-statement::t
   reset
   std/db/sqlite#sqlite-statement::reset
   #f)
  (declare-type std/db/sqlite#sqlite-statement::exec (@lambda 1 #f))
  (declare-method
   std/db/sqlite#sqlite-statement::t
   exec
   std/db/sqlite#sqlite-statement::exec
   #f)
  (declare-type
   std/db/sqlite#sqlite-statement::query-start
   (ast-rules
    (%#call %#ref)
    ((%#call _ (%#ref arg) ...) (%#quote #!void))
    ((%#call _ arg ...) (%#begin arg ... (%#quote #!void)))))
  (declare-method
   std/db/sqlite#sqlite-statement::t
   query-start
   std/db/sqlite#sqlite-statement::query-start
   #f)
  (declare-type std/db/sqlite#sqlite-statement::query-fetch (@lambda 1 #f))
  (declare-method
   std/db/sqlite#sqlite-statement::t
   query-fetch
   std/db/sqlite#sqlite-statement::query-fetch
   #f)
  (declare-type std/db/sqlite#sqlite-statement::query-row (@lambda 1 #f))
  (declare-method
   std/db/sqlite#sqlite-statement::t
   query-row
   std/db/sqlite#sqlite-statement::query-row
   #f)
  (declare-type std/db/sqlite#sqlite-statement::query-fini (@lambda 1 #f))
  (declare-method
   std/db/sqlite#sqlite-statement::t
   query-fini
   std/db/sqlite#sqlite-statement::query-fini
   #f)
  (declare-type std/db/sqlite#sqlite-statement::columns (@lambda 1 #f))
  (declare-method
   std/db/sqlite#sqlite-statement::t
   columns
   std/db/sqlite#sqlite-statement::columns
   #f))
