/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import type { ClientNode } from "#node/ClientNode.js";
import type { ReadResult } from "#protocol";
import type { ClientStructure } from "./ClientStructure.js";
/**
 * Event handler for Matter events transmitted by a peer.
 *
 * TODO - set priority on context when split for server vs. client
 */
export interface ClientEventEmitter {
    (event: ReadResult.EventValue): Promise<void>;
}
export declare function ClientEventEmitter(node: ClientNode, structure: ClientStructure): (occurrence: ReadResult.EventValue) => Promise<void>;
//# sourceMappingURL=ClientEventEmitter.d.ts.map