import { Transaction } from '../global/types.generated'; declare const useTransactionPolling: (args: { transactionHash?: string | undefined; pollInterval: number; onTransactionSuccess: (transaction: Transaction) => void; onTransactionError: (transaction: string, error: Error) => void; }) => boolean; export default useTransactionPolling;