import type { SmartContractAccount } from "@aa-sdk/core"; import { type Chain, type Transport, type Address } from "viem"; import type { SerializedInitcode } from "@alchemy/wallet-api-types"; import type { SmartWalletSigner } from "../client/index.js"; type CreateAccountParams = { chain: Chain; transport: Transport; signer: SmartWalletSigner; accountAddress: Address; counterfactualInfo?: SerializedInitcode; delegation?: Address; }; /** * Creates a smart account instance from the given parameters. * * @param {CreateAccountParams} params - The parameters for creating a smart account. * @returns {Promise} A promise that resolves to the created smart account. * * @example * ```ts * // Create a smart account * const account = await createAccount({ * chain: arbitrumSepolia, * transport: alchemy({ * apiKey: "your-alchemy-api-key", * }), * signer: signer, * accountAddress: "0x1234...", * }); * ``` */ export declare function createAccount(params: CreateAccountParams): Promise; export {}; //# sourceMappingURL=account.d.ts.map