import { type Account, type Address, type Assign, type Chain, type Client, type JsonRpcAccount, type LocalAccount, type OneOf, type Transport, type WalletClient } from "viem"; import { type SmartAccount, type SmartAccountImplementation, entryPoint06Abi, entryPoint07Abi } from "viem/account-abstraction"; import { type EthereumProvider } from "../../utils/toOwner.js"; export type LightAccountVersion = entryPointVersion extends "0.6" ? "1.1.0" : "2.0.0"; export type ToLightSmartAccountParameters = { client: Client; entryPoint?: { address: Address; version: entryPointVersion; }; owner: OneOf | LocalAccount>; version: LightAccountVersion; factoryAddress?: Address; index?: bigint; address?: Address; nonceKey?: bigint; }; export type LightSmartAccountImplementation = Assign, { sign: NonNullable; }>; export type ToLightSmartAccountReturnType = SmartAccount>; /** * @description Creates an Light Account from a private key. * * @returns A Private Key Light Account. */ export declare function toLightSmartAccount(parameters: ToLightSmartAccountParameters): Promise>; //# sourceMappingURL=toLightSmartAccount.d.ts.map