import { TxData } from '../hooks/apis/common/quote/types';
import { SendTransactionOptions } from '@solana/wallet-adapter-base';
import { Connection, Transaction, TransactionSignature, VersionedTransaction } from '@solana/web3.js';
import { SOLANA_CHAIN_ID } from './constants';

export declare const signAndSendTransaction: ({ address, txData, sendTransaction, rpc, }: {
    txData: TxData<typeof SOLANA_CHAIN_ID>;
    address: string;
    sendTransaction: (transaction: VersionedTransaction | Transaction, connection: Connection, options?: SendTransactionOptions) => Promise<TransactionSignature>;
    rpc: string | undefined;
}) => Promise<string>;
