/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { Environment } from "#environment/Environment.js";
import { Environmental } from "#environment/Environmental.js";
import { AppAddress } from "#net/AppAddress.js";
import { HttpEndpoint } from "./HttpEndpoint.js";
import { HttpEndpointFactory } from "./HttpEndpointFactory.js";
/**
 * An environmental service that manages shared access to a set of endpoints.
 */
export declare class HttpService {
    #private;
    constructor(factory: HttpEndpointFactory);
    create({ address, certificate, key }: HttpService.Configuration): Promise<HttpEndpoint>;
    static [Environmental.create](env: Environment): HttpService;
}
export declare namespace HttpService {
    interface Configuration extends HttpEndpoint.Options {
        address: AppAddress.Definition | AppAddress.Definition[];
    }
}
//# sourceMappingURL=HttpService.d.ts.map