import { type KernelSmartAccountImplementation } from "@zerodev/sdk/accounts"; import type { EntryPointType, GetKernelVersion, PluginMigrationData, Signer } from "@zerodev/sdk/types"; import { type Address } from "viem"; import { type EntryPointVersion, type SmartAccount } from "viem/account-abstraction"; export type CreateEcdsaKernelMigrationAccountReturnType = SmartAccount>; export type CreateEcdsaKernelMigrationAccountParameters = { entryPoint: EntryPointType; signer: Signer; index?: bigint; address?: Address; migrationVersion: { from: GetKernelVersion; to: GetKernelVersion; }; pluginMigrations?: PluginMigrationData[]; }; /** * Build a kernel smart account from a private key, that use the ECDSA signer behind the scene * @param client * @param privateKey * @param entryPoint * @param index * @param factoryAddress * @param accountImplementationAddress * @param ecdsaValidatorAddress * @param address */ export declare function createEcdsaKernelMigrationAccount(client: KernelSmartAccountImplementation["client"], { entryPoint, signer, index, address, migrationVersion, pluginMigrations }: CreateEcdsaKernelMigrationAccountParameters): Promise>; export declare const getNonceKeyWithEncoding: (validatorAddress: Address, nonceKey?: bigint) => bigint; //# sourceMappingURL=createEcdsaKernelMigrationAccount.d.ts.map