/****************************************************************************** * * (C) 2022 AhnLab Blockchain Company, Inc. All rights reserved. * Any part of this source code can not be copied with any method without * prior written permission from the author or authorized person. * ******************************************************************************/ import { TxType } from '../../main/transactions/interface'; import { ProviderService } from '../provider'; import { MutexService } from './mutex'; import { Account } from '../../schema/model'; export declare class NonceTracker { private providerService; lockMap: any; txLockMap: any; constructor(providerService: ProviderService); getNonceLock: (address: string, chainId: number, mutexService: MutexService, account: Account, txType?: TxType, nonce?: any) => Promise<{ nextNonce: any; releaseLock: any; }>; getNetworkNonce: (address: string, txType?: TxType, nonce?: any) => Promise<{ nextNonce: any; }>; _checkToUseNetworkNonce: (timeStamp: number) => boolean; _getHighestContinuousFrom: (txList: any, startPoint: any) => string; }