UNPKG

jinaga

Version:

Data management for web and mobile applications.

7 lines 570 B
import { FactReference } from '../storage'; export declare function withDatabase<T>(indexName: string, action: (db: IDBDatabase) => Promise<T>): Promise<T>; export declare function withTransaction<T>(db: IDBDatabase, storeNames: string[], mode: IDBTransactionMode, action: (transaction: IDBTransaction) => Promise<T>): Promise<T>; export declare function execRequest<T>(request: IDBRequest): Promise<T>; export declare function factKey(fact: FactReference): string; export declare function keyToReference(key: string): FactReference; //# sourceMappingURL=driver.d.ts.map