import { type AzethContractAddresses } from '@azeth/common'; import type { AzethSmartAccountClient } from '../utils/userop.js'; /** Update the token whitelist on the GuardianModule via ERC-4337 UserOperation. * * Tokens must be whitelisted for executor-module operations (e.g., PaymentAgreementModule) * to succeed. Owner-signed transfers bypass the whitelist. * * @param smartAccountClient - ERC-4337 smart account client for the caller * @param addresses - Contract addresses containing guardianModule * @param token - Token address to whitelist/delist (use address(0) for native ETH) * @param allowed - true to whitelist, false to remove from whitelist * @returns Transaction hash */ export declare function setTokenWhitelist(smartAccountClient: AzethSmartAccountClient, addresses: AzethContractAddresses, token: `0x${string}`, allowed: boolean): Promise<`0x${string}`>; /** Update the protocol whitelist on the GuardianModule via ERC-4337 UserOperation. * * Protocols (contract addresses) must be whitelisted for executor-module operations * that interact with external contracts. * * @param smartAccountClient - ERC-4337 smart account client for the caller * @param addresses - Contract addresses containing guardianModule * @param protocol - Protocol/contract address to whitelist/delist * @param allowed - true to whitelist, false to remove from whitelist * @returns Transaction hash */ export declare function setProtocolWhitelist(smartAccountClient: AzethSmartAccountClient, addresses: AzethContractAddresses, protocol: `0x${string}`, allowed: boolean): Promise<`0x${string}`>; //# sourceMappingURL=guardian.d.ts.map