import { Address } from 'viem'; type PaymasterConfig = { paymasterAddress: Address; operator: Address; maxRate?: bigint; verificationGasLimit?: bigint; postOpGasLimit?: bigint; }; /** * Constructs the middleware for SuperPaymaster. * Returns the `paymasterAndData` hex string. */ declare function getSuperPaymasterMiddleware(config: PaymasterConfig): { sponsorUserOperation: (args: { userOperation: any; }) => Promise<{ paymasterAndData: `0x${string}`; verificationGasLimit: bigint; preVerificationGas: any; }>; }; /** * Enhanced eligibility check for SuperPaymaster V3. * Validates that user has sufficient credit with the given operator. */ declare function checkEligibility(client: any, paymaster: Address, user: Address, operator: Address): Promise<{ eligible: boolean; credit?: bigint; token?: Address; }>; /** * Admin Client for SuperPaymaster V3 */ declare class SuperPaymasterAdminClient { private client; private paymasterAddress; constructor(client: any, paymasterAddress: Address); getOperator(operator: Address): Promise; static configureOperator(wallet: any, paymaster: Address, token: Address, treasury: Address): Promise; static setOperatorPaused(wallet: any, paymaster: Address, operator: Address, paused: boolean): Promise; static updateReputation(wallet: any, paymaster: Address, operator: Address, score: bigint): Promise; static setAPNTsToken(wallet: any, paymaster: Address, token: Address): Promise; static setXPNTsFactory(wallet: any, paymaster: Address, factory: Address): Promise; } export { type PaymasterConfig as P, SuperPaymasterAdminClient as S, checkEligibility as c, getSuperPaymasterMiddleware as g };