/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import type { HttpEndpoint } from "./HttpEndpoint.js";
import { HttpEndpointFactory } from "./HttpEndpointFactory.js";
/**
 * Mock {@link HttpEndpointFactory} that captures the WebSocket handler installed by WebSocketInterface and provides a
 * {@link MockHttpEndpointFactory.connect} method that creates mock WebSocket pipe pairs.
 */
export declare class MockHttpEndpointFactory extends HttpEndpointFactory {
    #private;
    create(_options: HttpEndpoint.Configuration): Promise<HttpEndpoint>;
    /**
     * Create a new mock WebSocket connection pair.  Invokes the captured WS handler with the server side and returns
     * the client side.
     */
    connect(): Promise<HttpEndpoint.WsConnection>;
}
export declare namespace MockHttpEndpointFactory {
    /**
     * Default WebSocket URL used by the mock factory.
     */
    const WS_URL = "ws+unix://matter.sock/";
}
//# sourceMappingURL=MockHttpEndpointFactory.d.ts.map