import { AbstractSigner } from "./abstract-signer.js"; import type { TypedDataDomain, TypedDataField } from "../hash/index.js"; import type { BlockTag, Provider, TransactionRequest, TransactionResponse } from "./provider.js"; import type { Signer } from "./signer.js"; /** * A **NonceManager** wraps another [[Signer]] and automatically manages * the nonce, ensuring serialized and sequential nonces are used during * transaction. */ export declare class NonceManager extends AbstractSigner { #private; /** * The Signer being managed. */ signer: Signer; /** * Creates a new **NonceManager** to manage %%signer%%. */ constructor(signer: Signer); getAddress(): Promise; connect(provider: null | Provider): NonceManager; getNonce(blockTag?: BlockTag): Promise; /** * Manually increment the nonce. This may be useful when managng * offline transactions. */ increment(): void; /** * Resets the nonce, causing the **NonceManager** to reload the current * nonce from the blockchain on the next transaction. */ reset(): void; sendTransaction(tx: TransactionRequest): Promise; signTransaction(tx: TransactionRequest): Promise; signMessage(message: string | Uint8Array): Promise; signTypedData(domain: TypedDataDomain, types: Record>, value: Record): Promise; } //# sourceMappingURL=signer-noncemanager.d.ts.map