export function rtop(request: IDBRequest): Promise; export function openDB(name: string, initDB: (arg0: IDBDatabase) => any): Promise; export function deleteDB(name: string): Promise; export function createStores(db: IDBDatabase, definitions: Array | Array>): void; export function transact(db: IDBDatabase, stores: Array, access?: "readonly" | "readwrite" | undefined): Array; export function count(store: IDBObjectStore, range?: IDBKeyRange | undefined): Promise; export function get(store: IDBObjectStore, key: string | number | ArrayBuffer | Date | Array): Promise>; export function del(store: IDBObjectStore, key: string | number | ArrayBuffer | Date | IDBKeyRange | Array): Promise; export function put(store: IDBObjectStore, item: string | number | ArrayBuffer | Date | boolean, key?: string | number | any[] | Date | ArrayBuffer | undefined): Promise; export function add(store: IDBObjectStore, item: string | number | ArrayBuffer | Date | boolean, key: string | number | ArrayBuffer | Date | Array): Promise; export function addAutoKey(store: IDBObjectStore, item: string | number | ArrayBuffer | Date): Promise; export function getAll(store: IDBObjectStore, range?: IDBKeyRange | undefined): Promise>; export function getAllKeys(store: IDBObjectStore, range?: IDBKeyRange | undefined): Promise>; export function queryFirst(store: IDBObjectStore, query: IDBKeyRange | null, direction: 'next' | 'prev' | 'nextunique' | 'prevunique'): Promise; export function getLastKey(store: IDBObjectStore, range?: IDBKeyRange | null | undefined): Promise; export function getFirstKey(store: IDBObjectStore, range?: IDBKeyRange | null | undefined): Promise; export function getAllKeysValues(store: IDBObjectStore, range?: IDBKeyRange | undefined): Promise>; export function iterate(store: IDBObjectStore, keyrange: IDBKeyRange | null, f: (arg0: any, arg1: any) => void | boolean, direction?: 'next' | 'prev' | 'nextunique' | 'prevunique'): Promise; export function iterateKeys(store: IDBObjectStore, keyrange: IDBKeyRange | null, f: (arg0: any) => void | boolean, direction?: 'next' | 'prev' | 'nextunique' | 'prevunique'): Promise; export function getStore(t: IDBTransaction, store: string): IDBObjectStore; export function createIDBKeyRangeBound(lower: any, upper: any, lowerOpen: boolean, upperOpen: boolean): IDBKeyRange; export function createIDBKeyRangeUpperBound(upper: any, upperOpen: boolean): IDBKeyRange; export function createIDBKeyRangeLowerBound(lower: any, lowerOpen: boolean): IDBKeyRange; export type KeyValuePair = { /** * key */ k: any; /** * Value */ v: any; }; //# sourceMappingURL=indexeddb.d.ts.map