import { BigNumberish } from "ethers"; /** * Predicts the address of a proxy contract deployed via ModuleProxyFactory. * @param {Object} params - The function parameters. * @param {string} [params.factory=factoryAddress] - The address of the factory contract. * If not provided, the default ModuleProxyFactory address will be used. Note: To predict the address * of a proxy contract, you don't need to explicitly pass the factory address. If you leave it blank, * the default `proxyFactoryAddress` will be used. * @param {string} params.mastercopy - The address of the mastercopy contract. * @param {Object} params.setupArgs - The arguments for the setup function. * @param {any[]} params.setupArgs.types - The types of the setup arguments. * @param {any[]} params.setupArgs.values - The values of the setup arguments. * @param {BigNumberish} params.saltNonce - The saltNonce used to internally derive the final create2 salt. * @returns {string} The predicted address of the proxy contract. */ export default function predictProxyAddress({ factory, mastercopy, setupArgs, saltNonce, }: { factory?: string; mastercopy: string; setupArgs: { types: any[]; values: any[]; }; saltNonce: BigNumberish; }): string;