/** * @typedef {import('../types').DriverSync} DriverSync * @typedef {import('../types').KvKey} KvKey */ /** * @class * @implements {DriverSync} */ export class MemoryDriver implements DriverSync { /** * * @param {Map} [map] */ constructor(map?: Map); /** @type {Map} */ map: Map; set(key: string, value: unknown): import("../types").DriverSync; /** * @template [Value=unknown] * @param {string} key */ get(key: string): Value | undefined; delete(key: string): void; has(key: string): boolean; clear(): void; /** * @returns {IterableIterator<[string, unknown]>} */ [Symbol.iterator](): IterableIterator<[string, unknown]>; } export type DriverSync = import("../types").DriverSync; export type KvKey = import("../types").KvKey; //# sourceMappingURL=memory.d.ts.map