import type { IAddressOutputsResponse } from "./api/IAddressOutputsResponse" ; import type { IAddressResponse } from "./api/IAddressResponse" ; import type { IChildrenResponse } from "./api/IChildrenResponse" ; import type { IMessagesResponse } from "./api/IMessagesResponse" ; import type { IMilestoneResponse } from "./api/IMilestoneResponse" ; import type { IMilestoneUtxoChangesResponse } from "./api/IMilestoneUtxoChangesResponse" ; import type { IOutputResponse } from "./api/IOutputResponse" ; import type { IReceiptsResponse } from "./api/IReceiptsResponse" ; import type { ITipsResponse } from "./api/ITipsResponse" ; import type { IMessage } from "./IMessage" ; import type { IMessageMetadata } from "./IMessageMetadata" ; import type { INodeInfo } from "./INodeInfo" ; import type { IPeer } from "./IPeer" ; import type { ITreasury } from "./ITreasury" ; /**
 * Client interface definition for API communication.
 */ export interface IClient { returns health ( ) : Promise < boolean > ; returns info ( ) : Promise < INodeInfo > ; returns tips ( ) : Promise < ITipsResponse > ; param messageId returns message ( messageId ) : Promise < IMessage > ; param messageId returns messageMetadata ( messageId ) : Promise < IMessageMetadata > ; param messageId returns messageRaw ( messageId ) : Promise < Uint8Array > ; param message returns messageSubmit ( message ) : Promise < string > ; param message returns messageSubmitRaw ( message ) : Promise < string > ; param indexationKey returns messagesFind ( indexationKey ) : Promise < IMessagesResponse > ; param messageId returns messageChildren ( messageId ) : Promise < IChildrenResponse > ; param transactionId returns transactionIncludedMessage ( transactionId ) : Promise < IMessage > ; param outputId returns output ( outputId ) : Promise < IOutputResponse > ; param addressBech32 returns address ( addressBech32 ) : Promise < IAddressResponse > ; param addressBech32 param type param includeSpent returns addressOutputs ( addressBech32 , type ? , includeSpent ? ) : Promise < IAddressOutputsResponse > ; param addressEd25519 returns addressEd25519 ( addressEd25519 ) : Promise < IAddressResponse > ; param addressEd25519 param type param includeSpent returns addressEd25519Outputs ( addressEd25519 , type ? , includeSpent ? ) : Promise < IAddressOutputsResponse > ; param index returns milestone ( index ) : Promise < IMilestoneResponse > ; param index returns milestoneUtxoChanges ( index ) : Promise < IMilestoneUtxoChangesResponse > ; returns treasury ( ) : Promise < ITreasury > ; param migratedAt returns receipts ( migratedAt ? ) : Promise < IReceiptsResponse > ; returns peers ( ) : Promise < IPeer [ ] > ; param multiAddress param alias returns peerAdd ( multiAddress , alias ? ) : Promise < IPeer > ; param peerId returns peerDelete ( peerId ) : Promise < void > ; param peerId returns peer ( peerId ) : Promise < IPeer > ; }