import { type Account, type Address, type Hex } from 'viem'; import { type BundlerClient, type SmartAccount } from 'viem/account-abstraction'; export declare const DEFAULT_WORLD_CHAIN_MAINNET_RPC = "https://worldchain-mainnet.g.alchemy.com/public"; export declare const DEFAULT_WORLD_CHAIN_SEPOLIA_RPC = "https://worldchain-sepolia.g.alchemy.com/public"; /** * Get default RPC URL for a World Chain by chain ID */ export declare const getDefaultWorldChainRPC: (chainId: number) => string; export interface EphemeralSmartWallet { address: Address; client: BundlerClient; account: SmartAccount; signer: Account; } /** * Creates an ephemeral smart wallet for World Chain * Note: This implementation uses Coinbase's smart wallet infrastructure * adapted for World Chain. This may need updates when World Chain * provides their own account abstraction infrastructure. * * @param privateKey - Private key for the wallet signer * @param rpcUrl - Optional custom RPC URL * @param chainId - Chain ID (defaults to 480 for mainnet) */ export declare function toEphemeralSmartWallet(privateKey: Hex, rpcUrl?: string, chainId?: number): Promise; //# sourceMappingURL=smartWalletHelpers.d.ts.map