import { type Address, type EntryPointDef, type SmartAccountSigner } from "@aa-sdk/core"; import { type Chain, type Hex, type Transport } from "viem"; import type { LightAccountEntryPointVersion, LightAccountVersion } from "../types.js"; import { type CreateLightAccountBaseParams, type LightAccountBase } from "./base.js"; export type LightAccount = LightAccountVersion<"LightAccount">> = LightAccountBase & { encodeTransferOwnership: (newOwner: Address) => Hex; getOwnerAddress: () => Promise
; }; export type CreateLightAccountParams = LightAccountVersion<"LightAccount">> = Omit, "getAccountInitCode" | "entryPoint" | "version" | "abi" | "accountAddress" | "type"> & { salt?: bigint; initCode?: Hex; accountAddress?: Address; factoryAddress?: Address; version?: TLightAccountVersion; entryPoint?: EntryPointDef, Chain>; }; export declare function createLightAccount = "v2.0.0">(config: CreateLightAccountParams): Promise>;