import type { UseTransactionReturn } from '@meshconnect/uwc-types'; /** * Hook for sending transactions with the connected wallet * @returns Object containing sendTransaction function, loading state, and transaction result * @throws Error if used outside of ConnectionProvider * @example * ```tsx * const { sendTransaction, isLoading, transactionResult } = useTransaction() * * const handleSend = async () => { * try { * const result = await sendTransaction({ * to: '0x...', * amount: BigInt('1000000000000000000'), * from: session.activeAddress * }) * console.log('Transaction hash:', result.hash) * } catch (error) { * console.error('Transaction failed:', error) * } * } * ``` */ export declare function useTransaction(): UseTransactionReturn; //# sourceMappingURL=useTransaction.d.ts.map