import type { Address, Client, Hex } from 'viem'; import type { RhinestoneConfig } from '../types'; import { createTransport } from './json-rpc'; type CallType = 'call' | 'delegatecall' | 'batchcall'; interface ValidatorConfig { address: Address; isRoot: boolean; } interface ExecutionMode { type: callType; revertOnError?: boolean; selector?: Hex; context?: Hex; } interface EncodeCallDataParams { mode: ExecutionMode; callData: readonly { to: Address; value?: bigint | undefined; data?: Hex | undefined; }[]; } interface GetAccountNonceParams { address: Address; entryPointAddress: Address; key?: bigint; } declare function encode7579Calls({ mode, callData, }: EncodeCallDataParams): Hex; declare function getAccountNonce(client: Client, args: GetAccountNonceParams): Promise; declare function getBundlerClient(config: RhinestoneConfig, client: Client): import("viem/account-abstraction").BundlerClient, undefined, undefined, Client, undefined>; export { encode7579Calls, getAccountNonce, getBundlerClient, createTransport }; export type { ValidatorConfig }; //# sourceMappingURL=utils.d.ts.map