import { EIP1193Provider } from "../types"; /** * Deploys a Mod instance as a MinimalProxy via ZodiacModProxyFactory * * @param {Object} params - The function parameters. * @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 {string | number | bigint} params.saltNonce - The salt nonce used to predict the proxy address. * @param {EIP1193Provider} params.provider - The EIP1193 compliant provider to interact with the blockchain. * * @returns {Promise<{ address: string; noop: boolean }>} The address of the deployed proxy contract and a noop flag indicating if the deployment was a no-operation. */ export default function deployModuleAsProxy({ mastercopy, setupArgs, saltNonce, provider, }: { mastercopy: string; setupArgs: { types: any[]; values: any[]; }; saltNonce: string | number | bigint; provider: EIP1193Provider; }): Promise<{ address: string; noop: boolean; }>;