/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import { CloneableStorage, StorageDriver } from "./StorageDriver.js"; import { SupportedStorageTypes } from "./StringifyTools.js"; export declare class MemoryStorageDriver extends StorageDriver implements CloneableStorage { #private; protected store: Record>; static readonly id: string; protected isInitialized: boolean; constructor(store?: Record>); get initialized(): boolean; static create(_namespace?: unknown, _descriptor?: StorageDriver.Descriptor): MemoryStorageDriver; private createContextKey; initialize(): void; clone(): MemoryStorageDriver; close(): Promise; get data(): Record>; get(contexts: string[], key: string): SupportedStorageTypes | undefined; set(contexts: string[], keyOrValues: string | Record, value?: SupportedStorageTypes): void; delete(contexts: string[], key: string): void; keys(contexts: string[]): string[]; values(contexts: string[]): Record; contexts(contexts: string[]): string[]; clearAll(contexts: string[]): void; } //# sourceMappingURL=MemoryStorageDriver.d.ts.map