import { SQLitePluginTransaction } from './transactions'; interface SQLiteBridgePlugin { open(options: { dbName: string; location: string; }): Promise; close(options: { dbName: string; }): Promise; deleteDatabase(options: { dbName: string; location: string; }): Promise; isDatabaseOpen(options: { dbName: string; }): Promise<{ isOpen: boolean; }>; backgroundExecuteSqlBatch(options: { dbName: string; batch: { params: string[]; sql: string; }[]; }): Promise<{ results: { rows?: Record[]; rowsAffected: number; lastInsertRowId: number; }[]; }>; } declare class SQLite { bridge: SQLiteBridgePlugin; openargs: any; dbname: string; dblocation: string; openSuccess: any; openError: any; constructor(openargs: { [x: string]: any; name: any; }); databaseFeatures: { isSQLitePluginDatabase: boolean; }; openDBs: { [s: string]: string; }; addTransaction(t: SQLitePluginTransaction): void; transaction(fn: (tx: SQLitePluginTransaction) => void, error: (arg0: Error) => void, success: (() => void) | null): void; readTransaction(fn: (tx: SQLitePluginTransaction) => void, error: ((arg0: Error) => void) | null, success: (() => void) | null): void; startNextTransaction(): void; abortAllPendingTransactions(): void; open(success: (arg0: this) => void, error: (arg0: Error) => void): void; close(success: any, error: (arg0: Error | undefined) => void): void; executeSql(statement: any, params: any, success: (arg0: any) => any, error: (arg0: any) => any): void; sqlBatch(sqlStatements: { constructor: ArrayConstructor; }, success: (() => void) | null, error: ((err: any) => void) | null): void; } export { SQLite };