import { WebPlugin } from '@capacitor/core'; import type { CapacitorSQLitePlugin, capConnectionOptions, capAllConnectionsOptions, capChangeSecretOptions, capEchoOptions, capEchoResult, capNCConnectionOptions, capNCDatabasePathOptions, capNCDatabasePathResult, capNCOptions, capSetSecretOptions, capSQLiteChanges, capSQLiteExecuteOptions, capSQLiteExportOptions, capSQLiteFromAssetsOptions, capSQLiteHTTPOptions, capSQLiteLocalDiskOptions, capSQLiteImportOptions, capSQLiteJson, capSQLiteOptions, capSQLitePathOptions, capSQLiteQueryOptions, capSQLiteResult, capSQLiteRunOptions, capSQLiteSetOptions, capSQLiteSyncDate, capSQLiteSyncDateOptions, capSQLiteTableOptions, capSQLiteUpgradeOptions, capSQLiteUrl, capSQLiteValues, capVersionResult, capSQLiteExtensionPath, capSQLiteExtensionEnable } from './definitions'; export declare class CapacitorSQLiteWeb extends WebPlugin implements CapacitorSQLitePlugin { private jeepSqliteElement; private isWebStoreOpen; initWebStore(): Promise; saveToStore(options: capSQLiteOptions): Promise; getFromLocalDiskToStore(options: capSQLiteLocalDiskOptions): Promise; saveToLocalDisk(options: capSQLiteOptions): Promise; echo(options: capEchoOptions): Promise; createConnection(options: capConnectionOptions): Promise; open(options: capSQLiteOptions): Promise; closeConnection(options: capSQLiteOptions): Promise; getVersion(options: capSQLiteOptions): Promise; checkConnectionsConsistency(options: capAllConnectionsOptions): Promise; close(options: capSQLiteOptions): Promise; beginTransaction(options: capSQLiteOptions): Promise; commitTransaction(options: capSQLiteOptions): Promise; rollbackTransaction(options: capSQLiteOptions): Promise; isTransactionActive(options: capSQLiteOptions): Promise; getTableList(options: capSQLiteOptions): Promise; execute(options: capSQLiteExecuteOptions): Promise; executeSet(options: capSQLiteSetOptions): Promise; run(options: capSQLiteRunOptions): Promise; query(options: capSQLiteQueryOptions): Promise; isDBExists(options: capSQLiteOptions): Promise; isDBOpen(options: capSQLiteOptions): Promise; isDatabase(options: capSQLiteOptions): Promise; isTableExists(options: capSQLiteTableOptions): Promise; deleteDatabase(options: capSQLiteOptions): Promise; isJsonValid(options: capSQLiteImportOptions): Promise; importFromJson(options: capSQLiteImportOptions): Promise; exportToJson(options: capSQLiteExportOptions): Promise; createSyncTable(options: capSQLiteOptions): Promise; setSyncDate(options: capSQLiteSyncDateOptions): Promise; getSyncDate(options: capSQLiteOptions): Promise; deleteExportedRows(options: capSQLiteOptions): Promise; addUpgradeStatement(options: capSQLiteUpgradeOptions): Promise; copyFromAssets(options: capSQLiteFromAssetsOptions): Promise; getFromHTTPRequest(options: capSQLiteHTTPOptions): Promise; getDatabaseList(): Promise; /** * Checks if the `jeep-sqlite` element is present in the DOM. * If it's not in the DOM, this method throws an Error. * * Attention: This will always fail, if the `intWebStore()` method wasn't called before. */ private ensureJeepSqliteIsAvailable; private ensureWebstoreIsOpen; getUrl(): Promise; getMigratableDbList(options: capSQLitePathOptions): Promise; addSQLiteSuffix(options: capSQLitePathOptions): Promise; deleteOldDatabases(options: capSQLitePathOptions): Promise; moveDatabasesAndAddSuffix(options: capSQLitePathOptions): Promise; isSecretStored(): Promise; setEncryptionSecret(options: capSetSecretOptions): Promise; changeEncryptionSecret(options: capChangeSecretOptions): Promise; clearEncryptionSecret(): Promise; checkEncryptionSecret(options: capSetSecretOptions): Promise; getNCDatabasePath(options: capNCDatabasePathOptions): Promise; createNCConnection(options: capNCConnectionOptions): Promise; closeNCConnection(options: capNCOptions): Promise; isNCDatabase(options: capNCOptions): Promise; isDatabaseEncrypted(options: capSQLiteOptions): Promise; isInConfigEncryption(): Promise; isInConfigBiometricAuth(): Promise; loadExtension(options: capSQLiteExtensionPath): Promise; enableLoadExtension(options: capSQLiteExtensionEnable): Promise; }