/** * ------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. * See License in the project root for license information. * ------------------------------------------------------------------------------------------- */ import { CacheItem } from './CacheItem'; import { CacheSchema } from './CacheSchema'; /** * Represents a store in the cache * * @class CacheStore * @template T */ export declare class CacheStore { private readonly schema; private readonly store; constructor(schema: CacheSchema, store: string); /** * gets value from cache for the given key * * @param {string} key * @returns {Promise} * @memberof Cache */ getValue(key: string): Promise; /** * inserts value into cache for the given key * * @param {string} key * @param {T} item * @returns * @memberof Cache */ putValue(key: string, item: T): Promise; /** * Clears the store of all stored values * * @returns * @memberof Cache */ clearStore(): Promise; /** * Returns the name of the parent DB that the cache store belongs to */ getDBName(): Promise; private getDb; } //# sourceMappingURL=CacheStore.d.ts.map