import { CCTX, CCTXs, Emitter, PendingNonce, Spinners } from "../types/trackCCTX.types"; /** * Process newly discovered CCTX hashes */ export declare const processNewCctxHashes: (hashes: string[], cctxs: CCTXs, spinners: Spinners, emitter: Emitter | null, json: boolean) => { cctxs: CCTXs; spinners: Spinners; }; /** * Update the status of a specific transaction */ export declare const updateTransactionStatus: (api: string, hash: string, cctxs: CCTXs) => Promise; /** * Update the UI via emitter */ export declare const updateEmitter: (hash: string, tx: CCTX, cctxs: CCTXs, spinners: Spinners, pendingNonces: PendingNonce[], emitter: Emitter | null, json: boolean) => Spinners; /** * Check if all transactions have completed */ export declare const checkCompletionStatus: (cctxs: CCTXs, emitter: Emitter | null, json: boolean) => { isComplete: boolean; isSuccessful: boolean; }; /** * @description Check if the input hash matches a valid EVM transaction hash */ export declare const isValidEVMTxHash: (txHash: string) => boolean; /** * @description Check if the input hash matches a valid Bitcoin transaction hash */ export declare const isValidBitcoinTxHash: (txHash: string) => boolean; /** * @description Solana transaction signatures (hashes) are base58-encoded strings. * To validate a transaction hash, we can check if it’s a valid base58 string of a reasonable length. */ export declare const isValidSolanaTxHash: (txHash: string) => boolean; /** * @description TON transaction hashes have the same format as Bitcoin transaction hashes * but are kept as a separate function for clarity and future-proofing */ export declare const isValidTonTxHash: (hash: string) => boolean; /** * Validate transaction hash format for multiple blockchains * Supports: EVM (Ethereum), Bitcoin (mainnet/testnet), Solana, SUI, TON */ export declare const isValidTxHash: (hash: string) => boolean;