import { Token } from '@lifi/types'; /** * Predefined hook that decrypts calldata using EIP-1193 compliant wallet functions. * @param {string} walletAddress - The wallet address of the user that should decrypt the calldata. * @return {(encryptedData: string) => Promise} A function that decrypts data using EIP-1193 compliant wallet functions. */ export declare const getEthereumDecryptionHook: (walletAddress: string) => (encryptedData: string) => Promise; /** * Predefined hook that get the public encryption key of a user using EIP-1193 compliant wallet functions. * @param {string} walletAddress - The wallet address of the user. * @return {(walletAddress: string) => () => Promise} A function that return the public encryption key using EIP-1193 compliant wallet functions. */ export declare const getEthereumPublicKeyHook: (walletAddress: string) => () => Promise; /** * Returns a random number between min (inclusive) and max (inclusive) */ export declare const getRandomNumber: (min: number, max: number) => number; export declare const isSameToken: (tokenA: Token, tokenB: Token) => boolean;