export declare function promisify(request: IDBRequest | IDBTransaction): Promise; export declare function createStore(dbName: string, storeName: string, key?: string, options?: { onSuccess: () => void; onError: (e: unknown) => void; }): WithStore; export declare type WithStore = (txMode: IDBTransactionMode, callback: (store: IDBObjectStore) => T | PromiseLike) => Promise; export interface RetentionConfig { maxNumber: number; batchEvictionNumber: number; } export declare function batchEvict(retentionConfig?: RetentionConfig, withStore?: WithStore): Promise; export declare function push(value: T, retentionConfig?: RetentionConfig, withStore?: WithStore): Promise; export declare function pushIfNotClearing(value: T, retentionConfig?: RetentionConfig, withStore?: WithStore): Promise; export declare function clear(withStore?: WithStore): Promise; export declare function _shift(count: number, withStore: WithStore, direction: IDBCursorDirection): Promise; export declare function peek(count?: number, withStore?: WithStore): Promise; export declare function peekAll(withStore?: WithStore): Promise; export declare function shift(count?: number, withStore?: WithStore): Promise; export declare function shiftAll(withStore?: WithStore): Promise; export declare function peekBack(count?: number, withStore?: WithStore): Promise; export declare function pop(count?: number, withStore?: WithStore): Promise; //# sourceMappingURL=index.d.ts.map