import ChromeStorageAsyncMap from './cache/chrome-storage-async-map'; import { IStringStorageEngine } from './string-valued.store'; /** * Chrome storage implementation of a string-valued store for storing a configuration and its metadata. * * This serializes the entire configuration object into a string and then stores it to a single key * within the object for another single top-level key. * Same with metadata about the store (e.g., when it was last updated). * * Note: this behaves a bit differently than local storage as the chrome storage API gets and sets * subsets of key-value pairs, so we have to dereference or re-specify the key. * @public */ export declare class ChromeStorageEngine implements IStringStorageEngine { private storageMap; private readonly contentsKey; private readonly metaKey; constructor(storageMap: ChromeStorageAsyncMap, storageKeySuffix: string); getContentsJsonString: () => Promise; getMetaJsonString: () => Promise; setContentsJsonString: (configurationJsonString: string) => Promise; setMetaJsonString: (metaJsonString: string) => Promise; } //# sourceMappingURL=chrome-storage-engine.d.ts.map