import type { Database, Sqlite3Static } from "@sqlite.org/sqlite-wasm"; export type SqliteWasmDatabase = Database & { /** * The sqlite3 module used to create the database. * * Use this API to access the sqlite3 module directly. */ sqlite3: Sqlite3Static; }; /** * Boots a WebAssembly SQLite database that operates entirely in memory. * * The first call lazily initialises the SQLite WASM module and caches it so * subsequent invocations reuse the same runtime. Pass `readOnly: true` to * obtain a database instance that prevents writes. * * @example * const db = await createInMemoryDatabase({ readOnly: false }); */ export declare const createInMemoryDatabase: ({ readOnly, }: { readOnly?: boolean; }) => Promise; //# sourceMappingURL=create-in-memory-database.d.ts.map