import { DeleteKeyRange } from './delete'; import { ObjectStoreKeyValueRecord } from './save'; import { CountOptions } from './count'; import { GetOptions, ObjectStoreRecord } from './get'; import { Connection } from './connection'; export declare class Sklad implements Connection { private database; private clear; private delete; private insert; private upsert; private count; private get; constructor(database: IDBDatabase); deleteFromStore(storeName: string, key: DeleteKeyRange): Promise; deleteFromStores(arg: { [storeName: string]: DeleteKeyRange; }): Promise; clearStore(storeName: string): Promise; clearStores(storeNames: string[]): Promise; insertIntoOneStore(storeName: string, records: ObjectStoreKeyValueRecord[]): Promise; insertIntoMultiple(arg: { [storeName: string]: ObjectStoreKeyValueRecord[]; }): Promise<{ [storeName: string]: IDBValidKey[]; }>; upsertIntoOneStore(storeName: string, records: ObjectStoreKeyValueRecord[]): Promise; upsertIntoMultiple(arg: { [storeName: string]: ObjectStoreKeyValueRecord[]; }): Promise<{ [storeName: string]: IDBValidKey[]; }>; countOneStore(storeName: string, options?: CountOptions): Promise; countMultipleStores(arg: { [storeName: string]: CountOptions; }): Promise<{ [storeName: string]: number; }>; getOneStore(storeName: string, options?: GetOptions): Promise; getMultipleStores(arg: { [storeName: string]: GetOptions; }): Promise<{ [storeName: string]: ObjectStoreRecord[]; }>; close(): void; }