/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import { Agent } from "#endpoint/Agent.js"; import { Endpoint } from "#endpoint/Endpoint.js"; import { MutableSet } from "@matter/general"; import { Behavior } from "../../Behavior.js"; /** * Provides access to child endpoints. */ export declare class PartsBehavior extends Behavior implements MutableSet { static readonly id = "parts"; add(child: Endpoint.Definition | Agent): void; /** * @deprecated Always throws; remove the endpoint with {@link Endpoint.close} or {@link Endpoint.delete}. */ delete(child: Endpoint | Agent): never; /** * @deprecated Always throws; remove each endpoint with {@link Endpoint.close} or {@link Endpoint.delete}. */ clear(): never; has(child: Endpoint | Agent): boolean; indexOf(child: Endpoint | Agent): number; [Symbol.iterator](): Generator, void, unknown>; } //# sourceMappingURL=PartsBehavior.d.ts.map