/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { Endpoint } from "#endpoint/Endpoint.js";
import { EndpointStore } from "#storage/EndpointStore.js";
import { StorageContext } from "@matter/general";
/**
 * Persistence backing for an {@link Endpoint}.
 *
 * This is the API {@link Endpoint} uses for reading and writing non-volatile values.
 */
export declare class ServerEndpointStore extends EndpointStore {
    #private;
    get number(): number | undefined;
    set number(number: number | undefined);
    constructor(storage: StorageContext);
    /**
     * Create a {@link Datasource.Store} for a behavior.
     */
    createStoreForBehavior(behaviorId: string): import("../../behavior/state/managed/Datasource.js").Datasource.Store;
    /**
     * Invoke a function on this store and the stores of descendant parts.
     */
    visit(fn: (store: ServerEndpointStore) => void): void;
    childStoreFor(endpoint: Endpoint): ServerEndpointStore;
    protected storeForPartId(partId: string): ServerEndpointStore;
    saveNumber(): Promise<void>;
    load(): Promise<void>;
    /**
     * Erase the child storage for one part
     */
    eraseChildStoreFor(endpoint: Endpoint): Promise<void>;
}
//# sourceMappingURL=ServerEndpointStore.d.ts.map