import { Database } from "bun:sqlite"; /** * Adapter making bun:sqlite compatible with better-sqlite3 interface * for LangGraph's SqliteSaver. * * This allows SqliteSaver to work with bun:sqlite without modification. * The APIs are intentionally similar as bun:sqlite was designed to be * compatible with better-sqlite3. */ export declare class BunSqliteAdapter { db: Database; constructor(filenameOrDatabase: string | Database); prepare(sql: string): { get: (...params: any[]) => {} | undefined; all: (...params: any[]) => unknown[]; run: (...params: any[]) => import("bun:sqlite").Changes; columnNames: string[]; paramsCount: number; columnTypes: Array<"INTEGER" | "FLOAT" | "TEXT" | "BLOB" | "NULL" | null>; declaredTypes: Array; native: any; }; exec(sql: string): import("bun:sqlite").Changes; run(sql: string, ...params: any[]): import("bun:sqlite").Changes; pragma(pragma: string, simplify?: boolean): unknown; transaction(fn: (...args: any[]) => any): { (...args: any[]): any; deferred: (...args: any[]) => any; immediate: (...args: any[]) => any; exclusive: (...args: any[]) => any; }; close(): void; get inTransaction(): boolean; }