import type { SmartAccountSigner } from "@aa-sdk/core"; import type { Chain, Client, Hex, Transport } from "viem"; import type { LightAccount } from "../accounts/account"; import { type TransferLightAccountOwnershipParams } from "../actions/transferOwnership.js"; export type LightAccountClientActions | undefined = LightAccount | undefined> = { transferOwnership: (args: TransferLightAccountOwnershipParams) => Promise; }; /** * Provides a set of actions for managing a light account client, including transferring ownership. * * @example * ```ts * import { lightAccountClientActions, createLightAccount } from "@account-kit/smart-contracts"; * import { createAlchemySmartAccountClient } from "@account-kit/infra"; * import { sepolia } from "@account-kit/infra"; * * const smartAccountClient = createAlchemySmartAccountClient({ * account: await createLightAccount(...), * apiKey: "your-api-key", * chain: sepolia, * }).extend(lightAccountClientActions); * ``` * * @param {Client} client The client instance for which to provide the light account actions * @returns {LightAccountClientActions} An object containing the available light account client actions */ export declare const lightAccountClientActions: | undefined = LightAccount | undefined>(client: Client) => LightAccountClientActions;