import type * as SQLite from '@journeyapps/wa-sqlite'; /** * List of currently tested virtual filesystems */ export declare enum WASQLiteVFS { IDBBatchAtomicVFS = "IDBBatchAtomicVFS", OPFSCoopSyncVFS = "OPFSCoopSyncVFS", AccessHandlePoolVFS = "AccessHandlePoolVFS" } export declare function vfsRequiresDedicatedWorkers(vfs: WASQLiteVFS): vfs is WASQLiteVFS.OPFSCoopSyncVFS | WASQLiteVFS.AccessHandlePoolVFS; /** * @internal */ export type WASQLiteModuleFactoryOptions = { dbFileName: string; encryptionKey?: string; }; /** * @internal */ export type SQLiteModule = Parameters[0]; /** * @internal */ export type WASQLiteModuleFactory = (options: WASQLiteModuleFactoryOptions) => Promise<{ module: SQLiteModule; vfs: SQLiteVFS; }>; /** * @internal */ export declare const AsyncWASQLiteModuleFactory: () => Promise; /** * @internal */ export declare const MultiCipherAsyncWASQLiteModuleFactory: () => Promise; /** * @internal */ export declare const SyncWASQLiteModuleFactory: () => Promise; /** * @internal */ export declare const MultiCipherSyncWASQLiteModuleFactory: () => Promise; /** * @internal */ export declare const DEFAULT_MODULE_FACTORIES: { IDBBatchAtomicVFS: (options: WASQLiteModuleFactoryOptions) => Promise<{ module: any; vfs: any; }>; AccessHandlePoolVFS: (options: WASQLiteModuleFactoryOptions) => Promise<{ module: any; vfs: any; }>; OPFSCoopSyncVFS: (options: WASQLiteModuleFactoryOptions) => Promise<{ module: any; vfs: any; }>; };