/** * Main Export File * * Easy imports for using the Account Abstraction services */ // Singleton Service (Primary Interface) export { AccountAbstractionService } from './services/account-abstraction'; export type { AAServiceConfig, CreateAccountOptions, SendTransactionOptions, SendBatchTransactionOptions, WaitForReceiptOptions } from './services/account-abstraction'; export * from './lib/type' // Bundler Services (Advanced Usage) export { BundlerManager, createBundlerManager, createBundlerService } from './services/bundler'; export type { BundlerConfig, BundlerService } from './services/bundler'; // Kernel Account Utilities (Advanced Usage) export { createKernel7702Account, createKernelAuthorization, sendKernelTransaction, sendBatchTransaction, waitForKernelReceipt } from './lib/kernel-account'; // Module Management (ERC-7579) export { // Prepare functions (for batching) prepareInstallModule, prepareUninstallModule, prepareInstallSessionKey, prepareRevokeSessionKey, prepareInstallMultiSigValidator, // Execute functions (immediate execution) installModule, uninstallModule, isModuleInstalled, createSessionKey, revokeSessionKey, installMultiSigValidator, MODULE_TYPE_IDS } from './lib/kernel-modules'; export type { ModuleType, InstallModuleConfig, UninstallModuleConfig, ModuleStatus, SessionKeyPermission, CreateSessionKeyConfig } from './lib/kernel-modules'; // EIP-7702 Session Keys (NEW Pattern) export { generateSessionKey, createSessionKeyApproval, deserializeSessionKey, createSessionKeyClient, createUSDCTransferPermission, createETHTransferPermission } from './lib/session-keys'; export type { SessionKeyInfo, SessionKeyPermissionRule, CreateSessionKeyApprovalOptions, DeserializedSessionKey } from './lib/session-keys'; // Account Adapters (ZeroDev Integration) export { adaptZeroDevAccount, adaptSessionKeyAccount } from './lib/account-adapter';