/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import { Bytes } from "#util/Bytes.js"; import { MockNetwork } from "./MockNetwork.js"; import { MockRouter } from "./MockRouter.js"; export declare class NetworkSimulator { #private; readonly router: MockRouter; addHost(lastIdentifierByte: number): MockNetwork; removeHost(host: MockNetwork): void; /** * Find the MockNetwork that owns a given IP address. */ findNetwork(ip: string): MockNetwork | undefined; } export declare namespace NetworkSimulator { type Listener = (netInterface: string, peerAddress: string, peerPort: number, data: Bytes) => void; } //# sourceMappingURL=NetworkSimulator.d.ts.map