import type { SQLiteDatabase } from "expo-sqlite"; import { type SQLiteDatabaseDriverAsync } from "jazz-tools/react-native-core"; export declare class ExpoSQLiteAdapter implements SQLiteDatabaseDriverAsync { private static adapterByDbName; private db; private initializing; private dbName; static withDB(db: SQLiteDatabase): ExpoSQLiteAdapter; /** * Returns a shared adapter instance for the given database name. * Multiple providers in the same runtime reuse the same adapter. */ static getInstance(dbName?: string): ExpoSQLiteAdapter; constructor(dbName?: string); initialize(): Promise; query(sql: string, params?: unknown[]): Promise; get(sql: string, params?: unknown[]): Promise; run(sql: string, params?: unknown[]): Promise; transaction(callback: (tx: ExpoSQLiteAdapter) => unknown): Promise; /** * Deletes and re-initialises the database. * Dropping every table would not account for internal data, such as PRAGMAs, so deletion is required to completely clear the database. */ clearLocalData(): Promise; closeDb(): Promise; } //# sourceMappingURL=expo-sqlite-adapter.d.ts.map