import { AxiosRequestConfig } from "axios"; import { CrossChainTx, CrossChainTxResponse, PendingNonce } from "../types/trackCCTX.types"; /** * Generic API fetch function with error handling */ export declare const fetchFromApi: (api: string, endpoint: string, options?: AxiosRequestConfig) => Promise; /** * Get cross-chain transaction by its hash */ export declare const getCctxByHash: (api: string, hash: string) => Promise; /** * Fetch CCTXs by inbound transaction hash */ export declare const getCctxByInboundHash: (api: string, hash: string) => Promise; /** * Fetch full CCTX objects by inbound transaction hash. * Returns [] on 404/400, logs only unexpected errors. */ export declare const getCctxDataByInboundHash: (api: string, hash: string) => Promise; /** * Fetch pending nonces for a specific TSS */ export declare const getPendingNoncesForTss: (api: string, tss: string) => Promise; /** * Fetch TSS public key */ export declare const getTSS: (api: string) => Promise;