import { CreateTransactionResponse, FireblocksSDK, TransactionResponse } from 'fireblocks-sdk'; import { EthTx } from '../types/eth'; type AssetId = 'SOL_TEST' | 'SOL' | 'ETH_TEST3' | 'ETH' | 'ATOM_COS_TEST' | 'ATOM_COS' | 'ADA_TEST' | 'ADA' | 'NEAR_TEST' | 'NEAR' | 'XTZ_TEST' | 'XTZ'; export declare class FbSigner { protected fireblocks: FireblocksSDK; protected vaultId: number; constructor(fireblocks: FireblocksSDK, vaultId: number); /** * Wait for given transaction to be completed * @param fbTx: fireblocks transaction * @private */ protected waitForTxCompletion(fbTx: CreateTransactionResponse): Promise; /** * Sign a transaction with fireblocks using Fireblocks raw message signing feature * @param payloadToSign: transaction data in hexadecimal * @param assetId: fireblocks asset id * @param note: optional fireblocks custom note */ signWithFB(payloadToSign: any, assetId: AssetId, note?: string): Promise; /** * Sign and broadcast a transaction with fireblocks using Fireblocks contract call feature * @param payloadToSign: transaction data in hexadecimal * @param assetId: fireblocks asset id * @param note: optional fireblocks custom note * @param ethTx Ethereum transaction * @param destinationId Fireblocks destination id, this corresponds to the Fireblocks whitelisted contract address id */ signAndBroadcastWithFB(payloadToSign: any, assetId: AssetId, ethTx: EthTx, destinationId: string, note?: string): Promise; } export {};