/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import { ChannelType } from "#net/Channel.js"; import { Network, NetworkInterface, NetworkInterfaceDetails } from "../Network.js"; import { UdpChannelOptions } from "../udp/UdpChannel.js"; import { MockRouter } from "./MockRouter.js"; import { MockUdpChannel } from "./MockUdpChannel.js"; import type { NetworkSimulator } from "./NetworkSimulator.js"; export declare class MockNetwork extends Network { #private; readonly router: MockRouter; constructor(simulator: NetworkSimulator, mac: string, ips: string[]); get simulator(): NetworkSimulator; getNetInterfaces(): NetworkInterface[]; getIpMac(name: string): NetworkInterfaceDetails; createUdpChannel(options: UdpChannelOptions): Promise; supports(type: ChannelType, _address: string): type is ChannelType.UDP; close(): Promise; } //# sourceMappingURL=MockNetwork.d.ts.map