import { type Chain, type Client, type HttpTransportConfig, type Transport } from 'viem'; import { type BundlerActions, type BundlerClient, type BundlerClientConfig, type UserOperationReceipt } from 'viem/account-abstraction'; import { type Balance } from '../relayer/evm/actions/index.js'; import { type WebSocketConfig, type WebSocketManager } from '../ws/index.js'; import { type GetUserOperationGasPriceReturnType, type GetUserOperationQuoteParameters, type GetUserOperationQuoteReturnType, type SendUserOperationSyncParameters, type WaitForUserOperationReceiptParameters, type WaitForUserOperationReceiptReturnType } from './actions/index.js'; export * from './actions/index.js'; export type GelatoBundlerActions = Partial & { getBalance: () => Promise; sendUserOperationSync: (parameters: SendUserOperationSyncParameters) => Promise; waitForUserOperationReceipt: (parameters: WaitForUserOperationReceiptParameters) => Promise; getUserOperationGasPrice: () => Promise; getUserOperationQuote: (parameters: GetUserOperationQuoteParameters) => Promise; ws: WebSocketManager; }; export type GelatoBundlerClient = BundlerClient & GelatoBundlerActions; export type GelatoBundlerClientConfig = Omit & { client: Client; /** * Whether to use sponsored payment via Gas Tank */ sponsored: boolean; apiKey: string; baseUrl?: string; /** WebSocket configuration options */ ws?: Omit; httpTransportConfig?: HttpTransportConfig; }; export declare const createGelatoBundlerClient: (parameters: GelatoBundlerClientConfig) => Promise; //# sourceMappingURL=index.d.ts.map