import { type SqliteWasmDatabase } from "./create-in-memory-database.js";
/**
 * Convenience helper that instantiates a database and hydrates it from bytes.
 *
 * This combines {@link createInMemoryDatabase} and {@link importDatabase} so
 * callers can go from raw ArrayBuffer data to a ready-to-use database in one
 * call.
 *
 * @example
 *   const db = await loadDatabaseInMemory(await fetch("/db.sqlite").then(r => r.arrayBuffer()));
 */
export declare function loadDatabaseInMemory(data: ArrayBuffer): Promise<SqliteWasmDatabase>;
//# sourceMappingURL=load-database-in-memory.d.ts.map