/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import { OperationalAddress } from "#peer/PeerDescriptor.js"; import { Bytes, Crypto } from "@matter/general"; import { FabricIndex, NodeId } from "@matter/types"; export interface IcdCheckInSenderContext { crypto: Crypto; /** Resolve a registered client's operational address (cached address preferred; best-effort). */ resolveAddress(input: { fabricIndex: FabricIndex; peerNodeId: NodeId; }): Promise; /** Send `payload` as an unsecured Secure Channel message of `messageType` to `address`. Returns false on failure. */ sendUnsecured(address: OperationalAddress, messageType: number, payload: Bytes): Promise; } export interface IcdCheckInRequest { fabricIndex: FabricIndex; peerNodeId: NodeId; key: Bytes; counter: number; /** Active-mode threshold in milliseconds (uint16 on the wire). */ activeModeThreshold: number; } /** * Builds and sends device-side ICD Check-In messages (Secure Channel opcode 0x50) unsecured to a registered client. * Best-effort transport: returns false (does not throw) when the peer is unresolvable or the send fails. Encode-time * and programmer errors are NOT transport failures and propagate. * * @see {@link MatterSpecification.v161.Core} ยง 9.15.1 */ export declare class IcdCheckInSender { #private; constructor(context: IcdCheckInSenderContext); send(request: IcdCheckInRequest): Promise; } //# sourceMappingURL=IcdCheckInSender.d.ts.map