/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { Endpoint } from "#endpoint/Endpoint.js";
import { type BlobStorageDriver, Destructable, Environment, StorageManager } from "@matter/general";
import { NodeStore } from "../NodeStore.js";
import { ClientNodeStores } from "../client/ClientNodeStores.js";
import { ServerEndpointStores } from "./ServerEndpointStores.js";
/**
 * {@link ServerNode} persistence.
 *
 * Each {@link ServerNode} has an instance of this store.
 *
 * Exclusive access is enforced by {@link Directory.lock} when a filesystem-backed storage driver is in use.
 */
export declare class ServerNodeStore extends NodeStore implements Destructable {
    #private;
    constructor(environment: Environment, nodeId: string);
    static create(environment: Environment, nodeId: string): Promise<ServerNodeStore>;
    close(): Promise<void>;
    /**
     * Stores associated with server endpoints supported by this node.
     */
    get endpointStores(): ServerEndpointStores;
    /**
     * Stores associated with remote nodes known by this node.
     */
    get clientStores(): ClientNodeStores;
    /**
     * The underlying {@link StorageManager} that provides node data.
     */
    get storage(): StorageManager;
    storeForEndpoint(endpoint: Endpoint): import("./ServerEndpointStore.js").ServerEndpointStore;
    /**
     * Lazily opens and returns the BDX blob storage driver using a dedicated namespace.
     */
    bdxStore(): Promise<BlobStorageDriver>;
    erase(): Promise<void>;
    load(): Promise<void>;
}
//# sourceMappingURL=ServerNodeStore.d.ts.map