import type { JsonRpcProvider } from 'ethers'; import type { Authorization, WalletType } from './types.js'; export declare function signAuthorization(wallet: WalletType, delegateAddress: string, nonce: bigint, chainId?: number): Promise; export declare function signAuthorizationWithNonce(wallet: WalletType, delegateAddress: string, provider: JsonRpcProvider, isTransactionSender?: boolean): Promise; /** * 批量签署授权 - 并行获取 nonce,并行签名 */ export declare function signAuthorizationsBatch(wallets: WalletType[], delegateAddress: string, provider: JsonRpcProvider, mainWalletIndex?: number): Promise; /** * 批量签署授权(带预取 nonce)- 用于与其他操作并行 */ export declare function signAuthorizationsWithNonces(wallets: WalletType[], nonces: number[], delegateAddress: string, mainWalletIndex?: number): Authorization[]; /** * 批量获取多个地址的 nonce - 并行 */ export declare function batchGetNonces(addresses: string[], provider: JsonRpcProvider): Promise;