/**
 * @license
 * Copyright 2022-2025 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { Behavior } from "#behavior/Behavior.js";
import { BehaviorBacking } from "#behavior/internal/BehaviorBacking.js";
import { Endpoint } from "#endpoint/Endpoint.js";
import type { Agent } from "#endpoint/index.js";
import { EndpointInitializer } from "#endpoint/properties/EndpointInitializer.js";
import { Environment, MaybePromise } from "#general";
export declare class ServerEndpointInitializer extends EndpointInitializer {
    #private;
    constructor(environment: Environment);
    initializeDescendant(endpoint: Endpoint): void;
    eraseDescendant(endpoint: Endpoint): Promise<void>;
    deactivateDescendant(endpoint: Endpoint): Promise<void>;
    /**
     * Create the backing.
     *
     * If the behavior is a cluster behavior and the node is already initialized, create a server when the behavior
     * initializes.
     */
    createBacking(endpoint: Endpoint, type: Behavior.Type): BehaviorBacking;
    behaviorsInitialized(agent: Agent): MaybePromise;
}
//# sourceMappingURL=ServerEndpointInitializer.d.ts.map