/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { MaybePromise } from "@matter/general";
import { Behavior } from "../../Behavior.js";
import type { NetworkRuntime } from "./NetworkRuntime.js";
/**
 * NetworkingBehavior is the component of Matter.js that handles online connectivity for a Matter node.
 *
 * NetworkingBehavior does not have an associated Matter cluster.  It is exclusive to Matter.js.
 */
export declare class NetworkBehavior extends Behavior {
    static readonly id = "network";
    static readonly early = true;
    internal: NetworkBehavior.Internal;
    readonly state: NetworkBehavior.State;
    [Symbol.asyncDispose](): Promise<void> | undefined;
    /**
     * Invoked by node when networking is ready.
     */
    startup(): MaybePromise;
}
export declare namespace NetworkBehavior {
    class Internal {
        runtime?: NetworkRuntime;
    }
    class State {
        port: number;
        operationalPort: number;
    }
}
//# sourceMappingURL=NetworkBehavior.d.ts.map