import type { Account, Address, Assign, Chain, Client, JsonRpcAccount, LocalAccount, OneOf, Transport, WalletClient } from "viem"; import { type SmartAccount, type SmartAccountImplementation, entryPoint06Abi, entryPoint07Abi } from "viem/account-abstraction"; import { type EthereumProvider } from "../../utils/toOwner.js"; /** * Default addresses for Thirdweb Smart Account */ export declare const THIRDWEB_ADDRESSES: { "0.6": { "1.5.20": { factoryAddress: `0x${string}`; }; }; "0.7": { "1.5.20": { factoryAddress: `0x${string}`; }; }; }; export type ToThirdwebSmartAccountParameters = { client: Client; owner: OneOf | LocalAccount>; factoryAddress?: Address; entryPoint?: { address: Address; version: entryPointVersion; }; version?: "1.5.20"; salt?: string; address?: Address; secp256k1VerificationFacetAddress?: Address; nonceKey?: bigint; }; export type ThirdwebSmartAccountImplementation = Assign, { sign: NonNullable; }>; export type ToThirdwebSmartAccountReturnType = SmartAccount>; /** * @description Creates a Thirdweb Smart Account from a private key. * * @returns A Private Key Thirdweb Smart Account. */ export declare function toThirdwebSmartAccount(parameters: ToThirdwebSmartAccountParameters): Promise>; //# sourceMappingURL=toThirdwebSmartAccount.d.ts.map