import { IKeyValueStore, IKeyValueStoreOnArgs, IKeyValueStoreOptions, IValueData, ValueStoreType } from './key-value-types.js'; /** * Class that implements the {@link @veramo/kv-store#IKeyValueStore} interface * * This class is a Key Value store that leverages a port of the keyv package internally. * The store does not leak the types of the Keyv port, * so it could be replaced with another implementations if we want to. * * @public */ export declare class KeyValueStore implements IKeyValueStore { /** * The main keyv typescript port which delegates to the storage adapters and takes care of some common functionality * * @internal */ private readonly keyv; constructor(options: IKeyValueStoreOptions); get(key: string): Promise; getAsValueData(key: string): Promise>; getIterator(): AsyncGenerator<[key: string, value: ValueType], void>; getMany(keys?: string[]): Promise>; getManyAsValueData(keys: string[]): Promise>>; set(key: string, value: ValueType, ttl?: number): Promise>; has(key: string): Promise; delete(key: string): Promise; deleteMany(keys: string[]): Promise; clear(): Promise>; disconnect(): Promise; kvStoreOn(args: IKeyValueStoreOnArgs): Promise>; private toDeserializedValueData; } //# sourceMappingURL=key-value-store.d.ts.map