/** * @license * Copyright 2022-2024 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import { SyncStorage } from "./Storage.js"; import { SupportedStorageTypes } from "./StringifyTools.js"; export declare class StorageBackendMemory extends SyncStorage { #private; protected store: any; protected isInitialized: boolean; constructor(store?: any); get initialized(): boolean; static create(store?: any): Promise; private createContextKey; initialize(): void; close(): void; clear(): void; get(contexts: string[], key: string): T | 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=StorageBackendMemory.d.ts.map