import { ethers } from 'ethers';
import { UserOperation } from './types';
/**
 * Gets the EIP-4337 bundler provider.
 *
 * @param {string} bundlerUrl The EIP-4337 bundler URL.
 * @return {Provider} The EIP-4337 bundler provider.
 */
export declare function getEip4337BundlerProvider(bundlerUrl: string): ethers.JsonRpcProvider;
/**
 * Gets the EIP-1193 provider from the bundler url.
 *
 * @param {string} rpcUrl The RPC URL.
 * @return {Provider} The EIP-1193 provider.
 */
export declare function getEip1193Provider(rpcUrl: string): ethers.JsonRpcProvider;
/**
 * Converts various bigint values from a UserOperation to their hexadecimal representation.
 *
 * @param {UserOperation} userOperation - The UserOperation object whose values are to be converted.
 * @returns {UserOperation} A new UserOperation object with the values converted to hexadecimal.
 */
export declare function userOperationToHexValues(userOperation: UserOperation): {
    nonce: string;
    callGasLimit: string;
    verificationGasLimit: string;
    preVerificationGas: string;
    maxFeePerGas: string;
    maxPriorityFeePerGas: string;
    sender: string;
    initCode: string;
    callData: string;
    paymasterAndData: string;
    signature: string;
};
