import type { Account, WalletClient } from 'viem'; /** * Adapts a Viem/Wagmi WalletClient into an Account-like signer that the SDK can consume. * Ensures address is set and routes sign methods through the provided client. */ export declare function walletClientToAccount(walletClient: WalletClient): Account; /** * Wraps a Para viem account with custom signing for Rhinestone compatibility. * * Para's MPC signatures use 0/1 v-byte recovery, but Rhinestone/Smart wallets * expect 27/28 v-byte recovery. This wrapper adjusts Para signatures automatically. * * @param viemAccount - The Para viem account to wrap * @param walletId - Optional wallet ID for Para signing operations * @returns Account compatible with Rhinestone SDK * * @example * ```ts * const paraAccount = // ... Para viem account * const wrappedAccount = wrapParaAccount(paraAccount, wallet.id) * * const rhinestoneAccount = await rhinestone.createAccount({ * owners: { * type: "ecdsa", * accounts: [wrappedAccount], * }, * }) * * // Also works for EIP-7702 (signAuthorization uses original 0/1 v-byte) * const authorization = await wrappedAccount.signAuthorization?.({ ... }) * ``` */ export declare function wrapParaAccount(viemAccount: Account, walletId?: string): Account; //# sourceMappingURL=walletClient.d.ts.map