import { Web3Client } from '../clients/Web3Client'; import { IAccount } from '../models/TAccount'; import { TAddress } from '../models/TAddress'; import { TPlatform } from '../models/TPlatform'; export declare class TxNonceManager { platform: TPlatform; account: TAddress; private nonce; private nonceUpdatedAt; private cursor; private cursorUpdatedAt; protected constructor(platform: TPlatform, account: TAddress); static create(client: Web3Client, account: IAccount | TAddress): TxNonceManager; /** * Pick current nonce without incrementing. TxDataBuilder will call the incrementCursor after the tx signed. * */ pickNonce(client: Web3Client): Promise; incrementCursor(): void; private updateNonce; static loadNonce(client: Web3Client, address: TAddress): Promise; private shouldUpdateNonce; }