/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { Diagnostic } from "#log/Diagnostic.js";
import { NetworkError } from "./Network.js";
export declare class InvalidAppAddress extends NetworkError {
}
/**
 * An application network address.
 *
 * This is an OSI layer 7 address representable as an object or URL.
 */
export declare class AppAddress extends URL {
    [Diagnostic.value]: string;
    constructor(definition: AppAddress.Definition);
    get appProtocol(): string;
    get isTls(): boolean;
    get protocolModifiers(): string[];
    get transport(): AppAddress.TransportAddress;
    get portNum(): number;
    get isWildcardHost(): boolean;
    get isWildcardPort(): boolean;
    static for(definition: AppAddress.Definition): AppAddress;
}
export declare namespace AppAddress {
    type Definition = Object | URL | string;
    type TransportAddress = IpTransportAddress | UnixSocketTransportAddress;
    interface IpTransportAddress {
        kind: "ip";
        host: string;
        port: number;
    }
    interface UnixSocketTransportAddress {
        kind: "unix";
        path: string;
    }
    interface Object {
        appProtocol: string;
        transport: TransportAddress;
        tls?: boolean;
        path?: string;
    }
}
//# sourceMappingURL=AppAddress.d.ts.map