import type { ApiKeySmartAccountConfig, CreateSmartAccountParams } from '@getpara/viem-v2-integration/aa'; /** * Configuration for Gelato smart account. * * EIP-7702 only. Uses Gelato's relay for gas-sponsored transactions. * * @example * ```ts * const config: GelatoSmartAccountConfig = { * apiKey: 'YOUR_GELATO_API_KEY', * chain: baseSepolia, * }; * ``` */ export interface GelatoSmartAccountConfig extends ApiKeySmartAccountConfig { } /** * Parameters for `createGelatoSmartAccount`. * Includes all config fields plus `para` (the Para SDK instance). */ export type CreateGelatoSmartAccountParams = CreateSmartAccountParams; /** * Parameters for the `useGelatoSmartAccount` hook. * Same as {@link GelatoSmartAccountConfig} — `para` is provided automatically via context. */ export type UseGelatoSmartAccountParams = GelatoSmartAccountConfig;