export declare class Store { readonly storeName: string; private _dbp; readonly _dbName: string; readonly _storeName: string; constructor(dbName?: string, storeName?: string); _init(): void; _withIDBStore(type: IDBTransactionMode, callback: ((store: IDBObjectStore) => void)): Promise; _close(): Promise; } export declare function get(key: IDBValidKey, store?: Store): Promise; export declare function set(key: IDBValidKey, value: any, store?: Store): Promise; export declare function update(key: IDBValidKey, updater: (val: any) => any, store?: Store): Promise; export declare function del(key: IDBValidKey, store?: Store): Promise; export declare function clear(store?: Store): Promise; export declare function keys(store?: Store): Promise; export declare function close(store?: Store): Promise;