import type { BitcoinTradeData, TronTradeData, TxData } from "../types.cjs"; export type Trade = TxData | string | BitcoinTradeData | TronTradeData; /** * Type guard to check if a trade is an EVM TxData object * * @param trade - The trade object to check * @returns True if the trade is a TxData object with data property */ export declare const isEvmTxData: (trade: Trade) => trade is { chainId: number; from: `0x${string}`; to: `0x${string}`; value: `0x${string}`; data: `0x${string}`; gasLimit: number | null; effectiveGas?: number | undefined; }; /** * Type guard to check if a trade is a Bitcoin trade with unsignedPsbtBase64 * * @param trade - The trade object to check * @returns True if the trade is a Bitcoin trade with unsignedPsbtBase64 property */ export declare const isBitcoinTrade: (trade: Trade) => trade is { unsignedPsbtBase64: string; inputsToSign: {}[] | null; }; /** * Type guard to check if a trade is a Tron trade with raw_data_hex * * @param trade - The trade object to check * @returns True if the trade is a Tron trade with raw_data_hex property */ export declare const isTronTrade: (trade: Trade) => trade is { raw_data_hex: string; visible?: boolean | undefined; raw_data?: { contract?: { type?: string | undefined; }[] | undefined; fee_limit?: number | undefined; } | null | undefined; }; /** * Extracts the transaction data from different trade formats * * @param trade - The trade object which can be a TxData, string, Bitcoin trade, or Tron trade * @returns The extracted transaction data as a base64 string for SnapController */ export declare const extractTradeData: (trade: Trade) => string; //# sourceMappingURL=trade-utils.d.cts.map