/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { MessageExchange } from "#protocol/MessageExchange.js";
import { ProtocolHandler } from "#protocol/ProtocolHandler.js";
import { ClientSubscriptions } from "./ClientSubscriptions.js";
/**
 * A protocol handler that informs {@link ClientSubscriptions} of new exchanges.
 */
export declare class ClientSubscriptionHandler implements ProtocolHandler {
    #private;
    id: number;
    requiresSecureSession: boolean;
    constructor(subscriptions: ClientSubscriptions);
    onNewExchange(exchange: MessageExchange): Promise<void>;
    close(): Promise<void>;
}
//# sourceMappingURL=ClientSubscriptionHandler.d.ts.map