/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import { Bytes } from "#util/Bytes.js"; import { CloneableStorage, Storage } from "./Storage.js"; import { SupportedStorageTypes } from "./StringifyTools.js"; export declare class StorageBackendMemory extends Storage implements CloneableStorage { #private; protected store: any; protected isInitialized: boolean; constructor(store?: any); get initialized(): boolean; static create(store?: any): Promise; private createContextKey; initialize(): void; clone(): StorageBackendMemory; close(): Promise; clear(): void; get data(): any; get(contexts: string[], key: string): SupportedStorageTypes | undefined; openBlob(contexts: string[], key: string): Blob; writeBlobFromStream(contexts: string[], key: string, stream: ReadableStream): Promise; 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