import { SmartAccountClient } from 'permissionless'; import { Transport, Chain, SendTransactionParameters, Hash, SignMessageParameters, Hex, TypedData, SignTypedDataParameters, EIP1193Provider, PublicClient, HttpTransport } from 'viem'; import { SmartAccount, SendUserOperationParameters } from 'viem/account-abstraction'; import { SmartWalletType as SmartWalletType$1 } from '@privy-io/api-types'; type SmartWalletType = SmartWalletType$1 | 'nexus'; type Call = { readonly to?: any; readonly value?: any; readonly data?: any; }; declare const signerToSmartAccountClient: ({ owner, smartWalletType, smartWalletVersion, chain, publicClient, bundlerUrl, paymasterUrl, paymasterContext, }: { owner: EIP1193Provider; smartWalletType: SmartWalletType; smartWalletVersion?: string; chain: chain; publicClient: PublicClient; bundlerUrl: string; paymasterUrl?: string; paymasterContext?: Record; }) => Promise>; type SmartWalletClientType = Omit, 'sendTransaction' | 'signMessage' | 'signTypedData'> & { sendTransaction: (args: Omit, 'kzg'> | SendUserOperationParameters) => Promise; signMessage: (args: Omit) => Promise; signTypedData: (args: Omit, 'account'>) => Promise; }; export { signerToSmartAccountClient }; export type { Call, SmartWalletClientType };