import { StorageValue } from '../../storage/storageTypes'; import { AsyncStorageInterface } from '../../types'; export type AreaName = keyof Pick; export type ChromeStorageAdapterOptions = { area?: AreaName; storageKeyPrefix?: string; }; export type ChromeStorageValue = StorageValue; export declare class ChromeStorageAdapter implements AsyncStorageInterface { readonly area: AreaName; readonly storageKeyPrefix: string; readonly async = true; readonly deserializer: typeof deserializeChromeStorageValue; readonly serializer: typeof serializeChromeStorageValue; constructor(options?: ChromeStorageAdapterOptions); clearAll(): Promise; contains(key: string): Promise; delete(key: string): Promise; getAllKeys(): Promise; get(key: string): Promise; set(key: string, value: unknown): Promise; private ensureStorage; private toStorageKey; private listPrefixedKeys; private getFromStorage; private execute; private invokeWithCallbackSupport; } export declare function serializeChromeStorageValue(storageValue: StorageValue): unknown; export declare function deserializeChromeStorageValue(serializedState: unknown): StorageValue; //# sourceMappingURL=chromeStorageAdapter.d.ts.map