import { type AccountLoupeActions, type LightAccount, type LightAccountClientActions, type MultiOwnerModularAccount, type MultiOwnerPluginActions, type PluginManagerActions } from "@alchemy/aa-accounts"; import type { Address, Chain, Transport } from "viem"; import type { AlchemySmartAccountClient, AlchemySmartAccountClientConfig } from "../../client/smartAccountClient"; import type { SupportedAccount, SupportedAccountTypes, SupportedAccounts } from "../../config"; import type { GetAccountParams } from "../../config/actions/getAccount.js"; import type { AlchemySigner } from "../../signer"; export type UseSmartAccountClientProps = Omit>, "rpcUrl" | "chain" | "apiKey" | "jwt" | "account"> & GetAccountParams; export type ClientActions = TAccount extends LightAccount ? LightAccountClientActions : TAccount extends MultiOwnerModularAccount ? MultiOwnerPluginActions> & PluginManagerActions> & AccountLoupeActions> : never; export type UseSmartAccountClientResult = { client?: AlchemySmartAccountClient>; address?: Address; isLoadingClient: boolean; }; export declare function useSmartAccountClient(args: UseSmartAccountClientProps): UseSmartAccountClientResult>;