import { TransactionReceipt } from '../formatters'; import { TransactionHash } from '../types'; import { Eth } from './eth'; export interface SendTx { getTxHash(): Promise; getReceipt(numConfirmations?: number, confirmationCallback?: (conf: number, receipt: TxReceipt) => void): Promise; } export declare class SentTransaction implements SendTx { protected eth: Eth; protected txHashPromise: Promise; private receipt?; private blocksSinceSent; constructor(eth: Eth, txHashPromise: Promise); getTxHash(): Promise; getReceipt(numConfirmations?: number, confirmationCallback?: (conf: number, receipt: TransactionReceipt) => void): Promise; protected handleReceipt(receipt: TransactionReceipt): Promise>; }