import { BridgeTransfer, SignerOrProviderOrRpc } from './bridgeTransfer'; import { ethers } from 'ethers'; import { TransactionResponse } from "@ethersproject/abstract-provider/src.ts"; /** * CctpBridgeTransfer is a specialized implementation of the BridgeTransfer class for CCTP. */ export declare class CctpBridgeTransfer extends BridgeTransfer { private signature; private messageBytes; /** * Constructs a new instance of the CctpBridgeTransfer class. * * @param {Object} params - The parameters for the constructor. * @param {string} params.txHash - The transaction hash for the bridge transfer. * @param {number} params.destinationNetworkChainId - The chain ID of the destination network. * @param {number} params.originNetworkChainId - The chain ID of the origin network. * @param {SignerOrProviderOrRpc} [params.originSignerOrProviderOrRpc] - Optional signer, provider, or RPC string for the origin network. * @param {SignerOrProviderOrRpc} [params.destinationSignerOrProviderOrRpc] - Optional signer, provider, or RPC string for the destination network. */ constructor({ txHash, destinationNetworkChainId, originNetworkChainId, originSignerOrProviderOrRpc, destinationSignerOrProviderOrRpc, }: { txHash: string; destinationNetworkChainId: number; originNetworkChainId: number; originSignerOrProviderOrRpc?: SignerOrProviderOrRpc; destinationSignerOrProviderOrRpc?: SignerOrProviderOrRpc; }); /** * Overrides the method to fetch the status of the CCTP-specific transfer. */ getStatus(): Promise; /** * Overrides the method to fetch detailed transfer information, adding CCTP-specific logic. * @returns {Promise} Transfer information specific to CCTP. */ getInfo(_tx: TransactionResponse): Promise; /** * Overrides the method to execute the transfer, adding CCTP-specific logic. * @param {ethers.Signer} signer - The signer instance to execute the transfer. * @returns {Promise} The receipt of the executed transfer. */ execute(signer: ethers.Signer): Promise; /** * Overrides the method to fetch the deposit status for CCTP. * @returns {Promise} The status of the deposit specific to CCTP. */ getDepositStatus(): Promise; isCctp(): boolean; }