import '../tx/wallet-sign-patch.js'; import { JsonRpcProvider, Wallet } from 'ethers'; /** * Nonce 管理器 — bundle 交易中管理多钱包 nonce */ export declare class NonceManager { private provider; private tempNonceCache; private chainIdPromise?; private addressNonceTail; constructor(provider: JsonRpcProvider); private withAddressLock; private getChainId; getNextNonce(wallet: Wallet | string): Promise; getNextNonceBatch(wallet: Wallet | string, count: number): Promise; clearTemp(): void; getTempCachedNonce(address: string): number | undefined; getNextNoncesForWallets(wallets: (Wallet | string)[]): Promise; }