/**
 * @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<string, Record<string, SupportedStorageTypes>>;
    static readonly id: string;
    protected isInitialized: boolean;
    constructor(store?: Record<string, Record<string, SupportedStorageTypes>>);
    get initialized(): boolean;
    static create(_namespace?: unknown, _descriptor?: StorageDriver.Descriptor): MemoryStorageDriver;
    private createContextKey;
    initialize(): void;
    clone(): MemoryStorageDriver;
    close(): Promise<void>;
    get data(): Record<string, Record<string, SupportedStorageTypes>>;
    get(contexts: string[], key: string): SupportedStorageTypes | undefined;
    set(contexts: string[], keyOrValues: string | Record<string, SupportedStorageTypes>, value?: SupportedStorageTypes): void;
    delete(contexts: string[], key: string): void;
    keys(contexts: string[]): string[];
    values(contexts: string[]): Record<string, SupportedStorageTypes>;
    contexts(contexts: string[]): string[];
    clearAll(contexts: string[]): void;
}
//# sourceMappingURL=MemoryStorageDriver.d.ts.map